29 lines · plain
1# RUN: not llvm-mc -triple riscv64 -mattr=+experimental-zalasr < %s 2>&1 | FileCheck -check-prefixes=CHECK %s2 3# CHECK: error: unrecognized instruction mnemonic4lw. a1, (t0)5 6# CHECK: error: unrecognized instruction mnemonic7lw.rl t3, 0(t5)8 9# CHECK: error: unrecognized instruction mnemonic10lh.rlaq t4, (t6)11 12# CHECK: error: unrecognized instruction mnemonic13sb. a1, (t0)14 15# CHECK: error: unrecognized instruction mnemonic16sh.aq t3, 0(t5)17 18# CHECK: error: unrecognized instruction mnemonic19sh.rlaq t4, (t6)20 21# CHECK: error: optional integer offset must be 022lw.aq zero, 1(a0)23 24# CHECK: error: optional integer offset must be 025sw.rl t1, 2(s0)26 27# CHECK: error: optional integer offset must be 028sb.aqrl sp, 3(s2)29