summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-06 23:51:44 +0000
committerChris Lattner <sabre@nondot.org>2010-09-06 23:51:44 +0000
commitc5cebeb3cb44a3fd0aaee956431159757ee47914 (patch)
tree20ad8b4514f02173e9c38da8079147581a43d919 /test
parentd68c474ec55a3dd43f9fa8ea4c89e5fae62909ab (diff)
downloadllvm-c5cebeb3cb44a3fd0aaee956431159757ee47914.tar.gz
llvm-c5cebeb3cb44a3fd0aaee956431159757ee47914.tar.bz2
llvm-c5cebeb3cb44a3fd0aaee956431159757ee47914.tar.xz
"sldt <mem>" is ambiguous in 64-bit mode, but should
always be disambiguated as sldtw. sldtw and sldtq with a mem operands have the same effect, but sldtw is more compact. Force it to sldtw, resolving rdar://8017530 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113186 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_instructions.s3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s
index 308dc09586..f27f2433d3 100644
--- a/test/MC/AsmParser/X86/x86_instructions.s
+++ b/test/MC/AsmParser/X86/x86_instructions.s
@@ -178,3 +178,6 @@ inb $161, %al
// CHECK: pushq $1
push $1
+// rdar://8017530
+// CHECK: sldtw 4
+sldt 4