1 # RUN: not llvm-mc %s -triple=mipsel-unknown-linux -mcpu=mips32r2 -mattr=+msa -arch=mips -mattr=+micromips 2>&1 | FileCheck %s
3 # CHECK: error: branch to misaligned address
5 # CHECK: error: branch target out of range
7 # CHECK: error: branch to misaligned address
9 # CHECK: error: branch target out of range
12 # CHECK: error: branch to misaligned address
13 # CHECK: beq $1, $1, -65535
14 # CHECK: error: branch target out of range
15 # CHECK: beq $1, $1, -65537
16 # CHECK: error: branch to misaligned address
17 # CHECK: beq $1, $1, 65535
18 # CHECK: error: branch target out of range
19 # CHECK: beq $1, $1, 65536
21 # CHECK: error: branch to misaligned address
22 # CHECK: bne $1, $1, -65535
23 # CHECK: error: branch target out of range
24 # CHECK: bne $1, $1, -65537
25 # CHECK: error: branch to misaligned address
26 # CHECK: bne $1, $1, 65535
27 # CHECK: error: branch target out of range
28 # CHECK: bne $1, $1, 65536
30 # CHECK: error: branch to misaligned address
32 # CHECK: error: branch target out of range
34 # CHECK: error: branch to misaligned address
36 # CHECK: error: branch target out of range
39 # CHECK: error: branch to misaligned address
40 # CHECK: bgez $1, -65535
41 # CHECK: error: branch target out of range
42 # CHECK: bgez $1, -65537
43 # CHECK: error: branch to misaligned address
44 # CHECK: bgez $1, 65535
45 # CHECK: error: branch target out of range
46 # CHECK: bgez $1, 65536
48 # CHECK: error: branch to misaligned address
49 # CHECK: bgtz $1, -65535
50 # CHECK: error: branch target out of range
51 # CHECK: bgtz $1, -65537
52 # CHECK: error: branch to misaligned address
53 # CHECK: bgtz $1, 65535
54 # CHECK: error: branch target out of range
55 # CHECK: bgtz $1, 65536
57 # CHECK: error: branch to misaligned address
58 # CHECK: blez $1, -65535
59 # CHECK: error: branch target out of range
60 # CHECK: blez $1, -65537
61 # CHECK: error: branch to misaligned address
62 # CHECK: blez $1, 65535
63 # CHECK: error: branch target out of range
64 # CHECK: blez $1, 65536
66 # CHECK: error: branch to misaligned address
67 # CHECK: bltz $1, -65535
68 # CHECK: error: branch target out of range
69 # CHECK: bltz $1, -65537
70 # CHECK: error: branch to misaligned address
71 # CHECK: bltz $1, 65535
72 # CHECK: error: branch target out of range
73 # CHECK: bltz $1, 65536
75 # CHECK: error: branch to misaligned address
76 # CHECK: bgezal $1, -65535
77 # CHECK: error: branch target out of range
78 # CHECK: bgezal $1, -65537
79 # CHECK: error: branch to misaligned address
80 # CHECK: bgezal $1, 65535
81 # CHECK: error: branch target out of range
82 # CHECK: bgezal $1, 65536
84 # CHECK: error: branch to misaligned address
85 # CHECK: bltzal $1, -65535
86 # CHECK: error: branch target out of range
87 # CHECK: bltzal $1, -65537
88 # CHECK: error: branch to misaligned address
89 # CHECK: bltzal $1, 65535
90 # CHECK: error: branch target out of range
91 # CHECK: bltzal $1, 65536
93 # CHECK: error: branch to misaligned address
95 # CHECK: error: branch target out of range
97 # CHECK: error: branch to misaligned address
99 # CHECK: error: branch target out of range
102 # CHECK: error: branch to misaligned address
103 # CHECK: bc1f $fcc0, -65535
104 # CHECK: error: branch target out of range
105 # CHECK: bc1f $fcc0, -65537
106 # CHECK: error: branch to misaligned address
107 # CHECK: bc1f $fcc0, 65535
108 # CHECK: error: branch target out of range
109 # CHECK: bc1f $fcc0, 65536
111 # CHECK: error: branch to misaligned address
113 # CHECK: error: branch target out of range
115 # CHECK: error: branch to misaligned address
117 # CHECK: error: branch target out of range
120 # CHECK: error: branch to misaligned address
121 # CHECK: bc1t $fcc0, -65535
122 # CHECK: error: branch target out of range
123 # CHECK: bc1t $fcc0, -65537
124 # CHECK: error: branch to misaligned address
125 # CHECK: bc1t $fcc0, 65535
126 # CHECK: error: branch target out of range
127 # CHECK: bc1t $fcc0, 65536
129 # CHECK: error: branch to misaligned address
130 # CHECK: beqz16 $6, 31
131 # CHECK: error: branch target out of range
132 # CHECK: beqz16 $6, 130