From d53e2283392d812c282e194f2a19da464f0f9323 Mon Sep 17 00:00:00 2001 From: uros Date: Fri, 16 Mar 2007 12:32:08 +0000 Subject: [PATCH] * config/i386/i386.c (override_options): Add PTA_NO_SAHF to k8, opteron, athlon-64 and athlon-fx processor_alias_table entries. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122989 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 18 +++++++++++------- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 235258c..d120312 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-03-16 Uros Bizjak + + * config/i386/i386.c (override_options): Add PTA_NO_SAHF to k8, + opteron, athlon-64 and athlon-fx processor_alias_table entries. + 2007-03-16 Sebastian Pop PR tree-optimization/31183 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index d4101cb..62e9f86 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -1971,13 +1971,17 @@ override_options (void) {"x86-64", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_64BIT | PTA_SSE | PTA_SSE2 | PTA_NO_SAHF}, {"k8", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT - | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, - {"opteron", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT - | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, - {"athlon64", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT - | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, - {"athlon-fx", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT - | PTA_3DNOW_A | PTA_SSE | PTA_SSE2}, + | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 + | PTA_NO_SAHF}, + {"opteron", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW + | PTA_64BIT | PTA_3DNOW_A | PTA_SSE + | PTA_SSE2 | PTA_NO_SAHF}, + {"athlon64", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW + | PTA_64BIT | PTA_3DNOW_A | PTA_SSE + | PTA_SSE2 | PTA_NO_SAHF}, + {"athlon-fx", PROCESSOR_K8, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW + | PTA_64BIT | PTA_3DNOW_A | PTA_SSE + | PTA_SSE2 | PTA_NO_SAHF}, {"amdfam10", PROCESSOR_AMDFAM10, PTA_MMX | PTA_PREFETCH_SSE | PTA_3DNOW | PTA_64BIT | PTA_3DNOW_A | PTA_SSE | PTA_SSE2 | PTA_SSE3 | PTA_POPCNT -- 2.7.4