linux-packaging-mono/external/llvm/test/MC/Mips/msa/set-msa-directive-bad.s
Xamarin Public Jenkins (auto-signing) 8e12397d70 Imported Upstream version 5.18.0.205
Former-commit-id: 7f59f7e792705db773f1caecdaa823092f4e2927
2018-11-16 08:20:38 +00:00

12 lines
369 B
ArmAsm

# 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