projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2bc2a08
)
Followup to r126970: add 64-bit encoding tests for str with reg operand.
author
Eli Friedman
<eli.friedman@gmail.com>
Fri, 4 Mar 2011 04:06:47 +0000
(
04:06
+0000)
committer
Eli Friedman
<eli.friedman@gmail.com>
Fri, 4 Mar 2011 04:06:47 +0000
(
04:06
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126987
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/MC/X86/x86-64.s
patch
|
blob
|
history
diff --git
a/test/MC/X86/x86-64.s
b/test/MC/X86/x86-64.s
index ee9757fa3176241f3341618f7c927dd3ff26ffe1..fe056be012e826b17cafecfcf0f8e6757f6b5262 100644
(file)
--- 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