xmm0 is an implicit parameter in this and so shouldn't be in the
authorEric Christopher <echristo@apple.com>
Tue, 3 May 2011 01:28:32 +0000 (01:28 +0000)
committerEric Christopher <echristo@apple.com>
Tue, 3 May 2011 01:28:32 +0000 (01:28 +0000)
string template.

Fixes rdar://8493866

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130747 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/X86InstrSSE.td
test/MC/X86/x86-32-coverage.s

index cde3f6b7d3c2302d1ebcc81c5ceded0c4a2efa6b..bdd27df5a3a382e28f1361e27d95d77fb2e91908 100644 (file)
@@ -4733,14 +4733,14 @@ let Uses = [XMM0], Constraints = "$src1 = $dst" in {
     def rr0 : SS48I<opc, MRMSrcReg, (outs VR128:$dst),
                     (ins VR128:$src1, VR128:$src2),
                     !strconcat(OpcodeStr,
-                     "\t{%xmm0, $src2, $dst|$dst, $src2, %xmm0}"),
+                     "\t{$src2, $dst|$dst, $src2}"),
                     [(set VR128:$dst, (IntId VR128:$src1, VR128:$src2, XMM0))]>,
                     OpSize;
 
     def rm0 : SS48I<opc, MRMSrcMem, (outs VR128:$dst),
                     (ins VR128:$src1, i128mem:$src2),
                     !strconcat(OpcodeStr,
-                     "\t{%xmm0, $src2, $dst|$dst, $src2, %xmm0}"),
+                     "\t{$src2, $dst|$dst, $src2}"),
                     [(set VR128:$dst,
                       (IntId VR128:$src1,
                        (bitconvert (memopv16i8 addr:$src2)), XMM0))]>, OpSize;
index 4ac7efda01d686f3898c6e9b583dfafee9b2918e..aa51dd3f1714c61e40d3eb832fe2fb0affea3fa1 100644 (file)
@@ -1,3 +1,7 @@
+# Build output for (null)
+# Generated at (null)
+# Using (null) configuration, (null) architecture for (null) target of (null) project
+
 // RUN: llvm-mc -triple i386-unknown-unknown %s --show-encoding  | FileCheck %s
 
 // CHECK:      movb    $127, 3735928559(%ebx,%ecx,8)
 
 // CHECK:      aeskeygenassist $125, (%edx,%eax,4), %xmm2
                 aeskeygenassist $125, (%edx,%eax,4), %xmm2
+
+// CHECK:   blendvps   (%rax), %xmm1   # encoding: [0x66,0x0f,0x38,0x14,0x08]
+            blendvps (%rax), %xmm1
+// CHECK:   blendvps   %xmm2, %xmm1    # encoding: [0x66,0x0f,0x38,0x14,0xca]
+            blendvps %xmm2, %xmm1