* config/i386/i386.c (override_options): Correct x86_sahf
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2007 12:56:37 +0000 (12:56 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Jun 2007 12:56:37 +0000 (12:56 +0000)
setting condition.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125948 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/i386/i386.c

index 0a447dd..e97babf 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-22  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (override_options): Correct x86_sahf
+       setting condition.
+
 2007-06-21  David Daney  <ddaney@avtrex.com>
 
        PR target/32406
index ad51cb6..1483cac 100644 (file)
@@ -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;