Define __SSE2__ if -msse2 instead of __SSE2_BUILTINS__
authorBernd Schmidt <bernds@redhat.com>
Wed, 8 May 2002 23:05:41 +0000 (23:05 +0000)
committerBernd Schmidt <bernds@gcc.gnu.org>
Wed, 8 May 2002 23:05:41 +0000 (23:05 +0000)
From-SVN: r53308

gcc/ChangeLog
gcc/config/i386/i386.h
gcc/config/i386/xmmintrin.h

index e177fd3f363235b850acc29379f1a869f5a50afd..4672fd106228f335975bdd5196f41cc63543d6b5 100644 (file)
@@ -1,3 +1,9 @@
+2002-05-08  Bernd Schmidt  <bernds@redhat.com>
+
+       * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Tweak previous change to
+       use __SSE2__ macro instead.
+       * config/i386/xmmintrin.h: Likewise.
+
 2002-05-08  Janis Johnson  <janis187@us.ibm.com>
 
        * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
index 727537125951c06fe5c46547c53c6f716e8809dc..5bfa582e9a516a8538602d40476f32e21b1a542b 100644 (file)
@@ -619,7 +619,7 @@ extern int ix86_arch;
 |march=athlon-mp: -D__3dNOW__ }\
 %{march=athlon|march=athlon-tbird|march=athlon-4|march=athlon-xp\
 |march=athlon-mp: -D__3dNOW_A__ }\
-%{msse2: -D__SSE2_BUILTINS__ }\
+%{msse2: -D__SSE2__ }\
 %{march=pentium4: -D__SSE2__ }\
 %{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}"
 
index bf7a7ad5716000d54a1e728054b6582f018a90b7..09eea2236dc5f3488c5ca4079c6221d5e1003700 100644 (file)
@@ -1058,7 +1058,7 @@ do {                                                                      \
   (row3) = __builtin_ia32_shufps (__t2, __t3, 0xDD);                   \
 } while (0)
 
-#ifdef __SSE2_BUILTINS__
+#ifdef __SSE2__
 /* SSE2 */
 typedef int __v2df __attribute__ ((mode (V2DF)));
 typedef int __v2di __attribute__ ((mode (V2DI)));