Commit fb364dc4 by Roger Sayle Committed by Roger Sayle

i386.c (output_fp_compare): Use ffreep to pop top value off of the stack if TARGET_USE_FFREEP.


	* config/i386/i386.c (output_fp_compare): Use ffreep to pop top
	value off of the stack if TARGET_USE_FFREEP.

From-SVN: r85178
parent cca8ead2
2004-07-25 Roger Sayle <roger@eyesopen.com>
* config/i386/i386.c (output_fp_compare): Use ffreep to pop top
value off of the stack if TARGET_USE_FFREEP.
2004-07-26 Bernardo Innocenti <bernie@develer.com> 2004-07-26 Bernardo Innocenti <bernie@develer.com>
* gengtype.c (oprintf): Replace xrealloc () with XRESIZEVEC (). * gengtype.c (oprintf): Replace xrealloc () with XRESIZEVEC ().
......
...@@ -8281,7 +8281,7 @@ output_fp_compare (rtx insn, rtx *operands, int eflags_p, int unordered_p) ...@@ -8281,7 +8281,7 @@ output_fp_compare (rtx insn, rtx *operands, int eflags_p, int unordered_p)
output_asm_insn ("fucomip\t{%y1, %0|%0, %y1}", operands); output_asm_insn ("fucomip\t{%y1, %0|%0, %y1}", operands);
else else
output_asm_insn ("fcomip\t{%y1, %0|%0, %y1}", operands); output_asm_insn ("fcomip\t{%y1, %0|%0, %y1}", operands);
return "fstp\t%y0"; return TARGET_USE_FFREEP ? "ffreep\t%y0" : "fstp\t%y0";
} }
else else
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment