aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/ARM/diagnostics.s
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2011-08-10 20:29:19 +0000
committerJim Grosbach <grosbach@apple.com>2011-08-10 20:29:19 +0000
commit2fd2b87ded53f6b87eb240c17d62a23fb4964ba0 (patch)
tree900ad82ef8e9db3dba4032a50e5b77d5629ba8b8 /test/MC/ARM/diagnostics.s
parente2d8cf77c8df45768a3902a97cd357dcf2a5d719 (diff)
downloadexternal_llvm-2fd2b87ded53f6b87eb240c17d62a23fb4964ba0.zip
external_llvm-2fd2b87ded53f6b87eb240c17d62a23fb4964ba0.tar.gz
external_llvm-2fd2b87ded53f6b87eb240c17d62a23fb4964ba0.tar.bz2
ARM LDRD(immediate) assembly parsing and encoding support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137244 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/diagnostics.s')
-rw-r--r--test/MC/ARM/diagnostics.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s
index cc24416..da1b885 100644
--- a/test/MC/ARM/diagnostics.s
+++ b/test/MC/ARM/diagnostics.s
@@ -283,3 +283,17 @@
@ CHECK-ERRORS: error: bitfield width must be in range [1,32-lsb]
@ CHECK-ERRORS: ubfxgt r4, r5, #16, #17
@ CHECK-ERRORS: ^
+
+ @ Out of order Rt/Rt2 operands for ldrd
+ ldrd r4, r3, [r8]
+ ldrd r4, r3, [r8, #8]!
+ ldrd r4, r3, [r8], #8
+@ CHECK-ERRORS: error: destination operands must be sequential
+@ CHECK-ERRORS: ldrd r4, r3, [r8]
+@ CHECK-ERRORS: ^
+@ CHECK-ERRORS: error: destination operands must be sequential
+@ CHECK-ERRORS: ldrd r4, r3, [r8, #8]!
+@ CHECK-ERRORS: ^
+@ CHECK-ERRORS: error: destination operands must be sequential
+@ CHECK-ERRORS: ldrd r4, r3, [r8], #8
+@ CHECK-ERRORS: ^