mirror of git://gcc.gnu.org/git/gcc.git
Check Pmode instead of TARGET_64BIT
2012-03-04 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (pro_epilogue_adjust_stack): Check Pmode instead of TARGET_64BIT. From-SVN: r184901
This commit is contained in:
parent
4732e8de03
commit
55b86fb00d
|
@ -1,3 +1,8 @@
|
|||
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.c (pro_epilogue_adjust_stack): Check Pmode
|
||||
instead of TARGET_64BIT.
|
||||
|
||||
2012-03-04 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* config/i386/i386.c (ix86_expand_prologue): Check Pmode to set
|
||||
|
|
|
@ -9296,7 +9296,7 @@ pro_epilogue_adjust_stack (rtx dest, rtx src, rtx offset,
|
|||
rtx insn;
|
||||
bool add_frame_related_expr = false;
|
||||
|
||||
if (! TARGET_64BIT)
|
||||
if (Pmode == SImode)
|
||||
insn = gen_pro_epilogue_adjust_stack_si_add (dest, src, offset);
|
||||
else if (x86_64_immediate_operand (offset, DImode))
|
||||
insn = gen_pro_epilogue_adjust_stack_di_add (dest, src, offset);
|
||||
|
|
Loading…
Reference in New Issue