xref: /aosp_15_r20/external/llvm/test/MC/Mips/set-nodsp.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1# RUN: not llvm-mc %s -mcpu=mips32 -mattr=+dsp -triple mips-unknown-linux 2>%t1
2# RUN: FileCheck %s < %t1
3
4  lbux    $7, $10($11)
5
6  .set nodsp
7  lbux    $6, $10($11)
8  # CHECK: error: instruction requires a CPU feature not currently enabled
9
10  .set dsp
11  lbux    $5, $10($11)
12  # CHECK-NOT: error: instruction requires a CPU feature not currently enabled
13