aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorUros Bizjak <ubizjak@gmail.com>2007-03-09 08:21:19 +0100
committerUros Bizjak <uros@gcc.gnu.org>2007-03-09 08:21:19 +0100
commit84ac30cb94526de72f51abbea2a223ad8714a85e (patch)
treeb16201747768ba5c2bed1d11d498099a3f016d3e /gcc/config
parentee9f69b425fabd8af248d75fe7ee62ca17112253 (diff)
downloadgcc-84ac30cb94526de72f51abbea2a223ad8714a85e.zip
gcc-84ac30cb94526de72f51abbea2a223ad8714a85e.tar.gz
gcc-84ac30cb94526de72f51abbea2a223ad8714a85e.tar.bz2
i386.h (override_options): Conditionally disable x86_sahf for 64bit targets only.
* config/i386/i386.h (override_options): Conditionally disable x86_sahf for 64bit targets only. From-SVN: r122740
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c
index a4c91fb..70fd96c 100644
--- a/gcc/config/i386/i386.c
+++ b/gcc/config/i386/i386.c
@@ -2153,7 +2153,7 @@ override_options (void)
if (processor_alias_table[i].flags & PTA_SSE4A
&& !(target_flags_explicit & MASK_SSE4A))
target_flags |= MASK_SSE4A;
- if (!(processor_alias_table[i].flags & PTA_NO_SAHF))
+ if (!(TARGET_64BIT && (processor_alias_table[i].flags & PTA_NO_SAHF)))
x86_sahf = true;
if (TARGET_64BIT && !(processor_alias_table[i].flags & PTA_64BIT))
error ("CPU you selected does not support x86-64 "