]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386.c (standard_sse_constant_opcode): Fix last commit.
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 8 Sep 2011 18:30:43 +0000 (20:30 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 8 Sep 2011 18:30:43 +0000 (20:30 +0200)
From-SVN: r178705

gcc/config/i386/i386.c

index 171a48026bf28e8a88e1f6b557c7b888bc14849f..38fea4efc9ff4893124b4c4b0c9bbaa81c1d0458 100644 (file)
@@ -8241,7 +8241,10 @@ standard_sse_constant_opcode (rtx insn, rtx x)
        }
 
     case 2:
-      return "%vpcmpeqd\t%0, %0, %0";
+      if (TARGET_AVX)
+       return "vpcmpeqd\t%0, %0, %0";
+      else
+       return "pcmpeqd\t%0, %0";
 
     default:
       break;