Commit 84ac30cb by Uros Bizjak Committed by Uros Bizjak

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
parent ee9f69b4
2007-03-09 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (override_options): Conditionally disable
x86_sahf for 64bit targets only.
2007-03-08 Andrew Pinski <andrew_pinski@playstation.sony.com>
PR C/31072
......
......@@ -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 "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment