aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/thumb-diagnostics.s
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-19 22:07:46 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-19 22:07:46 +0000
commit88ae2bc6d53bbf58422ff74729da18a53e155b4a (patch)
tree61ed0bd98fc8ab7be2389d657a5e5f4c168739af /test/MC/ARM/thumb-diagnostics.s
parentcafe614035c8db70eb5da96dba00696db381674f (diff)
downloadexternal_llvm-88ae2bc6d53bbf58422ff74729da18a53e155b4a.zip
external_llvm-88ae2bc6d53bbf58422ff74729da18a53e155b4a.tar.gz
external_llvm-88ae2bc6d53bbf58422ff74729da18a53e155b4a.tar.bz2
Thumb assembly parsing and encoding for MUL.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138108 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/thumb-diagnostics.s')
-rw-r--r--test/MC/ARM/thumb-diagnostics.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb-diagnostics.s b/test/MC/ARM/thumb-diagnostics.s
index 6deccac..f7297d9 100644
--- a/test/MC/ARM/thumb-diagnostics.s
+++ b/test/MC/ARM/thumb-diagnostics.s
@@ -62,3 +62,9 @@ error: invalid operand for instruction
@ CHECK-ERRORS: error: invalid operand for instruction
@ CHECK-ERRORS: lsls r4, r5, #32
@ CHECK-ERRORS: ^
+
+@ Mismatched source/destination operands for MUL instruction.
+ muls r1, r2, r3
+@ CHECK-ERRORS: error: destination register must match second source register
+@ CHECK-ERRORS: muls r1, r2, r3
+@ CHECK-ERRORS: ^