diff options
author | H.J. Lu <hongjiu.lu@intel.com> | 2014-01-24 03:38:10 +0000 |
---|---|---|
committer | H.J. Lu <hjl@gcc.gnu.org> | 2014-01-23 19:38:10 -0800 |
commit | 16370fa72fff9ed8f0a65d167e3e5b9f9200180d (patch) | |
tree | 1b60119c165780604b3601e747df63618ab474ea /gcc/input.c | |
parent | b846c948f29c4b56d6c14a509df4164049dabbd3 (diff) | |
download | gcc-16370fa72fff9ed8f0a65d167e3e5b9f9200180d.zip gcc-16370fa72fff9ed8f0a65d167e3e5b9f9200180d.tar.gz gcc-16370fa72fff9ed8f0a65d167e3e5b9f9200180d.tar.bz2 |
Get stack adjustment from push operand in pushsf splitter
pushsf for -m64/-mx32 looks like
(set (mem:SF (pre_modify:SI (reg/f:SI 7 sp)
(plus:SI (reg/f:SI 7 sp)
(const_int -8))))
(reg:SF 22 xmm1 [orig:84 D.1790 ] [84]))
Stack adjustment is in push operand and it isn't stack register mode size
which may be 4 bytes for -mx32. This patch gets stack adjustment from
push operand if code of push isn't PRE_DEC.
gcc/
PR target/59929
* config/i386/i386.md (pushsf splitter): Get stack adjustment
from push operand if code of push isn't PRE_DEC.
gcc/testsuite/
PR target/59929
* gcc.target/i386/pr59929.c: New test.
From-SVN: r207023
Diffstat (limited to 'gcc/input.c')
0 files changed, 0 insertions, 0 deletions