This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH]: Re: Bootstrap broken on x86-64


Hello!

Is anybody else seeing this?

Yes, I see the same problem on my system running x86_64-linux-gnu,



Following patch should fix it.


2005-01-28 Uros Bizjak <uros@kss-loka.si>

       * config/i386/i386.c (ix86_expand_fp_absneg_operator): Fix
       use_sse computation.

Uros.
? i387.md
Index: i386.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/i386/i386.c,v
retrieving revision 1.791
diff -u -p -r1.791 i386.c
--- i386.c	28 Jan 2005 00:55:00 -0000	1.791
+++ i386.c	28 Jan 2005 08:06:31 -0000
@@ -8068,7 +8068,7 @@ ix86_expand_fp_absneg_operator (enum rtx
       use_sse = true;
     }
   else if (TARGET_SSE_MATH)
-    use_sse = SSE_REG_MODE_P (mode);
+    use_sse = SSE_FLOAT_MODE_P (mode);
 
   /* NEG and ABS performed with SSE use bitwise mask operations.
      Create the appropriate mask now.  */

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]