From 9064c53336c60cb5f21d2c8551e707522d1a5575 Mon Sep 17 00:00:00 2001 From: Uros Bizjak Date: Fri, 22 Jun 2007 14:56:37 +0200 Subject: [PATCH] i386.c (override_options): Correct x86_sahf setting condition. * config/i386/i386.c (override_options): Correct x86_sahf setting condition. From-SVN: r125948 --- gcc/ChangeLog | 5 +++++ gcc/config/i386/i386.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0a447dd..e97babf 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-06-22 Uros Bizjak + + * config/i386/i386.c (override_options): Correct x86_sahf + setting condition. + 2007-06-21 David Daney PR target/32406 diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ad51cb6..1483cac 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -2059,7 +2059,7 @@ override_options (void) x86_popcnt = true; if (processor_alias_table[i].flags & (PTA_PREFETCH_SSE | PTA_SSE)) x86_prefetch_sse = true; - if ((processor_alias_table[i].flags & PTA_NO_SAHF) && !TARGET_64BIT) + if (!(TARGET_64BIT && (processor_alias_table[i].flags & PTA_NO_SAHF))) x86_sahf = true; break; -- 2.7.4