diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-10-12 17:34:41 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-10-12 17:34:41 +0000 |
commit | 9b8f2a0b365ea62a5fef80bbaab3cf0252db2fcf (patch) | |
tree | b5eb114960ac0ae3c4be79ff11cf15cf256dd6be /test/MC/ARM/diagnostics.s | |
parent | 01208d56e8341c17bb7dbeaf6c081fdffe523786 (diff) | |
download | external_llvm-9b8f2a0b365ea62a5fef80bbaab3cf0252db2fcf.zip external_llvm-9b8f2a0b365ea62a5fef80bbaab3cf0252db2fcf.tar.gz external_llvm-9b8f2a0b365ea62a5fef80bbaab3cf0252db2fcf.tar.bz2 |
ARM parsing and encoding for the <option> form of LDC/STC instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141786 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/diagnostics.s')
-rw-r--r-- | test/MC/ARM/diagnostics.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/diagnostics.s b/test/MC/ARM/diagnostics.s index 41dde08..f722dd7 100644 --- a/test/MC/ARM/diagnostics.s +++ b/test/MC/ARM/diagnostics.s @@ -305,3 +305,13 @@ @ CHECK-ERRORS: vpush {s0, s3} @ CHECK-ERRORS: ^ + @ Out of range coprocessor option immediate. + ldc2 p2, c8, [r1], { 256 } + ldc2 p2, c8, [r1], { -1 } + +@ CHECK-ERRORS: error: coprocessor option must be an immediate in range [0, 255] +@ CHECK-ERRORS: ldc2 p2, c8, [r1], { 256 } +@ CHECK-ERRORS: ^ +@ CHECK-ERRORS: error: coprocessor option must be an immediate in range [0, 255] +@ CHECK-ERRORS: ldc2 p2, c8, [r1], { -1 } +@ CHECK-ERRORS: ^ |