From fb364dc4d91733f057283b6338355d7559f71296 Mon Sep 17 00:00:00 2001 From: Roger Sayle Date: Mon, 26 Jul 2004 03:23:14 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a44180fe3c8..d822608087a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2004-07-25 Roger Sayle + + * 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 * gengtype.c (oprintf): Replace xrealloc () with XRESIZEVEC (). diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 8e5b75289ba..4b17cfb4396 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -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); else 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 { -- 2.30.2