+2002-05-06 Bernd Schmidt <bernds@redhat.com>
+
+ * config/i386/i386.h (CPP_CPUCOMMON_SPEC): Define __SSE2_BUILTINS__ if
+ -msse2.
+ * config/i386/xmmintrin.h: Use it to conditionalize SSE2 support.
+
2002-05-06 Roger Sayle <roger@eyesopen.com>
* fold-const.c (lshift-double): Cast the high word to an unsigned
|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__ }\
%{march=pentium4: -D__SSE2__ }\
%{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}"
(row3) = __builtin_ia32_shufps (__t2, __t3, 0xDD); \
} while (0)
+#ifdef __SSE2_BUILTINS__
/* SSE2 */
typedef int __v2df __attribute__ ((mode (V2DF)));
typedef int __v2di __attribute__ ((mode (V2DI)));
__builtin_ia32_mfence ();
}
-/* End of SSE2. */
-
+#endif /* __SSE2_BUILTINS__ */
#endif /* _XMMINTRIN_H_INCLUDED */