diff options
author | Richard Henderson <rth@redhat.com> | 2002-12-09 16:56:36 -0800 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-12-09 16:56:36 -0800 |
commit | 2e37b0cee2cbdec25eab74458c492aa7bd009537 (patch) | |
tree | 3270080c28cf29b2d0a5a0f82f78a1a173c18bd5 | |
parent | 3a04ff6433538b4cec71fe681ded309db4d91cab (diff) | |
download | gcc-2e37b0cee2cbdec25eab74458c492aa7bd009537.zip gcc-2e37b0cee2cbdec25eab74458c492aa7bd009537.tar.gz gcc-2e37b0cee2cbdec25eab74458c492aa7bd009537.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/i386/i386.h | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b812c1..0a4c2dc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2002-12-09 Richard Henderson <rth@redhat.com> + * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define + __tune_pentium2__ and __tune_pentium3__ as necessary. + +2002-12-09 Richard Henderson <rth@redhat.com> + * target.h (gcc_target): Add cannot_force_const_mem. * target-def.h (TARGET_CANNOT_FORCE_CONST_MEM): New. (TARGET_INITIALIZER): Add it. diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index 287cec3..493a2b5 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) \ { \ |