OSDN Git Service

* config/i386.c (standard_sse_constant_opcode): Fix last commit.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Sep 2011 18:30:43 +0000 (18:30 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 8 Sep 2011 18:30:43 +0000 (18:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@178705 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/i386/i386.c

index 171a480..38fea4e 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;