OSDN Git Service

Fix typo, SSE1 should be used by XS, not SSE2
authorBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 18 Jun 2010 23:53:27 +0000 (23:53 +0000)
committerBruno Cardoso Lopes <bruno.cardoso@gmail.com>
Fri, 18 Jun 2010 23:53:27 +0000 (23:53 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@106357 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrFormats.td

index a52db35..3670cb1 100644 (file)
@@ -219,7 +219,7 @@ class SI<bits<8> o, Format F, dag outs, dag ins, string asm, list<dag> pattern>
       : I<o, F, outs, ins, asm, pattern> {
   let Predicates = !if(hasVEX_4VPrefix /* VEX_4V */,
             !if(!eq(Prefix, 11 /* XD */), [HasAVX, HasSSE2], [HasAVX, HasSSE1]),
-            !if(!eq(Prefix, 12 /* XS */), [HasSSE2], [HasSSE1]));
+            !if(!eq(Prefix, 12 /* XS */), [HasSSE1], [HasSSE2]));
 
   // AVX instructions have a 'v' prefix in the mnemonic
   let AsmString = !if(hasVEX_4VPrefix, !strconcat("v", asm), asm);