1# Instructions that are invalid as they were removed in R6 2# 3# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r6 -mattr=+eva 2>%t1 4# RUN: FileCheck %s < %t1 5# RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips64r6 -mattr=+eva 2>%t1 6# RUN: FileCheck %s < %t1 7 8 .set noat 9 lwle $s6,255($15) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 10 lwle $s7,-256($10) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 11 lwle $s7,-176($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 12 lwre $zero,255($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 13 lwre $zero,-256($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 14 lwre $zero,-176($gp) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 15 swle $9,255($s1) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 16 swle $10,-256($s3) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 17 swle $8,131($s5) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 18 swre $s4,255($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 19 swre $s4,-256($13) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 20 swre $s2,86($14) # CHECK: :[[@LINE]]:{{[0-9]+}}: error: expected memory with 9-bit signed offset 21 lle $33, 8($5) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction 22 lle $4, 8($33) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 23 lle $4, 512($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 24 lle $4, -513($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 25 lwe $33, 8($5) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction 26 lwe $4, 8($33) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 27 lwe $4, 512($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 28 lwe $4, -513($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 29 sbe $33, 8($5) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction 30 sbe $4, 8($33) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 31 sbe $4, 512($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 32 sbe $4, -513($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 33 sce $33, 8($5) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction 34 sce $4, 8($33) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 35 sce $4, 512($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 36 sce $4, -513($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 37 she $33, 8($5) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction 38 she $4, 8($33) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 39 she $4, 512($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 40 she $4, -513($5) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 41 swe $33, 8($4) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction 42 swe $5, 8($34) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 43 swe $5, 512($4) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 44 swe $5, -513($4) # CHECK: :[[@LINE]]:23: error: expected memory with 9-bit signed offset 45