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] unbreak bootstrap on i686-apple-darwin


Hello all,

I'm going to commit this patch soon. Preaproved by Honza.

After svn r128369 the bootstrap is broken on i686-apple-darwin.

Any objections?

Thanks,
Andreas

2007-09-14 Jan Hubicka <jh@suse.cz>

	* config/i386/i386.md (*floatdi<mode>2_i387): Guard against
	TARGET_64BIT.

Index: config/i386/i386.md
===================================================================
--- config/i386/i386.md (revision 128445)
+++ config/i386/i386.md (working copy)
@@ -5230,7 +5230,8 @@
        (float:MODEF
          (match_operand:DI 1 "nonimmediate_operand" "m,?r")))]
   "TARGET_80387
-   && (!TARGET_SSE_MATH || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))"
+   && (!TARGET_SSE_MATH || !TARGET_64BIT
+       || !SSE_FLOAT_MODE_P (GET_MODE (operands[0])))"
   "@
    fild%z1\t%1
    #"


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