|
1 |
| -# RUN: llvm-mc --triple=loongarch64 < %s --show-encoding \ |
2 |
| -# RUN: | FileCheck --check-prefixes=INSTR,FIXUP %s |
3 |
| -# RUN: llvm-mc --filetype=obj --triple=loongarch64 < %s \ |
| 1 | +# RUN: llvm-mc --triple=loongarch64 %s --show-encoding \ |
| 2 | +# RUN: | FileCheck --check-prefix=INSTR %s |
| 3 | +# RUN: llvm-mc --filetype=obj --triple=loongarch64 %s \ |
4 | 4 | # RUN: | llvm-readobj -r - | FileCheck --check-prefix=RELOC %s
|
5 | 5 |
|
6 | 6 | ## Check prefixes:
|
7 | 7 | ## RELOC - Check the relocation in the object.
|
8 |
| -## FIXUP - Check the fixup on the instruction. |
9 | 8 | ## INSTR - Check the instruction is handled properly by the ASMPrinter.
|
10 | 9 |
|
11 | 10 | .long foo
|
|
17 | 16 | bne $t1, $t2, %b16(foo)
|
18 | 17 | # RELOC: R_LARCH_B16
|
19 | 18 | # INSTR: bne $t1, $t2, %b16(foo)
|
20 |
| -# FIXUP: fixup A - offset: 0, value: %b16(foo), kind: fixup_loongarch_b16 |
21 | 19 |
|
22 | 20 | bnez $t1, %b21(foo)
|
23 | 21 | # RELOC: R_LARCH_B21
|
24 | 22 | # INSTR: bnez $t1, %b21(foo)
|
25 |
| -# FIXUP: fixup A - offset: 0, value: %b21(foo), kind: fixup_loongarch_b21 |
26 | 23 |
|
27 | 24 | bl %plt(foo)
|
28 | 25 | # RELOC: R_LARCH_B26
|
29 | 26 | # INSTR: bl %plt(foo)
|
30 |
| -# FIXUP: fixup A - offset: 0, value: %plt(foo), kind: fixup_loongarch_b26 |
31 | 27 |
|
32 | 28 | bl foo
|
33 | 29 | # RELOC: R_LARCH_B26
|
34 | 30 | # INSTR: bl foo
|
35 |
| -# FIXUP: fixup A - offset: 0, value: foo, kind: fixup_loongarch_b26 |
36 | 31 |
|
37 | 32 | lu12i.w $t1, %abs_hi20(foo)
|
38 | 33 | # RELOC: R_LARCH_ABS_HI20 foo 0x0
|
39 | 34 | # INSTR: lu12i.w $t1, %abs_hi20(foo)
|
40 |
| -# FIXUP: fixup A - offset: 0, value: %abs_hi20(foo), kind: fixup_loongarch_abs_hi20 |
41 | 35 |
|
42 | 36 | ori $t1, $t1, %abs_lo12(foo)
|
43 | 37 | # RELOC: R_LARCH_ABS_LO12 foo 0x0
|
44 | 38 | # INSTR: ori $t1, $t1, %abs_lo12(foo)
|
45 |
| -# FIXUP: fixup A - offset: 0, value: %abs_lo12(foo), kind: fixup_loongarch_abs_lo12 |
46 | 39 |
|
47 | 40 | lu32i.d $t1, %abs64_lo20(foo)
|
48 | 41 | # RELOC: R_LARCH_ABS64_LO20 foo 0x0
|
49 | 42 | # INSTR: lu32i.d $t1, %abs64_lo20(foo)
|
50 |
| -# FIXUP: fixup A - offset: 0, value: %abs64_lo20(foo), kind: fixup_loongarch_abs64_lo20 |
51 | 43 |
|
52 | 44 | lu52i.d $t1, $t1, %abs64_hi12(foo)
|
53 | 45 | # RELOC: R_LARCH_ABS64_HI12 foo 0x0
|
54 | 46 | # INSTR: lu52i.d $t1, $t1, %abs64_hi12(foo)
|
55 |
| -# FIXUP: fixup A - offset: 0, value: %abs64_hi12(foo), kind: fixup_loongarch_abs64_hi12 |
56 | 47 |
|
57 | 48 | pcalau12i $t1, %pc_hi20(foo)
|
58 | 49 | # RELOC: R_LARCH_PCALA_HI20 foo 0x0
|
59 | 50 | # INSTR: pcalau12i $t1, %pc_hi20(foo)
|
60 |
| -# FIXUP: fixup A - offset: 0, value: %pc_hi20(foo), kind: FK_NONE |
61 | 51 |
|
62 | 52 | pcalau12i $t1, %pc_hi20(foo+4)
|
63 | 53 | # RELOC: R_LARCH_PCALA_HI20 foo 0x4
|
64 | 54 | # INSTR: pcalau12i $t1, %pc_hi20(foo+4)
|
65 |
| -# FIXUP: fixup A - offset: 0, value: %pc_hi20(foo+4), kind: FK_NONE |
66 | 55 |
|
67 | 56 | addi.d $t1, $t1, %pc_lo12(foo)
|
68 | 57 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
69 | 58 | # INSTR: addi.d $t1, $t1, %pc_lo12(foo)
|
70 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
71 | 59 |
|
72 | 60 | addi.d $t1, $t1, %pc_lo12(foo+4)
|
73 | 61 | # RELOC: R_LARCH_PCALA_LO12 foo 0x4
|
74 | 62 | # INSTR: addi.d $t1, $t1, %pc_lo12(foo+4)
|
75 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo+4), kind: FK_NONE |
76 | 63 |
|
77 | 64 | jirl $zero, $t1, %pc_lo12(foo)
|
78 | 65 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
79 | 66 | # INSTR: jirl $zero, $t1, %pc_lo12(foo)
|
80 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
81 | 67 |
|
82 | 68 | st.b $t1, $a2, %pc_lo12(foo)
|
83 | 69 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
84 | 70 | # INSTR: st.b $t1, $a2, %pc_lo12(foo)
|
85 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
86 | 71 |
|
87 | 72 | st.b $t1, $a2, %pc_lo12(foo+4)
|
88 | 73 | # RELOC: R_LARCH_PCALA_LO12 foo 0x4
|
89 | 74 | # INSTR: st.b $t1, $a2, %pc_lo12(foo+4)
|
90 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo+4), kind: FK_NONE |
91 | 75 |
|
92 | 76 | lu32i.d $t1, %pc64_lo20(foo)
|
93 | 77 | # RELOC: R_LARCH_PCALA64_LO20 foo 0x0
|
94 | 78 | # INSTR: lu32i.d $t1, %pc64_lo20(foo)
|
95 |
| -# FIXUP: fixup A - offset: 0, value: %pc64_lo20(foo), kind: FK_NONE |
96 | 79 |
|
97 | 80 | lu52i.d $t1, $t1, %pc64_hi12(foo)
|
98 | 81 | # RELOC: R_LARCH_PCALA64_HI12 foo 0x0
|
99 | 82 | # INSTR: lu52i.d $t1, $t1, %pc64_hi12(foo)
|
100 |
| -# FIXUP: fixup A - offset: 0, value: %pc64_hi12(foo), kind: FK_NONE |
101 | 83 |
|
102 | 84 | pcalau12i $t1, %got_pc_hi20(foo)
|
103 | 85 | # RELOC: R_LARCH_GOT_PC_HI20 foo 0x0
|
104 | 86 | # INSTR: pcalau12i $t1, %got_pc_hi20(foo)
|
105 |
| -# FIXUP: fixup A - offset: 0, value: %got_pc_hi20(foo), kind: FK_NONE |
106 | 87 |
|
107 | 88 | ld.d $t1, $a2, %got_pc_lo12(foo)
|
108 | 89 | # RELOC: R_LARCH_GOT_PC_LO12 foo 0x0
|
109 | 90 | # INSTR: ld.d $t1, $a2, %got_pc_lo12(foo)
|
110 |
| -# FIXUP: fixup A - offset: 0, value: %got_pc_lo12(foo), kind: FK_NONE |
111 | 91 |
|
112 | 92 | lu32i.d $t1, %got64_pc_lo20(foo)
|
113 | 93 | # RELOC: R_LARCH_GOT64_PC_LO20 foo 0x0
|
114 | 94 | # INSTR: lu32i.d $t1, %got64_pc_lo20(foo)
|
115 |
| -# FIXUP: fixup A - offset: 0, value: %got64_pc_lo20(foo), kind: FK_NONE |
116 | 95 |
|
117 | 96 | lu52i.d $t1, $t1, %got64_pc_hi12(foo)
|
118 | 97 | # RELOC: R_LARCH_GOT64_PC_HI12 foo 0x0
|
119 | 98 | # INSTR: lu52i.d $t1, $t1, %got64_pc_hi12(foo)
|
120 |
| -# FIXUP: fixup A - offset: 0, value: %got64_pc_hi12(foo), kind: FK_NONE |
121 | 99 |
|
122 | 100 | lu12i.w $t1, %got_hi20(foo)
|
123 | 101 | # RELOC: R_LARCH_GOT_HI20 foo 0x0
|
124 | 102 | # INSTR: lu12i.w $t1, %got_hi20(foo)
|
125 |
| -# FIXUP: fixup A - offset: 0, value: %got_hi20(foo), kind: FK_NONE |
126 | 103 |
|
127 | 104 | ori $t1, $a2, %got_lo12(foo)
|
128 | 105 | # RELOC: R_LARCH_GOT_LO12 foo 0x0
|
129 | 106 | # INSTR: ori $t1, $a2, %got_lo12(foo)
|
130 |
| -# FIXUP: fixup A - offset: 0, value: %got_lo12(foo), kind: FK_NONE |
131 | 107 |
|
132 | 108 | lu32i.d $t1, %got64_lo20(foo)
|
133 | 109 | # RELOC: R_LARCH_GOT64_LO20 foo 0x0
|
134 | 110 | # INSTR: lu32i.d $t1, %got64_lo20(foo)
|
135 |
| -# FIXUP: fixup A - offset: 0, value: %got64_lo20(foo), kind: FK_NONE |
136 | 111 |
|
137 | 112 | lu52i.d $t1, $t1, %got64_hi12(foo)
|
138 | 113 | # RELOC: R_LARCH_GOT64_HI12 foo 0x0
|
139 | 114 | # INSTR: lu52i.d $t1, $t1, %got64_hi12(foo)
|
140 |
| -# FIXUP: fixup A - offset: 0, value: %got64_hi12(foo), kind: FK_NONE |
141 | 115 |
|
142 | 116 | lu12i.w $t1, %le_hi20(foo)
|
143 | 117 | # RELOC: R_LARCH_TLS_LE_HI20 foo 0x0
|
144 | 118 | # INSTR: lu12i.w $t1, %le_hi20(foo)
|
145 |
| -# FIXUP: fixup A - offset: 0, value: %le_hi20(foo), kind: fixup_loongarch_tls_le_hi20 |
146 | 119 |
|
147 | 120 | ori $t1, $a2, %le_lo12(foo)
|
148 | 121 | # RELOC: R_LARCH_TLS_LE_LO12 foo 0x0
|
149 | 122 | # INSTR: ori $t1, $a2, %le_lo12(foo)
|
150 |
| -# FIXUP: fixup A - offset: 0, value: %le_lo12(foo), kind: fixup_loongarch_tls_le_lo12 |
151 | 123 |
|
152 | 124 | lu32i.d $t1, %le64_lo20(foo)
|
153 | 125 | # RELOC: R_LARCH_TLS_LE64_LO20 foo 0x0
|
154 | 126 | # INSTR: lu32i.d $t1, %le64_lo20(foo)
|
155 |
| -# FIXUP: fixup A - offset: 0, value: %le64_lo20(foo), kind: fixup_loongarch_tls_le64_lo20 |
156 | 127 |
|
157 | 128 | lu52i.d $t1, $t1, %le64_hi12(foo)
|
158 | 129 | # RELOC: R_LARCH_TLS_LE64_HI12 foo 0x0
|
159 | 130 | # INSTR: lu52i.d $t1, $t1, %le64_hi12(foo)
|
160 |
| -# FIXUP: fixup A - offset: 0, value: %le64_hi12(foo), kind: fixup_loongarch_tls_le64_hi12 |
161 | 131 |
|
162 | 132 | pcalau12i $t1, %ie_pc_hi20(foo)
|
163 | 133 | # RELOC: R_LARCH_TLS_IE_PC_HI20 foo 0x0
|
164 | 134 | # INSTR: pcalau12i $t1, %ie_pc_hi20(foo)
|
165 |
| -# FIXUP: fixup A - offset: 0, value: %ie_pc_hi20(foo), kind: FK_NONE |
166 | 135 |
|
167 | 136 | ld.d $t1, $a2, %ie_pc_lo12(foo)
|
168 | 137 | # RELOC: R_LARCH_TLS_IE_PC_LO12 foo 0x0
|
169 | 138 | # INSTR: ld.d $t1, $a2, %ie_pc_lo12(foo)
|
170 |
| -# FIXUP: fixup A - offset: 0, value: %ie_pc_lo12(foo), kind: FK_NONE |
171 | 139 |
|
172 | 140 | lu32i.d $t1, %ie64_pc_lo20(foo)
|
173 | 141 | # RELOC: R_LARCH_TLS_IE64_PC_LO20 foo 0x0
|
174 | 142 | # INSTR: lu32i.d $t1, %ie64_pc_lo20(foo)
|
175 |
| -# FIXUP: fixup A - offset: 0, value: %ie64_pc_lo20(foo), kind: FK_NONE |
176 | 143 |
|
177 | 144 | lu52i.d $t1, $t1, %ie64_pc_hi12(foo)
|
178 | 145 | # RELOC: R_LARCH_TLS_IE64_PC_HI12 foo 0x0
|
179 | 146 | # INSTR: lu52i.d $t1, $t1, %ie64_pc_hi12(foo)
|
180 |
| -# FIXUP: fixup A - offset: 0, value: %ie64_pc_hi12(foo), kind: FK_NONE |
181 | 147 |
|
182 | 148 | lu12i.w $t1, %ie_hi20(foo)
|
183 | 149 | # RELOC: R_LARCH_TLS_IE_HI20 foo 0x0
|
184 | 150 | # INSTR: lu12i.w $t1, %ie_hi20(foo)
|
185 |
| -# FIXUP: fixup A - offset: 0, value: %ie_hi20(foo), kind: FK_NONE |
186 | 151 |
|
187 | 152 | ori $t1, $a2, %ie_lo12(foo)
|
188 | 153 | # RELOC: R_LARCH_TLS_IE_LO12 foo 0x0
|
189 | 154 | # INSTR: ori $t1, $a2, %ie_lo12(foo)
|
190 |
| -# FIXUP: fixup A - offset: 0, value: %ie_lo12(foo), kind: FK_NONE |
191 | 155 |
|
192 | 156 | lu32i.d $t1, %ie64_lo20(foo)
|
193 | 157 | # RELOC: R_LARCH_TLS_IE64_LO20 foo 0x0
|
194 | 158 | # INSTR: lu32i.d $t1, %ie64_lo20(foo)
|
195 |
| -# FIXUP: fixup A - offset: 0, value: %ie64_lo20(foo), kind: FK_NONE |
196 | 159 |
|
197 | 160 | lu52i.d $t1, $t1, %ie64_hi12(foo)
|
198 | 161 | # RELOC: R_LARCH_TLS_IE64_HI12 foo 0x0
|
199 | 162 | # INSTR: lu52i.d $t1, $t1, %ie64_hi12(foo)
|
200 |
| -# FIXUP: fixup A - offset: 0, value: %ie64_hi12(foo), kind: FK_NONE |
201 | 163 |
|
202 | 164 | pcalau12i $t1, %ld_pc_hi20(foo)
|
203 | 165 | # RELOC: R_LARCH_TLS_LD_PC_HI20 foo 0x0
|
204 | 166 | # INSTR: pcalau12i $t1, %ld_pc_hi20(foo)
|
205 |
| -# FIXUP: fixup A - offset: 0, value: %ld_pc_hi20(foo), kind: FK_NONE |
206 | 167 |
|
207 | 168 | lu12i.w $t1, %ld_hi20(foo)
|
208 | 169 | # RELOC: R_LARCH_TLS_LD_HI20 foo 0x0
|
209 | 170 | # INSTR: lu12i.w $t1, %ld_hi20(foo)
|
210 |
| -# FIXUP: fixup A - offset: 0, value: %ld_hi20(foo), kind: FK_NONE |
211 | 171 |
|
212 | 172 | pcalau12i $t1, %gd_pc_hi20(foo)
|
213 | 173 | # RELOC: R_LARCH_TLS_GD_PC_HI20 foo 0x0
|
214 | 174 | # INSTR: pcalau12i $t1, %gd_pc_hi20(foo)
|
215 |
| -# FIXUP: fixup A - offset: 0, value: %gd_pc_hi20(foo), kind: FK_NONE |
216 | 175 |
|
217 | 176 | lu12i.w $t1, %gd_hi20(foo)
|
218 | 177 | # RELOC: R_LARCH_TLS_GD_HI20 foo 0x0
|
219 | 178 | # INSTR: lu12i.w $t1, %gd_hi20(foo)
|
220 |
| -# FIXUP: fixup A - offset: 0, value: %gd_hi20(foo), kind: FK_NONE |
221 | 179 |
|
222 | 180 | pcaddu18i $t1, %call36(foo)
|
223 | 181 | # RELOC: R_LARCH_CALL36 foo 0x0
|
224 | 182 | # INSTR: pcaddu18i $t1, %call36(foo)
|
225 |
| -# FIXUP: fixup A - offset: 0, value: %call36(foo), kind: FK_NONE |
226 | 183 |
|
227 | 184 | pcalau12i $t1, %desc_pc_hi20(foo)
|
228 | 185 | # RELOC: R_LARCH_TLS_DESC_PC_HI20 foo 0x0
|
229 | 186 | # INSTR: pcalau12i $t1, %desc_pc_hi20(foo)
|
230 |
| -# FIXUP: fixup A - offset: 0, value: %desc_pc_hi20(foo), kind: FK_NONE |
231 | 187 |
|
232 | 188 | addi.d $t1, $t1, %desc_pc_lo12(foo)
|
233 | 189 | # RELOC: R_LARCH_TLS_DESC_PC_LO12 foo 0x0
|
234 | 190 | # INSTR: addi.d $t1, $t1, %desc_pc_lo12(foo)
|
235 |
| -# FIXUP: fixup A - offset: 0, value: %desc_pc_lo12(foo), kind: FK_NONE |
236 | 191 |
|
237 | 192 | lu32i.d $t1, %desc64_pc_lo20(foo)
|
238 | 193 | # RELOC: R_LARCH_TLS_DESC64_PC_LO20 foo 0x0
|
239 | 194 | # INSTR: lu32i.d $t1, %desc64_pc_lo20(foo)
|
240 |
| -# FIXUP: fixup A - offset: 0, value: %desc64_pc_lo20(foo), kind: FK_NONE |
241 | 195 |
|
242 | 196 | lu52i.d $t1, $t1, %desc64_pc_hi12(foo)
|
243 | 197 | # RELOC: R_LARCH_TLS_DESC64_PC_HI12 foo 0x0
|
244 | 198 | # INSTR: lu52i.d $t1, $t1, %desc64_pc_hi12(foo)
|
245 |
| -# FIXUP: fixup A - offset: 0, value: %desc64_pc_hi12(foo), kind: FK_NONE |
246 | 199 |
|
247 | 200 | ld.d $ra, $t1, %desc_ld(foo)
|
248 | 201 | # RELOC: R_LARCH_TLS_DESC_LD foo 0x0
|
249 | 202 | # INSTR: ld.d $ra, $t1, %desc_ld(foo)
|
250 |
| -# FIXUP: fixup A - offset: 0, value: %desc_ld(foo), kind: FK_NONE |
251 | 203 |
|
252 | 204 | jirl $ra, $ra, %desc_call(foo)
|
253 | 205 | # RELOC: R_LARCH_TLS_DESC_CALL foo 0x0
|
254 | 206 | # INSTR: jirl $ra, $ra, %desc_call(foo)
|
255 |
| -# FIXUP: fixup A - offset: 0, value: %desc_call(foo), kind: FK_NONE |
256 | 207 |
|
257 | 208 | lu12i.w $t1, %desc_hi20(foo)
|
258 | 209 | # RELOC: R_LARCH_TLS_DESC_HI20 foo 0x0
|
259 | 210 | # INSTR: lu12i.w $t1, %desc_hi20(foo)
|
260 |
| -# FIXUP: fixup A - offset: 0, value: %desc_hi20(foo), kind: FK_NONE |
261 | 211 |
|
262 | 212 | ori $t1, $t1, %desc_lo12(foo)
|
263 | 213 | # RELOC: R_LARCH_TLS_DESC_LO12 foo 0x0
|
264 | 214 | # INSTR: ori $t1, $t1, %desc_lo12(foo)
|
265 |
| -# FIXUP: fixup A - offset: 0, value: %desc_lo12(foo), kind: FK_NONE |
266 | 215 |
|
267 | 216 | lu32i.d $t1, %desc64_lo20(foo)
|
268 | 217 | # RELOC: R_LARCH_TLS_DESC64_LO20 foo 0x0
|
269 | 218 | # INSTR: lu32i.d $t1, %desc64_lo20(foo)
|
270 |
| -# FIXUP: fixup A - offset: 0, value: %desc64_lo20(foo), kind: FK_NONE |
271 | 219 |
|
272 | 220 | lu52i.d $t1, $t1, %desc64_hi12(foo)
|
273 | 221 | # RELOC: R_LARCH_TLS_DESC64_HI12 foo 0x0
|
274 | 222 | # INSTR: lu52i.d $t1, $t1, %desc64_hi12(foo)
|
275 |
| -# FIXUP: fixup A - offset: 0, value: %desc64_hi12(foo), kind: FK_NONE |
276 | 223 |
|
277 | 224 | lu12i.w $t1, %le_hi20_r(foo)
|
278 | 225 | # RELOC: R_LARCH_TLS_LE_HI20_R foo 0x0
|
279 | 226 | # INSTR: lu12i.w $t1, %le_hi20_r(foo)
|
280 |
| -# FIXUP: fixup A - offset: 0, value: %le_hi20_r(foo), kind: FK_NONE |
281 | 227 |
|
282 | 228 | add.d $t1, $t2, $tp, %le_add_r(foo)
|
283 | 229 | # RELOC: R_LARCH_TLS_LE_ADD_R foo 0x0
|
284 | 230 | # INSTR: add.d $t1, $t2, $tp, %le_add_r(foo)
|
285 |
| -# FIXUP: fixup A - offset: 0, value: %le_add_r(foo), kind: FK_NONE |
286 | 231 |
|
287 | 232 | addi.d $t1, $a2, %le_lo12_r(foo)
|
288 | 233 | # RELOC: R_LARCH_TLS_LE_LO12_R foo 0x0
|
289 | 234 | # INSTR: addi.d $t1, $a2, %le_lo12_r(foo)
|
290 |
| -# FIXUP: fixup A - offset: 0, value: %le_lo12_r(foo), kind: FK_NONE |
291 | 235 |
|
292 | 236 | pcaddi $t1, %pcrel_20(foo)
|
293 | 237 | # RELOC: R_LARCH_PCREL20_S2 foo 0x0
|
294 | 238 | # INSTR: pcaddi $t1, %pcrel_20(foo)
|
295 |
| -# FIXUP: fixup A - offset: 0, value: %pcrel_20(foo), kind: FK_NONE |
296 | 239 |
|
297 | 240 | pcaddi $t1, %ld_pcrel_20(foo)
|
298 | 241 | # RELOC: R_LARCH_TLS_LD_PCREL20_S2 foo 0x0
|
299 | 242 | # INSTR: pcaddi $t1, %ld_pcrel_20(foo)
|
300 |
| -# FIXUP: fixup A - offset: 0, value: %ld_pcrel_20(foo), kind: FK_NONE |
301 | 243 |
|
302 | 244 | pcaddi $t1, %gd_pcrel_20(foo)
|
303 | 245 | # RELOC: R_LARCH_TLS_GD_PCREL20_S2 foo 0x0
|
304 | 246 | # INSTR: pcaddi $t1, %gd_pcrel_20(foo)
|
305 |
| -# FIXUP: fixup A - offset: 0, value: %gd_pcrel_20(foo), kind: FK_NONE |
306 | 247 |
|
307 | 248 | pcaddi $t1, %desc_pcrel_20(foo)
|
308 | 249 | # RELOC: R_LARCH_TLS_DESC_PCREL20_S2 foo 0x0
|
309 | 250 | # INSTR: pcaddi $t1, %desc_pcrel_20(foo)
|
310 |
| -# FIXUP: fixup A - offset: 0, value: %desc_pcrel_20(foo), kind: FK_NONE |
311 | 251 |
|
312 | 252 | fld.s $ft1, $a0, %pc_lo12(foo)
|
313 | 253 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
314 | 254 | # INSTR: fld.s $ft1, $a0, %pc_lo12(foo)
|
315 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
316 | 255 |
|
317 | 256 | fst.d $ft1, $a0, %pc_lo12(foo)
|
318 | 257 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
319 | 258 | # INSTR: fst.d $ft1, $a0, %pc_lo12(foo)
|
320 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
321 | 259 |
|
322 | 260 | vld $vr9, $a0, %pc_lo12(foo)
|
323 | 261 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
324 | 262 | # INSTR: vld $vr9, $a0, %pc_lo12(foo)
|
325 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
326 | 263 |
|
327 | 264 | vst $vr9, $a0, %pc_lo12(foo)
|
328 | 265 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
329 | 266 | # INSTR: vst $vr9, $a0, %pc_lo12(foo)
|
330 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
331 | 267 |
|
332 | 268 | xvld $xr9, $a0, %pc_lo12(foo)
|
333 | 269 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
334 | 270 | # INSTR: xvld $xr9, $a0, %pc_lo12(foo)
|
335 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
336 | 271 |
|
337 | 272 | xvst $xr9, $a0, %pc_lo12(foo)
|
338 | 273 | # RELOC: R_LARCH_PCALA_LO12 foo 0x0
|
339 | 274 | # INSTR: xvst $xr9, $a0, %pc_lo12(foo)
|
340 |
| -# FIXUP: fixup A - offset: 0, value: %pc_lo12(foo), kind: FK_NONE |
0 commit comments