summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorKay Tiong Khoo <kkhoo@perfwizard.com>2013-04-10 21:52:25 +0000
committerKay Tiong Khoo <kkhoo@perfwizard.com>2013-04-10 21:52:25 +0000
commitc92cc5d9184c6a5f043dc22e186ff76eb0e18775 (patch)
tree0f15f934b495c23a5111c64a0aae29e48db26893 /test
parentc3b5997910d34b7cdd4bca4f0da48c4488009e5b (diff)
downloadllvm-c92cc5d9184c6a5f043dc22e186ff76eb0e18775.tar.gz
llvm-c92cc5d9184c6a5f043dc22e186ff76eb0e18775.tar.bz2
llvm-c92cc5d9184c6a5f043dc22e186ff76eb0e18775.tar.xz
fixed xsave, xsaveopt, xrstor mnemonics with intel syntax; added test cases
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179223 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/Disassembler/X86/intel-syntax.txt9
-rw-r--r--test/MC/Disassembler/X86/x86-64.txt9
2 files changed, 18 insertions, 0 deletions
diff --git a/test/MC/Disassembler/X86/intel-syntax.txt b/test/MC/Disassembler/X86/intel-syntax.txt
index 27694cd014..57e602f150 100644
--- a/test/MC/Disassembler/X86/intel-syntax.txt
+++ b/test/MC/Disassembler/X86/intel-syntax.txt
@@ -110,3 +110,12 @@
# CHECK: vpgatherdd XMM10, DWORD PTR [R15 + 2*XMM9], XMM8
0xc4 0x02 0x39 0x90 0x14 0x4f
+
+# CHECK: xsave64 OPAQUE PTR [RAX]
+0x48 0x0f 0xae 0x20
+
+# CHECK: xrstor64 OPAQUE PTR [RAX]
+0x48 0x0f 0xae 0x28
+
+# CHECK: xsaveopt64 OPAQUE PTR [RAX]
+0x48 0x0f 0xae 0x30
diff --git a/test/MC/Disassembler/X86/x86-64.txt b/test/MC/Disassembler/X86/x86-64.txt
index 5de1d59784..efa82484e0 100644
--- a/test/MC/Disassembler/X86/x86-64.txt
+++ b/test/MC/Disassembler/X86/x86-64.txt
@@ -112,3 +112,12 @@
# CHECK: xabort $13
0xc6 0xf8 0x0d
+
+# CHECK: xsaveq (%rax)
+0x48 0x0f 0xae 0x20
+
+# CHECK: xrstorq (%rax)
+0x48 0x0f 0xae 0x28
+
+# CHECK: xsaveoptq (%rax)
+0x48 0x0f 0xae 0x30