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
16 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
18 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
20 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
22 # CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction requires a CPU feature not currently enabled
25 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
27 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
29 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled
31 # CHECK: [[@LINE-1]]:3: error: instruction requires a CPU feature not currently enabled