From 86d822df6d9a484b3672b2a909641262663a45dc Mon Sep 17 00:00:00 2001 From: Eli Friedman Date: Fri, 4 Mar 2011 04:06:47 +0000 Subject: Followup to r126970: add 64-bit encoding tests for str with reg operand. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126987 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/X86/x86-64.s | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'test/MC/X86/x86-64.s') 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 -- cgit v1.2.3