diff options
author | Jeff Garzik <jgarzik@mandrakesoft.com> | 2002-09-17 03:35:34 +0000 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2002-09-16 20:35:34 -0700 |
commit | 3780101d62cf3732d9fd61f56b7278532b9a38e3 (patch) | |
tree | 72f30cc79e74b2e7dc8853c62f4032de371ec20f | |
parent | 9dff28ab5386ec651699c6245823e3e2c68d1c64 (diff) | |
download | gcc-3780101d62cf3732d9fd61f56b7278532b9a38e3.zip gcc-3780101d62cf3732d9fd61f56b7278532b9a38e3.tar.gz gcc-3780101d62cf3732d9fd61f56b7278532b9a38e3.tar.bz2 |
config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
* config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx.
* config/i386/i386.c (processor_alias_table): Add winchip-c6,
winchip2 and c3.
* doc/invoke.texi: Mention new aliases.
From-SVN: r57227
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/config.gcc | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386.c | 3 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 4 |
4 files changed, 13 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index abaa25a..847e93a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2002-09-16 Jeff Garzik <jgarzik@mandrakesoft.com> + + * config.gcc: Treat winchip_c6-*|winchip2-*|c3-* as pentium-mmx. + * config/i386/i386.c (processor_alias_table): Add winchip-c6, + winchip2 and c3. + * doc/invoke.texi: Mention new aliases. + 2002-09-16 John David Anglin <dave@hiauly1.hia.nrc.ca> * calls.c (store_one_arg): Set default alignment for BLKmode arguments diff --git a/gcc/config.gcc b/gcc/config.gcc index 517170d..7fada8c 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -2694,7 +2694,7 @@ i586-*-*) k6-*) target_cpu_default2=TARGET_CPU_DEFAULT_k6 ;; - pentium_mmx-*) + pentium_mmx-*|winchip_c6-*|winchip2-*|c3-*) target_cpu_default2=TARGET_CPU_DEFAULT_pentium_mmx ;; *) diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index 4f62e4c..43b0455 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -911,6 +911,9 @@ override_options () {"i586", PROCESSOR_PENTIUM, 0}, {"pentium", PROCESSOR_PENTIUM, 0}, {"pentium-mmx", PROCESSOR_PENTIUM, PTA_MMX}, + {"winchip-c6", PROCESSOR_I486, PTA_MMX}, + {"winchip2", PROCESSOR_I486, PTA_MMX | PTA_3DNOW}, + {"c3", PROCESSOR_I486, PTA_MMX | PTA_3DNOW}, {"i686", PROCESSOR_PENTIUMPRO, 0}, {"pentiumpro", PROCESSOR_PENTIUMPRO, 0}, {"pentium2", PROCESSOR_PENTIUMPRO, PTA_MMX}, diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 80970f8..6d8eedc 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7468,8 +7468,8 @@ for the ABI and the set of available instructions. The choices for @var{cpu-type} are @samp{i386}, @samp{i486}, @samp{i586}, @samp{i686}, @samp{pentium}, @samp{pentium-mmx}, @samp{pentiumpro}, @samp{pentium2}, @samp{pentium3}, @samp{pentium4}, @samp{k6}, @samp{k6-2}, @samp{k6-3}, -@samp{athlon}, @samp{athlon-tbird}, @samp{athlon-4}, @samp{athlon-xp} -and @samp{athlon-mp}. +@samp{athlon}, @samp{athlon-tbird}, @samp{athlon-4}, @samp{athlon-xp}, +@samp{athlon-mp}, @samp{winchip-c6}, @samp{winchip2} and @samp{c3}. While picking a specific @var{cpu-type} will schedule things appropriately for that particular chip, the compiler will not generate any code that |