brintos

brintos / llvm-project-archived public Read only

0
0
Text · 688 B · cfa41b6 Raw
10 lines · plain
1# RUN: not llvm-mc -triple riscv32 -mattr=+m < %s 2>&1 | FileCheck %s2 3# RV64M instructions can't be used for RV324mulw ra, sp, gp # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set{{$}}5divw tp, t0, t1 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set{{$}}6divuw t2, s0, s2 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set{{$}}7remw a0, a1, a2 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set{{$}}8remuw a3, a4, a5 # CHECK: :[[@LINE]]:1: error: instruction requires the following: RV64I Base Instruction Set{{$}}9 10