1 # Instructions that are invalid
3 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 \
5 # RUN: FileCheck %s < %t1
8 ldl $s4
,-4231($
15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
9 ldr $zero
,-19147($gp
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
10 sdl $
15,13694($s3
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
11 sdr $s1
,-26590($
14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
12 ldle $s4
,-4231($
15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
13 ldre $zero
,-19147($gp
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
14 sdle $
15,13694($s3
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
15 sdre $s1
,-26590($
14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: unknown instruction
16 lwl $s4
,-4231($
15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
17 lwr $zero
,-19147($gp
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
18 swl $
15,13694($s3
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
19 swr $s1
,-26590($
14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
20 lwle $s4
,-4231($
15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
21 lwre $zero
,-19147($gp
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
22 swle $
15,13694($s3
) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction
23 swre $s1
,-26590($
14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: invalid operand for instruction