summaryrefslogtreecommitdiff
path: root/test/MC/X86/x86-64.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/X86/x86-64.s')
-rw-r--r--test/MC/X86/x86-64.s16
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index ee9757fa31..fe056be012 100644
--- a/test/MC/X86/x86-64.s
+++ b/test/MC/X86/x86-64.s
@@ -973,3 +973,19 @@ xsetbv // CHECK: xsetbv # encoding: [0x0f,0x01,0xd1]
// CHECK: loopne 0
// CHECK: encoding: [0xe0,A]
loopnz 0
+
+// CHECK: strw
+// CHECK: encoding: [0x66,0x0f,0x00,0xc8]
+ str %ax
+
+// CHECK: strl
+// CHECK: encoding: [0x0f,0x00,0xc8]
+ str %eax
+
+// CHECK: strw
+// CHECK: encoding: [0x66,0x0f,0x00,0xc8]
+ str %ax
+
+// CHECK: strq
+// CHECK: encoding: [0x48,0x0f,0x00,0xc8]
+ str %rax