diff options
author | Jim Grosbach <grosbach@apple.com> | 2011-08-23 19:49:10 +0000 |
---|---|---|
committer | Jim Grosbach <grosbach@apple.com> | 2011-08-23 19:49:10 +0000 |
commit | ec8b866434d530dee5b885e9db8da86db053c9ff (patch) | |
tree | 177139302ebaadf5bec5cf06d274234f73425260 /test/MC/ARM/thumb-diagnostics.s | |
parent | 414b02357a7a733e3258da1b7c0f2c12b32f193e (diff) | |
download | external_llvm-ec8b866434d530dee5b885e9db8da86db053c9ff.zip external_llvm-ec8b866434d530dee5b885e9db8da86db053c9ff.tar.gz external_llvm-ec8b866434d530dee5b885e9db8da86db053c9ff.tar.bz2 |
Thumb parsing and encoding for SVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/ARM/thumb-diagnostics.s')
-rw-r--r-- | test/MC/ARM/thumb-diagnostics.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/ARM/thumb-diagnostics.s b/test/MC/ARM/thumb-diagnostics.s index 9a4ddf1..650e8ce 100644 --- a/test/MC/ARM/thumb-diagnostics.s +++ b/test/MC/ARM/thumb-diagnostics.s @@ -108,3 +108,13 @@ error: invalid operand for instruction @ CHECK-ERRORS: error: instruction requires a CPU feature not currently enabled @ CHECK-ERRORS: str r3, [r7, #128] @ CHECK-ERRORS: ^ + +@ Out of range immediate for SVC instruction. + svc #-1 + svc #256 +@ CHECK-ERRORS: error: invalid operand for instruction +@ CHECK-ERRORS: svc #-1 +@ CHECK-ERRORS: ^ +@ CHECK-ERRORS: error: instruction requires a CPU feature not currently enabled +@ CHECK-ERRORS: svc #256 +@ CHECK-ERRORS: ^ |