llvm-for-llvmta/test/MC/Mips/msa/set-msa-directive-bad.s

12 lines
369 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
# RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
# RUN: FileCheck %s < %t1
.set nomsa
addvi.b $w14, $w12, 14 # CHECK: error: instruction requires a CPU feature not currently enabled
.set msa
addvi.h $w26, $w17, 4
.set nomsa
addvi.w $w19, $w13, 11 # CHECK: error: instruction requires a CPU feature not currently enabled