1# RUN: not llvm-mc -triple riscv64 -mattr=+experimental-zalasr < %s 2>&1 | FileCheck -check-prefixes=CHECK %s 2 3# CHECK: error: unrecognized instruction mnemonic 4lw. a1, (t0) 5 6# CHECK: error: unrecognized instruction mnemonic 7lw.rl t3, 0(t5) 8 9# CHECK: error: unrecognized instruction mnemonic 10lh.rlaq t4, (t6) 11 12# CHECK: error: unrecognized instruction mnemonic 13sb. a1, (t0) 14 15# CHECK: error: unrecognized instruction mnemonic 16sh.aq t3, 0(t5) 17 18# CHECK: error: unrecognized instruction mnemonic 19sh.rlaq t4, (t6) 20 21# CHECK: error: optional integer offset must be 0 22lw.aq zero, 1(a0) 23 24# CHECK: error: optional integer offset must be 0 25sw.rl t1, 2(s0) 26 27# CHECK: error: optional integer offset must be 0 28sb.aqrl sp, 3(s2) 29