1 # Instructions that are invalid
3 # RUN: not llvm-mc %s -triple=mips64-unknown-linux -show-encoding -mcpu=mips32r2 \
4 # RUN: -mattr=+eva 2>%t1
5 # RUN: FileCheck %s < %t1
8 cachee
-1, 255($
7) # CHECK: :[[@LINE]]:12: error: expected 5-bit unsigned immediate
9 cachee
32, 255($
7) # CHECK: :[[@LINE]]:12: error: expected 5-bit unsigned immediate
10 prefe
-1, 255($
7) # CHECK: :[[@LINE]]:11: error: expected 5-bit unsigned immediate
11 prefe
32, 255($
7) # CHECK: :[[@LINE]]:11: error: expected 5-bit unsigned immediate
12 lle $
33, 8($
5) # CHECK: :[[@LINE]]:9: error: invalid register number
13 lle $
4, 8($
33) # CHECK: :[[@LINE]]:15: error: invalid register number
14 lle $
4, 512($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
15 lle $
4, -513($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
16 lwe $
33, 8($
5) # CHECK: :[[@LINE]]:9: error: invalid register number
17 lwe $
4, 8($
33) # CHECK: :[[@LINE]]:15: error: invalid register number
18 lwe $
4, 512($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
19 lwe $
4, -513($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
20 sbe $
33, 8($
5) # CHECK: :[[@LINE]]:9: error: invalid register number
21 sbe $
4, 8($
33) # CHECK: :[[@LINE]]:15: error: invalid register number
22 sbe $
4, 512($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
23 sbe $
4, -513($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
24 sce $
33, 8($
5) # CHECK: :[[@LINE]]:9: error: invalid register number
25 sce $
4, 8($
33) # CHECK: :[[@LINE]]:15: error: invalid register number
26 sce $
4, 512($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
27 sce $
4, -513($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
28 she $
33, 8($
5) # CHECK: :[[@LINE]]:9: error: invalid register number
29 she $
4, 8($
33) # CHECK: :[[@LINE]]:15: error: invalid register number
30 she $
4, 512($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
31 she $
4, -513($
5) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
32 swe $
33, 8($
4) # CHECK: :[[@LINE]]:9: error: invalid register number
33 swe $
5, 8($
34) # CHECK: :[[@LINE]]:15: error: invalid register number
34 swe $
5, 512($
4) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset
35 swe $
5, -513($
4) # CHECK: :[[@LINE]]:13: error: expected memory with 9-bit signed offset