1 # Instructions that are invalid
3 # RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r6 \
5 # RUN: FileCheck %s < %t1
8 bc2f
4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
9 bc2t
4 # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
10 lwl $s4
,-4231($
15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
11 lwr $zero
,-19147($gp
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
12 swl $
15,13694($s3
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
13 swr $s1
,-26590($
14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
14 lwle $s4
,-4231($
15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
15 lwre $zero
,-19147($gp
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
16 swle $
15,13694($s3
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
17 swre $
24, 5($
3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
18 swre $s1
,-26590($
14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
19 lwc3 $
12, 4($
4) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
20 swc3 $
12, 4($
4) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction