brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 3731c85 Raw
41 lines · plain
1# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-zalasr < %s 2>&1 | FileCheck -check-prefixes=CHECK %s2 3# CHECK: error: instruction requires the following: RV64I Base Instruction Set{{$}}4ld.aq a1, (t0)5 6# CHECK: error: instruction requires the following: RV64I Base Instruction Set{{$}}7ld.aqrl a1, (t0)8 9# CHECK: error: instruction requires the following: RV64I Base Instruction Set{{$}}10sd.rl a1, (t0)11 12# CHECK: error: instruction requires the following: RV64I Base Instruction Set{{$}}13sd.aqrl a1, (t0)14 15# CHECK: error: unrecognized instruction mnemonic16lw. a1, (t0)17 18# CHECK: error: unrecognized instruction mnemonic19lw.rl t3, 0(t5)20 21# CHECK: error: unrecognized instruction mnemonic22lh.rlaq t4, (t6)23 24# CHECK: error: unrecognized instruction mnemonic25sb. a1, (t0)26 27# CHECK: error: unrecognized instruction mnemonic28sh.aq t3, 0(t5)29 30# CHECK: error: unrecognized instruction mnemonic31sh.rlaq t4, (t6)32 33# CHECK: error: optional integer offset must be 034lw.aq zero, 1(a0)35 36# CHECK: error: optional integer offset must be 037sw.rl t1, 2(s0)38 39# CHECK: error: optional integer offset must be 040sb.aqrl sp, 3(s2)41