xref: /aosp_15_r20/external/llvm/test/MC/Mips/rotations32-bad.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc  %s -arch=mips -mcpu=mips32 -show-encoding 2> %t1
2*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s < %t1
3*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc  %s -arch=mips -mcpu=mips32r2 -show-encoding 2> %t1
4*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s < %t1
5*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc  %s -arch=mips -mcpu=mips32r3 -show-encoding 2> %t1
6*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s < %t1
7*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc  %s -arch=mips -mcpu=mips32r5 -show-encoding 2> %t1
8*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s < %t1
9*9880d681SAndroid Build Coastguard Worker# RUN: not llvm-mc  %s -arch=mips -mcpu=mips32r6 -show-encoding 2> %t1
10*9880d681SAndroid Build Coastguard Worker# RUN: FileCheck %s < %t1
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker  .text
13*9880d681SAndroid Build Coastguard Workerfoo:
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard Worker  drol $4,$5
16*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
17*9880d681SAndroid Build Coastguard Worker  drol $4,$5,$6
18*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
19*9880d681SAndroid Build Coastguard Worker  drol $4,0
20*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
21*9880d681SAndroid Build Coastguard Worker  drol $4,$5,0
22*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
23*9880d681SAndroid Build Coastguard Worker
24*9880d681SAndroid Build Coastguard Worker  dror $4,$5
25*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
26*9880d681SAndroid Build Coastguard Worker  dror $4,$5,$6
27*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
28*9880d681SAndroid Build Coastguard Worker  dror $4,0
29*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
30*9880d681SAndroid Build Coastguard Worker  dror $4,$5,0
31*9880d681SAndroid Build Coastguard Worker# CHECK:        [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
32