[mips] Add assembler support for .set msa/nomsa directive.
[oota-llvm.git] / test / MC / Mips / msa / set-msa-directive-bad.s
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 2>%t1
2 # RUN: FileCheck %s < %t1
3
4     .set nomsa
5     addvi.b     $w14, $w12, 14 # CHECK: error: instruction requires a CPU feature not currently enabled
6
7     .set msa
8     addvi.h     $w26, $w17, 4 
9     
10     .set nomsa
11     addvi.w     $w19, $w13, 11 # CHECK: error: instruction requires a CPU feature not currently enabled