diff options
Diffstat (limited to 'llvm/test/MC/ARM/diagnostics.s')
| -rw-r--r-- | llvm/test/MC/ARM/diagnostics.s | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/llvm/test/MC/ARM/diagnostics.s b/llvm/test/MC/ARM/diagnostics.s index 21fda1cce17..1aea1174af5 100644 --- a/llvm/test/MC/ARM/diagnostics.s +++ b/llvm/test/MC/ARM/diagnostics.s @@ -393,3 +393,17 @@ @ CHECK-ERRORS: error: instruction 'dmb' is not predicable, but condition code specified @ CHECK-ERRORS: error: instruction 'dsb' is not predicable, but condition code specified @ CHECK-ERRORS: error: instruction 'isb' is not predicable, but condition code specified + + mcr2le p7, #1, r5, c1, c1, #4 + mcrr2ne p7, #15, r5, r4, c1 + mrc2lo p14, #0, r1, c1, c2, #4 + mrrc2lo p7, #1, r5, r4, c1 + cdp2hi p10, #0, c6, c12, c0, #7 +@ CHECK-ERRORS: error: instruction 'mcr2' is not predicable, but condition code specified +@ CHECK-ERRORS: error: instruction 'mcrr2' is not predicable, but condition code specified +@ CHECK-ERRORS: error: instruction 'mrc2' is not predicable, but condition code specified +@ CHECK-ERRORS: error: instruction 'mrrc2' is not predicable, but condition code specified +@ CHECK-ERRORS: error: instruction 'cdp2' is not predicable, but condition code specified + + bkpteq #7 +@ CHECK-ERRORS: error: instruction 'bkpt' is not predicable, but condition code specified |

