From 2fc496fcf5c5caf3e6af755d2c8fc97686cc2dd2 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 3 May 2011 01:28:32 +0000 Subject: [PATCH] xmm0 is an implicit parameter in this and so shouldn't be in the 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 | 4 ++-- test/MC/X86/x86-32-coverage.s | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/lib/Target/X86/X86InstrSSE.td b/lib/Target/X86/X86InstrSSE.td index cde3f6b7d3c..bdd27df5a3a 100644 --- a/lib/Target/X86/X86InstrSSE.td +++ b/lib/Target/X86/X86InstrSSE.td @@ -4733,14 +4733,14 @@ let Uses = [XMM0], Constraints = "$src1 = $dst" in { def rr0 : SS48I, OpSize; def rm0 : SS48I, OpSize; diff --git a/test/MC/X86/x86-32-coverage.s b/test/MC/X86/x86-32-coverage.s index 4ac7efda01d..aa51dd3f171 100644 --- a/test/MC/X86/x86-32-coverage.s +++ b/test/MC/X86/x86-32-coverage.s @@ -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) @@ -19570,3 +19574,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