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 11 12 .text 13foo: 14 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 23 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 32