"Fix" recent povray failure with -mfpmath=sse -ffast-math

Richard Henderson rth@redhat.com
Tue Jan 18 09:59:00 GMT 2005


On Tue, Jan 18, 2005 at 10:49:39AM +0100, Uros Bizjak wrote:
> (jump_insn:HI 385 384 603 (set (pc)
>        (if_then_else (ltgt (reg:CCFP 17 flags)

Duplicate of your existing pr19496.  To be fixed by...



r~


Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.779
diff -c -p -d -r1.779 i386.c
*** i386.c	18 Jan 2005 09:44:12 -0000	1.779
--- i386.c	18 Jan 2005 09:57:26 -0000
*************** ix86_expand_fp_movcc (rtx operands[])
*** 9764,9769 ****
--- 9764,9775 ----
        if (cmode != mode)
  	return 0;
  
+       /* We have no LTGT as an operator.  We could implement it with
+ 	 NE & ORDERED, but this requires an extra temporary.  It's
+ 	 not clear that it's worth it.  */
+       if (code == LTGT || code == UNEQ)
+ 	return 0;
+ 
        /* Massage condition to satisfy sse_comparison_operator.  Try
  	 to canonicalize the destination operand to be first in the
  	 comparison - this helps reload to avoid extra moves.  */



More information about the Gcc-patches mailing list