aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-05-04 17:31:02 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-05-04 17:31:02 +0000
commite9f0fb4179d57c631a72fa8020ca05a4d132e15b (patch)
tree7c49206eb79aa79305f3157abf467ded45c52a43 /test
parent28428cd6f31c1ea3cf4cea03e64189a4c32b84a3 (diff)
downloadexternal_llvm-e9f0fb4179d57c631a72fa8020ca05a4d132e15b.zip
external_llvm-e9f0fb4179d57c631a72fa8020ca05a4d132e15b.tar.gz
external_llvm-e9f0fb4179d57c631a72fa8020ca05a4d132e15b.tar.bz2
MC/X86: Chris pointed that 'as' isn't consistent in accepting the long form of
instructions which have no direct register usage. Darwin 'as' accepts: add $0, (%rax) but rejects mov $0, (%rax) for example. Given that, only accept suffix matches which match exactly one form. We still need to emit nice diagnostics for failures... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/MC/AsmParser/X86/x86_64-suffix-matching.s2
1 files changed, 0 insertions, 2 deletions
diff --git a/test/MC/AsmParser/X86/x86_64-suffix-matching.s b/test/MC/AsmParser/X86/x86_64-suffix-matching.s
index 9a38e1b..c4f0be2 100644
--- a/test/MC/AsmParser/X86/x86_64-suffix-matching.s
+++ b/test/MC/AsmParser/X86/x86_64-suffix-matching.s
@@ -4,5 +4,3 @@
add $0, %eax
// CHECK: addb $255, %al
add $0xFF, %al
-// CHECK: addl $0, (%rax)
- add $0, 0(%rax)