[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / Mips / set-nodsp.s
blob9ded5f663b780940834bcc212fb5af53e5e8fff0
1 # RUN: not llvm-mc %s -mcpu=mips32 -mattr=+dspr2 -triple mips-unknown-linux 2>%t1
2 # RUN: FileCheck %s < %t1
4 lbux $7, $10($11)
5 append $4, $10, 2
7 .set nodsp
8 lbux $6, $10($11)
9 # CHECK: error: instruction requires a CPU feature not currently enabled
11 .set dsp
12 lbux $5, $10($11)
13 # CHECK-NOT: error: instruction requires a CPU feature not currently enabled
15 .set nodsp
16 append $3, $10, 2
17 # CHECK: error: instruction requires a CPU feature not currently enabled
19 .set dspr2
20 append $2, $10, 2
21 # CHECK-NOT: error: instruction requires a CPU feature not currently enabled