diff options
Diffstat (limited to 'llvm/test/MC/RISCV/rv64a-invalid.s')
-rw-r--r-- | llvm/test/MC/RISCV/rv64a-invalid.s | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/test/MC/RISCV/rv64a-invalid.s b/llvm/test/MC/RISCV/rv64a-invalid.s index 7ab89ff9994..2816f434e47 100644 --- a/llvm/test/MC/RISCV/rv64a-invalid.s +++ b/llvm/test/MC/RISCV/rv64a-invalid.s @@ -1,9 +1,10 @@ # RUN: not llvm-mc -triple riscv64 -mattr=+a < %s 2>&1 | FileCheck %s # Final operand must have parentheses -amoswap.d a1, a2, a3 # CHECK: :[[@LINE]]:19: error: invalid operand for instruction -amomin.d a1, a2, 1 # CHECK: :[[@LINE]]:18: error: invalid operand for instruction -lr.d a4, a5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction +amoswap.d a1, a2, a3 # CHECK: :[[@LINE]]:19: error: expected '(' or optional integer offset +amomin.d a1, a2, 1 # CHECK: :[[@LINE]]:20: error: expected '(' after optional integer offset +amomin.d a1, a2, 1(a3) # CHECK: :[[@LINE]]:18: error: optional integer offset must be 0 +lr.d a4, a5 # CHECK: :[[@LINE]]:10: error: expected '(' or optional integer offset # Only .aq, .rl, and .aqrl suffixes are valid amoxor.d.rlqa a2, a3, (a4) # CHECK: :[[@LINE]]:1: error: unrecognized instruction mnemonic |