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:
H.J. Lu 2012-03-04 21:23:13 +00:00 committed by H.J. Lu
parent 4732e8de03
commit 55b86fb00d
2 changed files with 6 additions and 1 deletions

View File

@ -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

View File

@ -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);