[llvm-commits] [llvm] r106357 - /llvm/trunk/lib/Target/X86/X86InstrFormats.td

Bruno Cardoso Lopes bruno.cardoso at gmail.com
Fri Jun 18 16:53:27 PDT 2010


Author: bruno
Date: Fri Jun 18 18:53:27 2010
New Revision: 106357

URL: http://llvm.org/viewvc/llvm-project?rev=106357&view=rev
Log:
Fix typo, SSE1 should be used by XS, not SSE2

Modified:
    llvm/trunk/lib/Target/X86/X86InstrFormats.td

Modified: llvm/trunk/lib/Target/X86/X86InstrFormats.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InstrFormats.td?rev=106357&r1=106356&r2=106357&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InstrFormats.td (original)
+++ llvm/trunk/lib/Target/X86/X86InstrFormats.td Fri Jun 18 18:53:27 2010
@@ -219,7 +219,7 @@
       : 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);





More information about the llvm-commits mailing list