Home | History | Annotate | Download | only in Mips
      1 # RUN: not llvm-mc %s -mcpu=mips32 -mattr=+dspr2 -triple mips-unknown-linux 2>%t1
      2 # RUN: FileCheck %s < %t1
      3 
      4   lbux    $7, $10($11)
      5   append  $4, $10, 2
      6 
      7   .set nodsp
      8   lbux    $6, $10($11)
      9   # CHECK: error: instruction requires a CPU feature not currently enabled
     10 
     11   .set dsp
     12   lbux    $5, $10($11)
     13   # CHECK-NOT: error: instruction requires a CPU feature not currently enabled
     14 
     15   .set nodsp
     16   append  $3, $10, 2
     17   # CHECK: error: instruction requires a CPU feature not currently enabled
     18 
     19   .set dspr2
     20   append  $2, $10, 2
     21   # CHECK-NOT: error: instruction requires a CPU feature not currently enabled
     22