Commit 0d97fd9e by Richard Henderson Committed by Richard Henderson

i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols in addition to pentium and pentiumpro symbols.

        * config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
        in addition to pentium and pentiumpro symbols.
        (CPP_CPU_DEFAULT_SPEC): Likewise.

From-SVN: r36534
parent 39b726dd
2000-09-19 Richard Henderson <rth@cygnus.com> 2000-09-19 Richard Henderson <rth@cygnus.com>
* config/i386/i386.h (CPP_CPU_SPEC): Define i586 and i686 symbols
in addition to pentium and pentiumpro symbols.
(CPP_CPU_DEFAULT_SPEC): Likewise.
* c-typeck.c (c_expand_asm_operands): Restore the output tree * c-typeck.c (c_expand_asm_operands): Restore the output tree
after expanding. after expanding.
......
...@@ -382,10 +382,10 @@ extern int ix86_arch; ...@@ -382,10 +382,10 @@ extern int ix86_arch;
#define CPP_CPU_DEFAULT_SPEC "-D__tune_i486__" #define CPP_CPU_DEFAULT_SPEC "-D__tune_i486__"
#endif #endif
#if TARGET_CPU_DEFAULT == 2 #if TARGET_CPU_DEFAULT == 2
#define CPP_CPU_DEFAULT_SPEC "-D__tune_pentium__" #define CPP_CPU_DEFAULT_SPEC "-D__tune_i586__ -D__tune_pentium__"
#endif #endif
#if TARGET_CPU_DEFAULT == 3 #if TARGET_CPU_DEFAULT == 3
#define CPP_CPU_DEFAULT_SPEC "-D__tune_pentiumpro__" #define CPP_CPU_DEFAULT_SPEC "-D__tune_i686__ -D__tune_pentiumpro__"
#endif #endif
#if TARGET_CPU_DEFAULT == 4 #if TARGET_CPU_DEFAULT == 4
#define CPP_CPU_DEFAULT_SPEC "-D__tune_k6__" #define CPP_CPU_DEFAULT_SPEC "-D__tune_k6__"
...@@ -404,16 +404,17 @@ extern int ix86_arch; ...@@ -404,16 +404,17 @@ extern int ix86_arch;
%{!ansi:-Di386} -D__i386 -D__i386__ \ %{!ansi:-Di386} -D__i386 -D__i386__ \
%{march=i386:%{!mcpu*:-D__tune_i386__ }}\ %{march=i386:%{!mcpu*:-D__tune_i386__ }}\
%{march=i486:-D__i486 -D__i486__ %{!mcpu*:-D__tune_i486__ }}\ %{march=i486:-D__i486 -D__i486__ %{!mcpu*:-D__tune_i486__ }}\
%{march=pentium|march=i586:-D__pentium -D__pentium__ \ %{march=pentium|march=i586:-D__i586 -D__i586__ -D__pentium -D__pentium__ \
%{!mcpu*:-D__tune_pentium__ }}\ %{!mcpu*:-D__tune_i586__ -D__tune_pentium__ }}\
%{march=pentiumpro|march=i686:-D__pentiumpro -D__pentiumpro__ \ %{march=pentiumpro|march=i686:-D__i686 -D__i686__ \
%{!mcpu*:-D__tune_pentiumpro__ }}\ -D__pentiumpro -D__pentiumpro__ \
%{!mcpu*:-D__tune_i686__ -D__tune_pentiumpro__ }}\
%{march=k6:-D__k6 -D__k6__ %{!mcpu*:-D__tune_k6__ }}\ %{march=k6:-D__k6 -D__k6__ %{!mcpu*:-D__tune_k6__ }}\
%{march=athlon:-D__athlon -D__athlon__ %{!mcpu*:-D__tune_athlon__ }}\ %{march=athlon:-D__athlon -D__athlon__ %{!mcpu*:-D__tune_athlon__ }}\
%{m386|mcpu=i386:-D__tune_i386__ }\ %{m386|mcpu=i386:-D__tune_i386__ }\
%{m486|mcpu=i486:-D__tune_i486__ }\ %{m486|mcpu=i486:-D__tune_i486__ }\
%{mpentium|mcpu=pentium|mcpu=i586:-D__tune_pentium__ }\ %{mpentium|mcpu=pentium|mcpu=i586:-D__tune_i586__ -D__tune_pentium__ }\
%{mpentiumpro|mcpu=pentiumpro|mcpu=i686:-D__tune_pentiumpro__ }\ %{mpentiumpro|mcpu=pentiumpro|mcpu=i686:-D__tune_i686__ -D__tune_pentiumpro__ }\
%{mcpu=k6:-D__tune_k6__ }\ %{mcpu=k6:-D__tune_k6__ }\
%{mcpu=athlon:-D__tune_athlon__ }\ %{mcpu=athlon:-D__tune_athlon__ }\
%{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}" %{!march*:%{!mcpu*:%{!m386:%{!m486:%{!mpentium*:%(cpp_cpu_default)}}}}}"
......
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