[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / Mips / rotations32-bad.s
blob600000e7caef6d0346900b89b291c64b1e2f52c0
1 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32 -show-encoding 2> %t1
2 # RUN: FileCheck %s < %t1
3 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r2 -show-encoding 2> %t1
4 # RUN: FileCheck %s < %t1
5 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r3 -show-encoding 2> %t1
6 # RUN: FileCheck %s < %t1
7 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r5 -show-encoding 2> %t1
8 # RUN: FileCheck %s < %t1
9 # RUN: not llvm-mc %s -arch=mips -mcpu=mips32r6 -show-encoding 2> %t1
10 # RUN: FileCheck %s < %t1
12 .text
13 foo:
15 drol $4,$5
16 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
17 drol $4,$5,$6
18 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
19 drol $4,0
20 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
21 drol $4,$5,0
22 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
24 dror $4,$5
25 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
26 dror $4,$5,$6
27 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
28 dror $4,0
29 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
30 dror $4,$5,0
31 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled