From: Richard Henderson Date: Tue, 10 Dec 2002 00:56:36 +0000 (-0800) Subject: i386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2e37b0cee2cbdec25eab74458c492aa7bd009537;p=gcc.git i386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__ as necessary. * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define __tune_pentium2__ and __tune_pentium3__ as necessary. From-SVN: r59974 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b812c18a53..0a4c2dcc4ce 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-12-09 Richard Henderson + + * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define + __tune_pentium2__ and __tune_pentium3__ as necessary. + 2002-12-09 Richard Henderson * target.h (gcc_target): Add cannot_force_const_mem. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 287cec3e503..493a2b5bf9c 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -515,6 +515,15 @@ extern int x86_prefetch_sse; { \ builtin_define ("__tune_i686__"); \ builtin_define ("__tune_pentiumpro__"); \ + switch (last_cpu_char) \ + { \ + case '3': \ + builtin_define ("__tune_pentium3__"); \ + /* FALLTHRU */ \ + case '2': \ + builtin_define ("__tune_pentium2__"); \ + break; \ + } \ } \ else if (TARGET_K6) \ { \