[llvm] 90f9855 - [X86] Update MMX opname test changes that were lost
Simon Pilgrim via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 12 10:21:42 PST 2021
Author: Simon Pilgrim
Date: 2021-12-12T18:21:34Z
New Revision: 90f98552314a9fbc5155a8368cf0a7f55eb431c3
URL: https://github.com/llvm/llvm-project/commit/90f98552314a9fbc5155a8368cf0a7f55eb431c3
DIFF: https://github.com/llvm/llvm-project/commit/90f98552314a9fbc5155a8368cf0a7f55eb431c3.diff
LOG: [X86] Update MMX opname test changes that were lost
I stupidly lost these in a temp git stash :(
Added:
Modified:
llvm/test/CodeGen/X86/mxcsr-reg-usage.ll
llvm/test/MC/X86/x86_64-asm-match.s
Removed:
################################################################################
diff --git a/llvm/test/CodeGen/X86/mxcsr-reg-usage.ll b/llvm/test/CodeGen/X86/mxcsr-reg-usage.ll
index fcce4e77905a8..fd8bd1facaf6b 100644
--- a/llvm/test/CodeGen/X86/mxcsr-reg-usage.ll
+++ b/llvm/test/CodeGen/X86/mxcsr-reg-usage.ll
@@ -2,11 +2,11 @@
; This test ensures that the MXCSR is implicitly used by MMX FP instructions.
define x86_mmx @mxcsr_mmx(<4 x float> %a0) {
-; CHECK: MMX_CVTPS2PIirr %{{[0-9]}}, implicit $mxcsr
-; CHECK: MMX_CVTPI2PSirr %{{[0-9]}}, killed %{{[0-9]}}, implicit $mxcsr
-; CHECK: MMX_CVTTPS2PIirr killed %{{[0-9]}}, implicit $mxcsr
-; CHECK: MMX_CVTPI2PDirr killed %{{[0-9]$}}
-; CHECK: MMX_CVTPD2PIirr killed %{{[0-9]}}, implicit $mxcsr
+; CHECK: MMX_CVTPS2PIrr %{{[0-9]}}, implicit $mxcsr
+; CHECK: MMX_CVTPI2PSrr %{{[0-9]}}, killed %{{[0-9]}}, implicit $mxcsr
+; CHECK: MMX_CVTTPS2PIrr killed %{{[0-9]}}, implicit $mxcsr
+; CHECK: MMX_CVTPI2PDrr killed %{{[0-9]$}}
+; CHECK: MMX_CVTPD2PIrr killed %{{[0-9]}}, implicit $mxcsr
%1 = call x86_mmx @llvm.x86.sse.cvtps2pi(<4 x float> %a0)
%2 = call <4 x float> @llvm.x86.sse.cvtpi2ps(<4 x float> %a0, x86_mmx %1)
%3 = call x86_mmx @llvm.x86.sse.cvttps2pi(<4 x float> %2)
diff --git a/llvm/test/MC/X86/x86_64-asm-match.s b/llvm/test/MC/X86/x86_64-asm-match.s
index 303b1c58cf795..7e1c2b42007e3 100644
--- a/llvm/test/MC/X86/x86_64-asm-match.s
+++ b/llvm/test/MC/X86/x86_64-asm-match.s
@@ -34,10 +34,10 @@
// CHECK: Matching formal operand class MCK_GR32 against actual operand at index 2 (Reg:ecx): match success using generic matcher
// CHECK: Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range Opcode result: complete match, selecting this opcode
// CHECK: AsmMatcher: found 4 encodings with mnemonic 'punpcklbw'
-// CHECK: Trying to match opcode MMX_PUNPCKLBWirr
+// CHECK: Trying to match opcode MMX_PUNPCKLBWrr
// CHECK: Matching formal operand class MCK_VR64 against actual operand at index 1 (Reg:mm0): match success using generic matcher
// CHECK: Matching formal operand class MCK_VR64 against actual operand at index 2 (Memory: ModeSize=64,Size=32,BaseReg=rsp,Scale=1): Opcode result: multiple operand mismatches, ignoring this opcode
-// CHECK: Trying to match opcode MMX_PUNPCKLBWirm
+// CHECK: Trying to match opcode MMX_PUNPCKLBWrm
// CHECK: Matching formal operand class MCK_VR64 against actual operand at index 1 (Reg:mm0): match success using generic matcher
// CHECK: Matching formal operand class MCK_Mem32 against actual operand at index 2 (Memory: ModeSize=64,Size=32,BaseReg=rsp,Scale=1): match success using generic matcher
// CHECK: Matching formal operand class InvalidMatchClass against actual operand at index 3: actual operand index out of range Opcode result: complete match, selecting this opcode
More information about the llvm-commits
mailing list