diff options
author | Bradley Smith <bradley.smith@arm.com> | 2015-01-19 16:37:17 +0000 |
---|---|---|
committer | Bradley Smith <bradley.smith@arm.com> | 2015-01-19 16:37:17 +0000 |
commit | 3131e85eddb1026a9267d2998c7d5dda74e81923 (patch) | |
tree | fb6c5d0653c62c50cd8825fae38e957fd90ceb24 /llvm/test | |
parent | 30057b245e274b05429f1e1e82542bc2a3be6bb3 (diff) | |
download | bcm5719-llvm-3131e85eddb1026a9267d2998c7d5dda74e81923.tar.gz bcm5719-llvm-3131e85eddb1026a9267d2998c7d5dda74e81923.zip |
[ARM] SSAT/USAT with an 'asr #32' shift should result in an undefined encoding rather than unpredictable
llvm-svn: 226469
Diffstat (limited to 'llvm/test')
-rw-r--r-- | llvm/test/MC/ARM/thumb2-diagnostics.s | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/test/MC/ARM/thumb2-diagnostics.s b/llvm/test/MC/ARM/thumb2-diagnostics.s index b2b14bc13d6..8fd161c2cc5 100644 --- a/llvm/test/MC/ARM/thumb2-diagnostics.s +++ b/llvm/test/MC/ARM/thumb2-diagnostics.s @@ -87,4 +87,7 @@ foo2: @ CHECK-ERRORS: error: invalid operand for instruction @ CHECK-ERRORS: error: invalid operand for instruction - +ssat r0, #1, r0, asr #32 +usat r0, #1, r0, asr #32 +@ CHECK-ERRORS: error: 'asr #32' shift amount not allowed in Thumb mode +@ CHECK-ERRORS: error: 'asr #32' shift amount not allowed in Thumb mode |