[PATCH] D122449: [X86][test] Add encoding/decoding tests for VEX instruction w/ address-size prefix
Kan Shengchen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 30 19:12:11 PDT 2022
skan updated this revision to Diff 419311.
skan marked an inline comment as done.
skan added a comment.
move vpsubq to the bottom in disasm test
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122449/new/
https://reviews.llvm.org/D122449
Files:
llvm/test/MC/Disassembler/X86/x86-64-avx.txt
llvm/test/MC/X86/x86_64-avx-encoding.s
Index: llvm/test/MC/X86/x86_64-avx-encoding.s
===================================================================
--- llvm/test/MC/X86/x86_64-avx-encoding.s
+++ llvm/test/MC/X86/x86_64-avx-encoding.s
@@ -1696,6 +1696,10 @@
// CHECK: encoding: [0xc5,0x19,0xfb,0x28]
vpsubq (%rax), %xmm12, %xmm13
+// CHECK: vpsubq (%esp), %xmm1, %xmm2
+// CHECK: encoding: [0x67,0xc5,0xf1,0xfb,0x14,0x24]
+ vpsubq (%esp), %xmm1, %xmm2
+
// CHECK: vpsubsb %xmm11, %xmm12, %xmm13
// CHECK: encoding: [0xc4,0x41,0x19,0xe8,0xeb]
vpsubsb %xmm11, %xmm12, %xmm13
Index: llvm/test/MC/Disassembler/X86/x86-64-avx.txt
===================================================================
--- llvm/test/MC/Disassembler/X86/x86-64-avx.txt
+++ llvm/test/MC/Disassembler/X86/x86-64-avx.txt
@@ -35,3 +35,6 @@
# CHECK: vphsubd %xmm3, %xmm2, %xmm11
0xc4 0x62 0xe9 0x06 0xdb
+
+# CHECK: vpsubq (%esp), %xmm1, %xmm2
+0x67 0xc5 0xf1 0xfb 0x14 0x24
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122449.419311.patch
Type: text/x-patch
Size: 953 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220331/1ac3ec61/attachment.bin>
More information about the llvm-commits
mailing list