Commit 95d075ff by Bernd Schmidt Committed by Bernd Schmidt

Define __SSE2__ if -msse2 instead of __SSE2_BUILTINS__

From-SVN: r53308
parent 2d4cc6a7
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> 2002-05-08 Janis Johnson <janis187@us.ibm.com>
* rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name, * rtl.h (RTL_FLAG_CHECK*): Add an argument for the macro name,
......
...@@ -619,7 +619,7 @@ extern int ix86_arch; ...@@ -619,7 +619,7 @@ extern int ix86_arch;
|march=athlon-mp: -D__3dNOW__ }\ |march=athlon-mp: -D__3dNOW__ }\
%{march=athlon|march=athlon-tbird|march=athlon-4|march=athlon-xp\ %{march=athlon|march=athlon-tbird|march=athlon-4|march=athlon-xp\
|march=athlon-mp: -D__3dNOW_A__ }\ |march=athlon-mp: -D__3dNOW_A__ }\
%{msse2: -D__SSE2_BUILTINS__ }\ %{msse2: -D__SSE2__ }\
%{march=pentium4: -D__SSE2__ }\ %{march=pentium4: -D__SSE2__ }\
%{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}" %{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}"
......
...@@ -1058,7 +1058,7 @@ do { \ ...@@ -1058,7 +1058,7 @@ do { \
(row3) = __builtin_ia32_shufps (__t2, __t3, 0xDD); \ (row3) = __builtin_ia32_shufps (__t2, __t3, 0xDD); \
} while (0) } while (0)
#ifdef __SSE2_BUILTINS__ #ifdef __SSE2__
/* SSE2 */ /* SSE2 */
typedef int __v2df __attribute__ ((mode (V2DF))); typedef int __v2df __attribute__ ((mode (V2DF)));
typedef int __v2di __attribute__ ((mode (V2DI))); typedef int __v2di __attribute__ ((mode (V2DI)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment