Fix typo, SSE1 should be used by XS, not SSE2

llvm-svn: 106357
This commit is contained in:
Bruno Cardoso Lopes 2010-06-18 23:53:27 +00:00
parent 10fa91df80
commit 5af812b35b

View 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);