]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/ChangeLog
[PATCH 35/57][Arm][GAS] Add support for MVE instructions: vshlc and vshll
[thirdparty/binutils-gdb.git] / gas / ChangeLog
CommitLineData
acca5630
AV
12019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
2
3 * config/tc-arm.c (do_mve_vshll): New encoding function.
4 (do_mve_vshlc): Likewise.
5 (insns): Add entries for MVE mnemonics.
6 * testsuite/gas/arm/mve-vshlc-bad.d: New test.
7 * testsuite/gas/arm/mve-vshlc-bad.l: New test.
8 * testsuite/gas/arm/mve-vshlc-bad.s: New test.
9 * testsuite/gas/arm/mve-vshll-bad.d: New test.
10 * testsuite/gas/arm/mve-vshll-bad.l: New test.
11 * testsuite/gas/arm/mve-vshll-bad.s: New test.
12
5150f0d8
AV
132019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
14
15 * config/tc-arm.c (enum operand_parse_code): Add new operand.
16 (parse_operands): Handle new operand.
17 (do_neon_shl_imm): Accept MVE variants.
18 (do_neon_shl): Likewise.
19 (do_neon_qshl_imm): Likewise.
20 (do_neon_qshl): Likewise.
21 (do_neon_qshlu_imm): Likewise.
22 (insns): Likewise.
23 * testsuite/gas/arm/mve-vqshl-bad.d: New test.
24 * testsuite/gas/arm/mve-vqshl-bad.l: New test.
25 * testsuite/gas/arm/mve-vqshl-bad.s: New test.
26 * testsuite/gas/arm/mve-vshl-bad.d: New test.
27 * testsuite/gas/arm/mve-vshl-bad.l: New test.
28 * testsuite/gas/arm/mve-vshl-bad.s: New test.
29
4401c241
AV
302019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
31
32 * config/tc-arm.c (do_neon_sli): Accept MVE variants.
33 (do_neon_sri): Likewise.
34 (do_neon_rev): Likewise.
35 (do_neon_rshift_round_imm): Likewise.
36 (insns): Likewise.
37 * testsuite/gas/arm/mve-vrev-bad.d: New test.
38 * testsuite/gas/arm/mve-vrev-bad.l: New test.
39 * testsuite/gas/arm/mve-vrev-bad.s: New test.
40 * testsuite/gas/arm/mve-vshr-bad.d: New test.
41 * testsuite/gas/arm/mve-vshr-bad.l: New test.
42 * testsuite/gas/arm/mve-vshr-bad.s: New test.
43 * testsuite/gas/arm/mve-vsli-bad.d: New test.
44 * testsuite/gas/arm/mve-vsli-bad.l: New test.
45 * testsuite/gas/arm/mve-vsli-bad.s: New test.
46 * testsuite/gas/arm/mve-vsri-bad.d: New test.
47 * testsuite/gas/arm/mve-vsri-bad.l: New test.
48 * testsuite/gas/arm/mve-vsri-bad.s: New test.
49
a710b305
AV
502019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
51
52 * config/tc-arm.c (do_vrint_1): Accept MVE variants.
53 (insns): Change entries to accept MVE variants.
54 * testsuite/gas/arm/mve-vrint-bad.d: New test.
55 * testsuite/gas/arm/mve-vrint-bad.l: New test.
56 * testsuite/gas/arm/mve-vrint-bad.s: New test.
57
4aa88b50
AV
582019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
59
60 * config/tc-arm.c (M_MNEM_vshrnt, M_MNEM_vshrnb, M_MNEM_vrshrnt,
61 M_MNEM_vqshrnt, M_MNEM_vqshrnb, M_MNEM_vqshrunt, M_MNEM_vqshrunb,
62 M_MNEM_vrshrnb, M_MNEM_vqrshrnt, M_MNEM_vqrshrnb, M_MNEM_vqrshrunt,
63 M_MNEM_vqrshrunb): New instruction encodings.
64 (do_mve_vshrn): New encoding function.
65 (insns): Add entries for MVE mnemonics.
66 * testsuite/gas/arm/mve-vqrshrn-bad.d: New test.
67 * testsuite/gas/arm/mve-vqrshrn-bad.l: New test.
68 * testsuite/gas/arm/mve-vqrshrn-bad.s: New test.
69 * testsuite/gas/arm/mve-vshrn-bad.d: New test.
70 * testsuite/gas/arm/mve-vshrn-bad.l: New test.
71 * testsuite/gas/arm/mve-vshrn-bad.s: New test.
72
1be7aba3
AV
732019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
74
75 * config/tc-arm.c (M_MNEM_vqmovnt, M_MNEM_vqmovnb,
76 M_MNEM_vqmovunt, M_MNEM_vqmovunb): New instruction encodings.
77 (do_mve_vqmovn): New encoding function.
78 (do_neon_rshl): Change to accepte MVE variants.
79 (insns): Change entries and add new for MVE mnemonics.
80 * testsuite/gas/arm/mve-vqmovn-bad.d: New test.
81 * testsuite/gas/arm/mve-vqmovn-bad.l: New test.
82 * testsuite/gas/arm/mve-vqmovn-bad.s: New test.
83 * testsuite/gas/arm/mve-vqrshl-bad.d: New test.
84 * testsuite/gas/arm/mve-vqrshl-bad.l: New test.
85 * testsuite/gas/arm/mve-vqrshl-bad.s: New test.
86 * testsuite/gas/arm/mve-vrshl-bad.d: New test.
87 * testsuite/gas/arm/mve-vrshl-bad.l: New test.
88 * testsuite/gas/arm/mve-vrshl-bad.s: New test.
89
35d1cfc2
AV
902019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
91
92 * config/tc-arm.c (enum operand_parse_code): Add new operand.
93 (parse_operands): Handle new operand.
94 (do_mve_vqdmull): New encoding function.
95 (insns): Add entry for MVE mnemonics.
96 * testsuite/gas/arm/mve-vqdmull-bad.d: New test.
97 * testsuite/gas/arm/mve-vqdmull-bad.l: New test.
98 * testsuite/gas/arm/mve-vqdmull-bad.s: New test.
99
42b16635
AV
1002019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
101
102 * config/tc-arm.c (enum operand_parse_code): Add new operand.
103 (parse_operands): Handle new operand.
104 (mve_encode_qqr): Handle new instructions.
105 (do_neon_qdmulh): Add support for MVE variants.
106 (do_neon_qrdmlah): Likewise.
107 (do_mve_vqdmlah): New encoding function.
108 (insns): Change entries and add new entries for MVE mnemonics.
109 * testsuite/gas/arm/mve-vqdmulh-bad.d: New test.
110 * testsuite/gas/arm/mve-vqdmulh-bad.l: New test.
111 * testsuite/gas/arm/mve-vqdmulh-bad.s: New test.
112
8b8b22a4
AV
1132019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
114
115 * config/tc-arm.c (do_mve_vqdmladh): New encoding function.
116 (insns): Add entries for MVE mnemonics.
117 * testsuite/gas/arm/mve-vqdmladh-bad.d: New test.
118 * testsuite/gas/arm/mve-vqdmladh-bad.l: New test.
119 * testsuite/gas/arm/mve-vqdmladh-bad.s: New test.
120 * testsuite/gas/arm/mve-vqdmlsdh-bad.d: New test.
121 * testsuite/gas/arm/mve-vqdmlsdh-bad.l: New test.
122 * testsuite/gas/arm/mve-vqdmlsdh-bad.s: New test.
123
3063888e
AV
1242019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
125
126 * config/tc-arm.c (do_mve_vpsel): New encoding function.
127 (do_mve_vpnot): Likewise.
128 (insns): Add entries for MVE mnemonics.
129 * testsuite/gas/arm/mve-vpnot-bad.d: New test.
130 * testsuite/gas/arm/mve-vpnot-bad.l: New test.
131 * testsuite/gas/arm/mve-vpnot-bad.s: New test.
132 * testsuite/gas/arm/mve-vpsel-bad.d: New test.
133 * testsuite/gas/arm/mve-vpsel-bad.l: New test.
134 * testsuite/gas/arm/mve-vpsel-bad.s: New test.
135
1a186d29
AV
1362019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
137
138 * config/tc-arm.c (do_neon_mvn): Change to accept MVE variants.
139 (do_neon_sat_abs_neg): Likewise.
140 (insns): Likewise.
141 * testsuite/gas/arm/mve-vmvn-bad.d: New test.
142 * testsuite/gas/arm/mve-vmvn-bad.l: New test.
143 * testsuite/gas/arm/mve-vmvn-bad.s: New test.
144 * testsuite/gas/arm/mve-vqabsneg-bad.d: New test.
145 * testsuite/gas/arm/mve-vqabsneg-bad.l: New test.
146 * testsuite/gas/arm/mve-vqabsneg-bad.s: New test.
147
2d78f95b
AV
1482019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
149
150 * config/tc-arm.c (do_mve_vmlas): New encoding function.
151 (do_mve_vmulh): Likewise.
152 (insns): Add entries for MVE mnemonics.
153 * testsuite/gas/arm/mve-vmlas-bad.d: New test.
154 * testsuite/gas/arm/mve-vmlas-bad.l: New test.
155 * testsuite/gas/arm/mve-vmlas-bad.s: New test.
156 * testsuite/gas/arm/mve-vmulh-bad.d: New test.
157 * testsuite/gas/arm/mve-vmulh-bad.l: New test.
158 * testsuite/gas/arm/mve-vmulh-bad.s: New test.
159
a8465a06
AV
1602019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
161
162 * config/tc-arm.c (enum operand_parse_code): New operand.
163 (parse_operands): Handle new operand.
164 (mve_encode_qqr): Handle new instructions.
165 (do_neon_dyadic_i64_su): Accept MVE variants.
166 (neon_dyadic_misc): Likewise.
167 (do_neon_mac_maybe_scalar): Likewise.
168 (do_neon_mul): Likewise.
169 (insns): Change to accept MVE variants.
170 * testsuite/gas/arm/mve-vmla-bad.d: New test.
171 * testsuite/gas/arm/mve-vmla-bad.l: New test.
172 * testsuite/gas/arm/mve-vmla-bad.s: New test.
173 * testsuite/gas/arm/mve-vmul-bad-1.d: New test.
174 * testsuite/gas/arm/mve-vmul-bad-1.l: New test.
175 * testsuite/gas/arm/mve-vmul-bad-1.s: New test.
176 * testsuite/gas/arm/mve-vmul-bad-2.d: New test.
177 * testsuite/gas/arm/mve-vmul-bad-2.l: New test.
178 * testsuite/gas/arm/mve-vmul-bad-2.s: New test.
179 * testsuite/gas/arm/mve-vqaddsub-bad.d: New test.
180 * testsuite/gas/arm/mve-vqaddsub-bad.l: New test.
181 * testsuite/gas/arm/mve-vqaddsub-bad.s: New test.
182
93925576
AV
1832019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
184
185 * config/tc-arm.c (M_MNEM_vmlaldav, M_MNEM_vmlaldava,
186 M_MNEM_vmlaldavx, M_MNEM_vmlaldavax, M_MNEM_vmlsldav,
187 M_MNEM_vmlsldava, M_MNEM_vmlsldavx, M_MNEM_vmlsldavax,
188 M_MNEM_vrmlaldavhx, M_MNEM_vrmlaldavhax, M_MNEM_vrmlsldavh,
189 M_MNEM_vrmlsldavha, M_MNEM_vrmlsldavhx, M_MNEM_vrmlsldavhax): New
190 instruction encodings.
191 (NEON_SHAPE_DEF): New shape
192 (mve_encode_rrqq): New encoding helper function.
193 (do_mve_vmlaldav): New encoding function.
194 (do_mve_vrmlaldavh): New encoding function.
195 (insns): Add entries for MVE mnemonics.
196 * testsuite/gas/arm/mve-vmlaldav-bad.d: New test.
197 * testsuite/gas/arm/mve-vmlaldav-bad.l: New test.
198 * testsuite/gas/arm/mve-vmlaldav-bad.s: New test.
199 * testsuite/gas/arm/mve-vmlalv-bad.d: New test.
200 * testsuite/gas/arm/mve-vmlalv-bad.l: New test.
201 * testsuite/gas/arm/mve-vmlalv-bad.s: New test.
202 * testsuite/gas/arm/mve-vmlsldav-bad.d: New test.
203 * testsuite/gas/arm/mve-vmlsldav-bad.l: New test.
204 * testsuite/gas/arm/mve-vmlsldav-bad.s: New test.
205 * testsuite/gas/arm/mve-vrmlaldavh-bad.d: New test.
206 * testsuite/gas/arm/mve-vrmlaldavh-bad.l: New test.
207 * testsuite/gas/arm/mve-vrmlaldavh-bad.s: New test.
208
13ccd4c0
AV
2092019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
210
211 * config/tc-arm.c (M_MNEM_vmaxv, M_MNEM_vmaxav, M_MNEM_vminv,
212 M_MNEM_vminav): New instruction encodings.
213 (do_mve_vmaxv): New encoding function.
214 (insns): Add entries for new MVE mnemonics.
215 * testsuite/gas/arm/mve-vmaxv-vminv-bad.d: New test.
216 * testsuite/gas/arm/mve-vmaxv-vminv-bad.l: New test.
217 * testsuite/gas/arm/mve-vmaxv-vminv-bad.s: New test.
218
8cd78170
AV
2192019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
220
221 * config/tc-arm.c (do_mve_vmaxnmv): New encoding function.
222 (insns): Add entries for new mnemonics.
223 * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.d: New test.
224 * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.l: New test.
225 * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.s: New test.
226
935295b5
AV
2272019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
228
229 * config/tc-arm.c (do_mve_vmaxa_vmina): New encoding function.
230 (do_mve_vmaxnma_vminnma): Likewise.
231 (do_neon_dyadic_if_su): Change to support MVE variants.
232 (do_vmaxnm): Likewise.
233 (insns): Change to accept MVE variants and add new.
234 * testsuite/gas/arm/mve-vmax-vmin-bad.d: New test.
235 * testsuite/gas/arm/mve-vmax-vmin-bad.l: New test.
236 * testsuite/gas/arm/mve-vmax-vmin-bad.s: New test.
237 * testsuite/gas/arm/mve-vmaxa-vmina-bad.d: New test.
238 * testsuite/gas/arm/mve-vmaxa-vmina-bad.l: New test.
239 * testsuite/gas/arm/mve-vmaxa-vmina-bad.s: New test.
240 * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.d: New test.
241 * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.l: New test.
242 * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.s: New test.
243 * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.d: New test.
244 * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.l: New test.
245 * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.s: New test.
246
7df54120
AV
2472019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
248
249 * config/tc-arm.c (enum operand_parse_code): New operand.
250 (parse_operands): Handle new operand.
251 (mve_encode_qqr): Change to support new instructions.
252 (enum vfp_or_neon_is_neon_bits): Moved.
253 (vfp_or_neon_is_neon): Moved.
254 (check_simd_pred_availability): Moved.
255 (do_neon_dyadic_i_su): Changed to support MVE variants.
256 (neon_dyadic_misc): Changed mve_encode_qqr call.
257 (do_mve_vbrsr): Likewise.
258 (do_mve_vhcadd): New encoding function.
259 (insns): Change existing to accept MVE variants and add new.
260 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.d: New test.
261 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.l: New test.
262 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.s: New test.
263 * testsuite/gas/arm/mve-vhcadd-bad.d: New test.
264 * testsuite/gas/arm/mve-vhcadd-bad.l: New test.
265 * testsuite/gas/arm/mve-vhcadd-bad.s: New test.
266
d58196e0
AV
2672019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
268
269 * config/tc-arm.c (do_neon_fmac): Change to support MVE variants.
270 (insns): Change to accept MVE variants.
271 * testsuite/gas/arm/mve-vfma-vfms-bad.d: New test.
272 * testsuite/gas/arm/mve-vfma-vfms-bad.l: New test.
273 * testsuite/gas/arm/mve-vfma-vfms-bad.s: New test.
274
b409bdb6
AV
2752019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
276
277 * config/tc-arm.c (M_MNEM_vddup, M_MNEM_vdwdup, M_MNEM_vidup,
278 M_MNEM_viwdup): New instruction encodings.
279 (NEON_SHAPE_DEF): New shapes.
280 (do_mve_viddup): New encoding function.
281 (do_neon_dup): Change to support new MVE variants.
282 (insns): Change existing to accept MVE variants and add new.
283 * testsuite/gas/arm/mve-vddup-bad.d: New test.
284 * testsuite/gas/arm/mve-vddup-bad.l: New test.
285 * testsuite/gas/arm/mve-vddup-bad.s: New test.
286 * testsuite/gas/arm/mve-vdup-bad.d: New test.
287 * testsuite/gas/arm/mve-vdup-bad.l: New test.
288 * testsuite/gas/arm/mve-vdup-bad.s: New test.
289 * testsuite/gas/arm/mve-vidup-bad.d: New test.
290 * testsuite/gas/arm/mve-vidup-bad.l: New test.
291 * testsuite/gas/arm/mve-vidup-bad.s: New test.
292
f30ee27c
AV
2932019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
294
295 * config/tc-arm.c (do_mve_vfmas): New encoding function.
296 (do_neon_cls): Change to support MVE variants.
297 (do_neon_clz): Change to support MVE variants.
298 (insns): Change to support MVE variants and add new.
299 * testsuite/gas/arm/mve-vcls-bad.d: New test.
300 * testsuite/gas/arm/mve-vcls-bad.l: New test.
301 * testsuite/gas/arm/mve-vcls-bad.s: New test.
302 * testsuite/gas/arm/mve-vclz-bad.d: New test.
303 * testsuite/gas/arm/mve-vclz-bad.l: New test.
304 * testsuite/gas/arm/mve-vclz-bad.s: New test.
305 * testsuite/gas/arm/mve-vfmas-bad.d: New test.
306 * testsuite/gas/arm/mve-vfmas-bad.l: New test.
307 * testsuite/gas/arm/mve-vfmas-bad.s: New test.
308
5d281bf0
AV
3092019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
310
311 * config/tc-arm.c (enum operand_parse_code): New operands.
312 (parse_operands): Handle new operands.
313 (do_mve_vcmul): New encoding function.
314 (do_vcmla): Change to support MVE variants.
315 (do_vcadd): Change to support MVE variants.
316 (insns): Change existing to support MVE variants and add new.
317 * testsuite/gas/arm/mve-vcadd-bad-1.d: New test.
318 * testsuite/gas/arm/mve-vcadd-bad-1.l: New test.
319 * testsuite/gas/arm/mve-vcadd-bad-1.s: New test.
320 * testsuite/gas/arm/mve-vcadd-bad-2.d: New test.
321 * testsuite/gas/arm/mve-vcadd-bad-2.l: New test.
322 * testsuite/gas/arm/mve-vcadd-bad-2.s: New test.
323 * testsuite/gas/arm/mve-vcmla-bad-1.d: New test.
324 * testsuite/gas/arm/mve-vcmla-bad-1.l: New test.
325 * testsuite/gas/arm/mve-vcmla-bad-1.s: New test.
326 * testsuite/gas/arm/mve-vcmla-bad-2.d: New test.
327 * testsuite/gas/arm/mve-vcmla-bad-2.l: New test.
328 * testsuite/gas/arm/mve-vcmla-bad-2.s: New test.
329 * testsuite/gas/arm/mve-vcmul-bad-1.d: New test.
330 * testsuite/gas/arm/mve-vcmul-bad-1.l: New test.
331 * testsuite/gas/arm/mve-vcmul-bad-1.s: New test.
332 * testsuite/gas/arm/mve-vcmul-bad-2.d: New test.
333 * testsuite/gas/arm/mve-vcmul-bad-2.l: New test.
334 * testsuite/gas/arm/mve-vcmul-bad-2.s: New test.
335
f601a00c
AV
3362019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
337
338 * config/tc-arm.c (enum operand_parse_code): New operands.
339 (parse_operands): Handle new operands.
340 (enum vfp_or_neon_is_neon_bits): Moved
341 (vfp_or_neon_is_neon): Moved
342 (check_simd_pred_availability): Moved.
343 (do_neon_logic): Change to accept MVE variants.
344 (insns): Changed to accept MVE variants.
345 * testsuite/gas/arm/mve-vand-bad.d: New test.
346 * testsuite/gas/arm/mve-vand-bad.l: New test.
347 * testsuite/gas/arm/mve-vand-bad.s: New test.
348 * testsuite/gas/arm/mve-vbic-bad.d: New test.
349 * testsuite/gas/arm/mve-vbic-bad.l: New test.
350 * testsuite/gas/arm/mve-vbic-bad.s: New test.
351 * testsuite/gas/arm/mve-veor-bad.d: New test.
352 * testsuite/gas/arm/mve-veor-bad.l: New test.
353 * testsuite/gas/arm/mve-veor-bad.s: New test.
354 * testsuite/gas/arm/mve-vorn-bad.d: New test.
355 * testsuite/gas/arm/mve-vorn-bad.l: New test.
356 * testsuite/gas/arm/mve-vorn-bad.s: New test.
357 * testsuite/gas/arm/mve-vorr-bad.d: New test.
358 * testsuite/gas/arm/mve-vorr-bad.l: New test.
359 * testsuite/gas/arm/mve-vorr-bad.s: New test.
360
26c1e780
AV
3612019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
362
363 * config/tc-arm.c (M_MNEM_vaddlv, M_MNEM_vaddlva, M_MNEM_vaddv,
364 M_MNEM_vaddva): New instruction encodings.
365 (mve_encode_rq): New encoding helper function.
366 (do_mve_vaddlv): New encoding function.
367 (do_mve_vaddv): New encoding function.
368 * testsuite/gas/arm/mve-vaddlv-bad.d: New test.
369 * testsuite/gas/arm/mve-vaddlv-bad.l: New test.
370 * testsuite/gas/arm/mve-vaddlv-bad.s: New test.
371 * testsuite/gas/arm/mve-vaddv-bad.d: New test.
372 * testsuite/gas/arm/mve-vaddv-bad.l: New test.
373 * testsuite/gas/arm/mve-vaddv-bad.s: New test.
374
c2dafc2a
AV
3752019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
376
377 * config/tc-arm.c (M_MNEM_vadc, M_MNEM_vadci, M_MNEM_vbrsr):
378 New instruction encodings.
379 (do_mve_vadc): New encoding instruction.
380 (do_mve_vbrsr): Likewise.
381 (do_mve_vsbc): Likewise.
382 * testsuite/gas/arm/mve-vadc-bad.d: New test.
383 * testsuite/gas/arm/mve-vadc-bad.l: New test.
384 * testsuite/gas/arm/mve-vadc-bad.s: New test.
385 * testsuite/gas/arm/mve-vbrsr-bad.d: New test.
386 * testsuite/gas/arm/mve-vbrsr-bad.l: New test.
387 * testsuite/gas/arm/mve-vbrsr-bad.s: New test.
388 * testsuite/gas/arm/mve-vsbc-bad.d: New test.
389 * testsuite/gas/arm/mve-vsbc-bad.l: New test.
390 * testsuite/gas/arm/mve-vsbc-bad.s: New test.
391
1b883319
AV
3922019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
393
394 * config/tc-arm.c (MVE_BAD_QREG): New error message.
395 (enum operand_parse_code): Define new operand.
396 (parse_operands): Handle new operand.
397 (do_mve_vpt): Change for VPT blocks.
398 (NEON_SHAPE_DEF): New shape.
399 (neon_logbits): Moved.
400 (LOW4): Moved
401 (HI1): Moved
402 (mve_get_vcmp_vpt_cond): New function to translate vpt conditions.
403 (do_mve_vcmp): New encoding function.
404 (do_vfp_nsyn_cmp): Changed to support MVE variants.
405 (insns): Change to support MVE variants of vcmp and add vpt.
406 * testsuite/gas/arm/mve-vcmp-bad-1.d: New test.
407 * testsuite/gas/arm/mve-vcmp-bad-1.l: New test.
408 * testsuite/gas/arm/mve-vcmp-bad-1.s: New test.
409 * testsuite/gas/arm/mve-vcmp-bad-2.d: New test.
410 * testsuite/gas/arm/mve-vcmp-bad-2.l: New test.
411 * testsuite/gas/arm/mve-vcmp-bad-2.s: New test.
412 * testsuite/gas/arm/mve-vpt-bad-1.d: New test.
413 * testsuite/gas/arm/mve-vpt-bad-1.l: New test.
414 * testsuite/gas/arm/mve-vpt-bad-1.s: New test.
415 * testsuite/gas/arm/mve-vpt-bad-2.d: New test.
416 * testsuite/gas/arm/mve-vpt-bad-2.l: New test.
417 * testsuite/gas/arm/mve-vpt-bad-2.s: New test.
418
57785aa2
AV
4192019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
420
421 * config/tc-arm.c (struct arm_it): Expand isscalar field to be able to
422 distinguish between types of scalar.
423 (parse_typed_reg_or_scalar): Change to accept MVE scalar variants.
424 (parse_scalar): Likewise.
425 (parse_neon_mov): Accept MVE variant.
426 (po_scalar_or_goto): Make use reg_type.
427 (parse_operands): Change uses of po_scalar_or_goto.
428 (do_vfp_sp_monadic): Change to accept MVE variants.
429 (do_vfp_reg_from_sp): Likewise.
430 (do_vfp_sp_from_reg): Likewise.
431 (do_vfp_dp_rd_rm): Likewise.
432 (do_vfp_dp_rd_rn_rm): Likewise.
433 (do_vfp_dp_rm_rd_rn): Likewise.
434 (M_MNEM_vmovlt, M_MNEM_vmovlb, M_MNEM_vmovnt, M_MNEM_vmovnb): New
435 instruction encodings.
436 (NEON_SHAPE_DEF): New shape.
437 (do_mve_mov): New encoding fuction.
438 (do_mve_movn): Likewise.
439 (do_mve_movl): Likewise.
440 (do_neon_mov): Change to accept MVE variants.
441 (mcCE): New MACRO.
442 (insns): Accept new MVE variants and instructions.
443 * testsuite/gas/arm/mve-vmov-bad-1.d: New test.
444 * testsuite/gas/arm/mve-vmov-bad-1.l: New test.
445 * testsuite/gas/arm/mve-vmov-bad-1.s: New test.
446 * testsuite/gas/arm/mve-vmov-bad-2.d: New test.
447 * testsuite/gas/arm/mve-vmov-bad-2.l: New test.
448 * testsuite/gas/arm/mve-vmov-bad-2.s: New test.
449
dd9634d9
AV
4502019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
451
452 * config/tc-arm.c (enum operand_parse_code): Add new operand.
453 (parse_operands): Handle new operand.
454 (do_neon_cvt_1): Handle MVE variants.
455 (do_neon_cvttb_1): Likewise.
456 (insns): Accept MVE variants.
457 * testsuite/gas/arm/mve-vcvt-bad-1.d: New test.
458 * testsuite/gas/arm/mve-vcvt-bad-1.l: New test.
459 * testsuite/gas/arm/mve-vcvt-bad-1.s: New test.
460 * testsuite/gas/arm/mve-vcvt-bad-2.d: New test.
461 * testsuite/gas/arm/mve-vcvt-bad-2.l: New test.
462 * testsuite/gas/arm/mve-vcvt-bad-2.s: New test.
463 * testsuite/gas/arm/mve-vcvt-bad-3.d: New test.
464 * testsuite/gas/arm/mve-vcvt-bad-3.l: New test.
465 * testsuite/gas/arm/mve-vcvt-bad-3.s: New test.
466 * testsuite/gas/arm/mve-vcvt-bad-4.d: New test.
467 * testsuite/gas/arm/mve-vcvt-bad-4.l: New test.
468 * testsuite/gas/arm/mve-vcvt-bad-4.s: New test.
469 * testsuite/gas/arm/mve-vcvt-bad.d: New test.
470 * testsuite/gas/arm/mve-vcvt-bad.l: New test.
471 * testsuite/gas/arm/mve-vcvt-bad.s: New test.
472
f5f10c66
AV
4732019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
474
475 * config/tc-arm.c (struct arm_it): Make immisreg field larger to hold
476 type of register.
477 (enum shift_kind): Add SHIFT_UXTW shift kind.
478 (enum parse_shift_mode): Add SHIFT_UXTW_IMMEDIATE shift mode.
479 (parse_shift): Handle new shift type.
480 (parse_address_main): Accept new addressing modes.
481 (M_MNEM_vstrb, M_MNEM_vstrh, M_MNEM_vstrw, M_MNEM_vstrd,
482 M_MNEM_vldrb, M_MNEM_vldrh, M_MNEM_vldrw, M_MNEM_vldrd): New
483 instruction encodings.
484 (do_mve_vstr_vldr_QI): New encoding functions.
485 (do_mve_vstr_vldr_RQ): Likewise.
486 (do_mve_vstr_vldr_RI): Likewise.
487 (do_mve_vstr_vldr): Likewise.
488 * testsuite/gas/arm/mve-vldr-bad-1.d: New test.
489 * testsuite/gas/arm/mve-vldr-bad-1.l: New test.
490 * testsuite/gas/arm/mve-vldr-bad-1.s: New test.
491 * testsuite/gas/arm/mve-vldr-bad-2.d: New test.
492 * testsuite/gas/arm/mve-vldr-bad-2.l: New test.
493 * testsuite/gas/arm/mve-vldr-bad-2.s: New test.
494 * testsuite/gas/arm/mve-vldr-bad-3.d: New test.
495 * testsuite/gas/arm/mve-vldr-bad-3.l: New test.
496 * testsuite/gas/arm/mve-vldr-bad-3.s: New test.
497 * testsuite/gas/arm/mve-vstr-bad-1.d: New test.
498 * testsuite/gas/arm/mve-vstr-bad-1.l: New test.
499 * testsuite/gas/arm/mve-vstr-bad-1.s: New test.
500 * testsuite/gas/arm/mve-vstr-bad-2.d: New test.
501 * testsuite/gas/arm/mve-vstr-bad-2.l: New test.
502 * testsuite/gas/arm/mve-vstr-bad-2.s: New test.
503 * testsuite/gas/arm/mve-vstr-bad-3.d: New test.
504 * testsuite/gas/arm/mve-vstr-bad-3.l: New test.
505 * testsuite/gas/arm/mve-vstr-bad-3.s: New test.
506
35c228db
AV
5072019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
508
509 * config/tc-arm.c (enum it_instruction_type): Add MVE_UNPREDICABLE_INSN.
510 (BAD_EL_TYPE): New error message.
511 (parse_neon_el_struct_list): Adapt to be able to accept MVE variant.
512 (parse_address_main): Likewise.
513 (group_reloc_type): Add GROUP_MVE.
514 (enum operand_parse_code): Add new operands.
515 (parse_operands): Handle new operands.
516 (M_MNEM_vst20, M_MNEM_vst21, M_MNEM_vst40, M_MNEM_vst41, M_MNEM_vst42,
517 M_MNEM_vst43, M_MNEM_vld20, M_MNEM_vld21, M_MNEM_vld40, M_MNEM_vld41,
518 M_MNEM_vld42, M_MNEM_vld43): New encodings.
519 (do_mve_vst_vld): New encoding function.
520 (do_neon_ld_st_interleave): Use BAD_EL_TYPE.
521 (it_fsm_pre_encode): Handle new it_instruction_type
522 (handle_pred_state): Likewise.
523 * testsuite/gas/arm/mve-vstld-bad.d: New test.
524 * testsuite/gas/arm/mve-vstld-bad.l: New test.
525 * testsuite/gas/arm/mve-vstld-bad.s: New test.
526
886e1c73
AV
5272019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
528
529 * config/tc-arm.c (BAD_MVE_AUTO): New error message.
530 (BAD_MVE_SRCDEST): Likewise.
531 (mark_feature_used): Diagnose MVE only instructions when in
532 auto-detection mode or -march=all.
533 (enum operand_parse_code): Define new operand.
534 (parse_operands): Handle new operand.
535 (M_MNEM_vmullt, M_MNEM_vmullb): New encodings.
536 (mve_encode_qqq): New encoding helper function.
537 (do_mve_vmull): New encoding function.
538 (insns): Handle new instructions.
539 * testsuite/gas/arm/mve-vmullbt-bad.d: New test.
540 * testsuite/gas/arm/mve-vmullbt-bad.l: New test.
541 * testsuite/gas/arm/mve-vmullbt-bad.s: New test.
542
a302e574
AV
5432019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
544
545 * config/tc-arm.c (struct asm_opcode): Make avalue a full int.
546 (BAD_ODD, BAD_EVEN, BAD_SIMD_TYPE): New errors.
547 (enum operand_parse_code): Handle new operands.
548 (parse_operands): Likewise.
549 (M_MNEM_vabav, M_MNEM_vmladav, M_MNEM_vmladava, M_MNEM_vmladavx,
550 M_MNEM_vmladavax, M_MNEM_vmlsdav, M_MNEM_vmlsdava, M_MNEM_vmlsdavx,
551 M_MNEM_vmlsdavax): Define new encodings.
552 (NEON_SHAPE_DEF): Add new shape.
553 (neon_check_type): Use BAD_SIMD_TYPE.
554 (mve_encode_rqq): New encoding helper function.
555 (do_mve_vabav, do_mve_vmladav): New encoding functions.
556 (mCEF): New MACRO.
557 * testsuite/gas/arm/mve-vabav-bad.d: New test.
558 * testsuite/gas/arm/mve-vabav-bad.l: New test.
559 * testsuite/gas/arm/mve-vabav-bad.s: New test.
560 * testsuite/gas/arm/mve-vmladav-bad.d: New test.
561 * testsuite/gas/arm/mve-vmladav-bad.l: New test.
562 * testsuite/gas/arm/mve-vmladav-bad.s: New test.
563 * testsuite/gas/arm/mve-vmlav-bad.d: New test.
564 * testsuite/gas/arm/mve-vmlav-bad.l: New test.
565 * testsuite/gas/arm/mve-vmlav-bad.s: New test.
566 * testsuite/gas/arm/mve-vmlsdav-bad.d: New test.
567 * testsuite/gas/arm/mve-vmlsdav-bad.l: New test.
568 * testsuite/gas/arm/mve-vmlsdav-bad.s: New test.
569
485dee97
AV
5702019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
571
572 * config/tc-arm.c (do_neon_abs_neg): Make it accept MVE variant.
573 (insns): Change vabs and vneg entries to accept MVE variants.
574 * testsuite/gas/arm/mve-vabsneg-bad-1.d: New test.
575 * testsuite/gas/arm/mve-vabsneg-bad-1.l: New test.
576 * testsuite/gas/arm/mve-vabsneg-bad-1.s: New test.
577 * testsuite/gas/arm/mve-vabsneg-bad-2.d: New test.
578 * testsuite/gas/arm/mve-vabsneg-bad-2.l: New test.
579 * testsuite/gas/arm/mve-vabsneg-bad-2.s: New test.
580
5ee91343
AV
5812019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
582
583 * config/tc-arm.c (enum it_instruction_type): Rename to...
584 (enum pred_instruction_type): ... this. Include VPT types.
585 (it_insn_type): Rename to ...
586 (pred_insn_type): .. this.
587 (arm_it): Change comment.
588 (enum arm_reg_type): Add new value.
589 (reg_expected_msgs): New entry.
590 (asm_opcode): Add mayBeVecPred member.
591 (BAD_SYNTAX, BAD_NOT_VPT, BAD_OUT_VPT, BAD_VPT_COND, MVE_NOT_IT,
592 MVE_NOT_VPT, MVE_BAD_PC, MVE_BAD_SP): New diagnostic MACROS.
593 (arm_vcond_hsh): New table for vector condition codes.
594 (now_it): Rename to ...
595 (now_pred): ... this.
596 (now_it_compatible): Rename to ...
597 (now_pred_compatible): ... this.
598 (in_it_block): Rename to ...
599 (in_pred_block): ... this.
600 (handle_it_state): Rename to ...
601 (handle_pred_state): ... this. And change it to accept VPT blocks.
602 (set_it_insn_type): Rename to ...
603 (set_pred_insn_type): ... this.
604 (set_it_insn_type_nonvoid): Rename to ...
605 (set_pred_insn_type_nonvoid): ... this.
606 (set_it_insn_type_last): Rename to ...
607 (set_pred_insn_type_last): ... this.
608 (record_feature_use): Moved.
609 (mark_feature_used): Likewise.
610 (parse_typed_reg_or_scalar): Add new case for REG_TYPE_MQ.
611 (emit_insn): Use renamed functions and variables.
612 (enum operand_parse_code): Add new operands.
613 (parse_operands): Handle new operands.
614 (do_scalar_fp16_v82_encode): Change predication detection.
615 (do_it): Use renamed functions and variables.
616 (do_t_add_sub): Likewise.
617 (do_t_arit3): Likewise.
618 (do_t_arit3c): Likewise.
619 (do_t_blx): Likewise.
620 (do_t_branch): Likewise.
621 (do_t_bkpt_hlt1): Likewise.
622 (do_t_branch23): Likewise.
623 (do_t_bx): Likewise.
624 (do_t_bxj): Likewise.
625 (do_t_cond): Likewise.
626 (do_t_csdb): Likewise.
627 (do_t_cps): Likewise.
628 (do_t_cpsi): Likewise.
629 (do_t_cbz): Likewise.
630 (do_t_it): Likewise.
631 (do_mve_vpt): New function to handle VPT blocks.
632 (encode_thumb2_multi): Use renamed functions and variables.
633 (do_t_ldst): Use renamed functions and variables.
634 (do_t_mov_cmp): Likewise.
635 (do_t_mvn_tst): Likewise.
636 (do_t_mul): Likewise.
637 (do_t_nop): Likewise.
638 (do_t_neg): Likewise.
639 (do_t_rsb): Likewise.
640 (do_t_setend): Likewise.
641 (do_t_shift): Likewise.
642 (do_t_smc): Likewise.
643 (do_t_tb): Likewise.
644 (do_t_udf): Likewise.
645 (do_t_loloop): Likewise.
646 (do_neon_cvt_1): Likewise.
647 (do_vfp_nsyn_cvt_fpv8): Likewise.
648 (do_vsel): Likewise.
649 (do_vmaxnm): Likewise.
650 (do_vrint_1): Likewise.
651 (do_crypto_2op_1): Likewise.
652 (do_crypto_3op_1): Likewise.
653 (do_crc32_1): Likewise.
654 (it_fsm_pre_encode): Likewise.
655 (it_fsm_post_encode): Likewise.
656 (force_automatic_it_block_close): Likewise.
657 (check_it_blocks_finished): Likewise.
658 (check_pred_blocks_finished): Likewise.
659 (arm_cleanup): Likewise.
660 (now_it_add_mask): Rename to ...
661 (now_pred_add_mask): ... this. And use new variables and functions.
662 (NEON_ENC_TAB): Add entries for vabdl, vaddl and vsubl.
663 (N_I_MVE, N_F_MVE, N_SU_MVE): New MACROs.
664 (neon_check_type): Generalize error message.
665 (mve_encode_qqr): New MVE generic encoding function.
666 (neon_dyadic_misc): Change to accept MVE variants.
667 (do_neon_dyadic_if_su): Likewise.
668 (do_neon_addsub_if_i): Likewise.
669 (do_neon_dyadic_long): Likewise.
670 (vfp_or_neon_is_neon): Add extra checks.
671 (check_simd_pred_availability): Helper function to check SIMD
672 instruction availability with respect to predication.
673 (enum opcode_tag): New suffix value.
674 (opcode_lookup): Change to handle VPT blocks.
675 (new_automatic_it_block): Rename to ...
676 (close_automatic_it_block): ...this.
677 (TxCE, TxC3, TxC3w, TUE, TUEc, TUF, CE, C3, ToC, ToU,
678 toC, toU, CL, cCE, cCL, C3E, xCM_, UE, UF, NUF, nUF,
679 NCE_tag, NCE, NCEF, nCE_tag, nCE, nCEF): Add default value for new
680 field.
681 (mCEF, mnCEF, mnCE, MNUF, mnUF, mToC, MNCE, MNCEF): New MACROs.
682 (insns): Redefine vadd, vsub, cabd, vabdl, vaddl, vsubl to accept MVE
683 variants. Add entries for vscclrm, and vpst.
684 (md_begin): Add arm_vcond_hsh initialization.
685 * config/tc-arm.h (enum it_state): Rename to...
686 (enum pred_state): ...this.
687 (struct current_it): Rename to...
688 (struct current_pred): ...this.
689 (enum pred_type): New enum.
690 (struct arm_segment_info_type): Use current_pred.
691 * testsuite/gas/arm/armv8_3-a-fp-bad.l: Update error message.
692 * testsuite/gas/arm/armv8_3-a-simd-bad.l: Update error message.
693 * testsuite/gas/arm/dotprod-illegal.l: Update error message.
694 * testsuite/gas/arm/mve-vaddsubabd-bad-1.d: New test.
695 * testsuite/gas/arm/mve-vaddsubabd-bad-1.l: New test.
696 * testsuite/gas/arm/mve-vaddsubabd-bad-1.s: New test.
697 * testsuite/gas/arm/mve-vaddsubabd-bad-2.d: New test.
698 * testsuite/gas/arm/mve-vaddsubabd-bad-2.l: New test.
699 * testsuite/gas/arm/mve-vaddsubabd-bad-2.s: New test.
700 * testsuite/gas/arm/mve-vpst-bad.d: New test.
701 * testsuite/gas/arm/mve-vpst-bad.l: New test.
702 * testsuite/gas/arm/mve-vpst-bad.s: New test.
703 * testsuite/gas/arm/neon-ldst-es-bad.l: Updated error message.
704
a7ad558c
AV
7052019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
706
707 * config/tc-arm.c (mve_ext, mve_fp_ext): New features.
708 (armv8_1m_main_ext_table): Add new extensions.
709 (aeabi_set_public_attributes): Translate new features to new build attributes.
710 (arm_convert_symbolic_attribute): Add Tag_MVE_arch.
711 * doc/c-arm.texi: Document new extensions and new build attribute.
712
95008a88
JD
7132019-05-15 John Darrington <john@darrington.wattle.id.au>
714
715 * config/tc-s12z.c (register_prefix): New variable. (md_show_usage,
716 md_parse_option): parse the new option.
717 (lex_reg_name): Scan the prefix if one is set.
718 * doc/c-s12z.texi (S12Z-Opts): Document the new option.
719 * testsuite/gas/s12z/reg-prefix.d: New file.
720 * testsuite/gas/s12z/reg-prefix.s: New file.
721 * testsuite/gas/s12z/s12z.exp: Add them.
722
905f5b3f
JD
7232019-05-14 John Darrington <john@darrington.wattle.id.au>
724
725 * doc/as.texi (Machine Dependencies): Fix misaligned menu entry.
726
f6bd0b76
AM
7272019-05-15 Alan Modra <amodra@gmail.com>
728
729 * config/tc-csky.c (md_convert_frag): Initialise trailing
730 padding for COND_JUMP_PIC.
731
8f02ae5b
AM
7322019-05-15 Alan Modra <amodra@gmail.com>
733
734 * dwarf2dbg.c: Whitespace fixes.
735 (get_filenum): Don't strdup "file". Adjust error message.
736 (dwarf2_directive_filename): Use an unsigned type for "num".
737 Catch truncation of file number and overflow of get_filenum
738 XRESIZEVEC multiplication. Delete dead code.
739
ded12894
AM
7402019-05-15 Alan Modra <amodra@gmail.com>
741
742 PR 24538
743 * config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line
744 chars in setting endp.
745
35015cd1
NC
7462019-05-14 Nick Clifton <nickc@redhat.com>
747
748 PR 24538
749 * config/tc-i386-intel.c (i386_intel_simplify_register): Reject
750 illegal register numbers.
751
3076e594
NC
7522019-05-10 Nick Clifton <nickc@redhat.com>
753
754 PR 24538
755 * macro.c (get_any_string): Increase size of buffer used to hold
756 decimal value of expression result.
757 * dw2gencfi.c (get_debugseg_name): Handle an empty name.
758 * dwarf2dbg.c (get_filenum): Catch integer wraparound when
759 extending allocate file array.
760 (dwarf2_directive_filename): Add extra checks of the computed file
761 number.
762 * config/tc-arm.c (arm_tc_equal_in_insn): Insert copy of name into
763 warning hash table.
764 (s_arm_eabi_attribute): Check for obj_elf_vendor_attribute
765 returning -1.
766 * config/tc-i386.c (i386_output_nops): Catch an attempt to
767 generate nops of negative lengths.
768 * as.h (MAX_LITTLENUMS): Move definition to here from...
769 * config/atof-ieee.c: ...here.
770 * config/tc-aarch64.c: ...here.
771 * config/tc-arc.c: ...here.
772 * config/tc-arm.c: ...here.
773 * config/tc-epiphany.c: ...here.
774 * config/tc-i386.c: ...here.
775 * config/tc-ia64.c: ...here. (And correct the value).
776 * config/tc-m32c.c: ...here.
777 * config/tc-m32r.c: ...here.
778 * config/tc-metag.c: ...here.
779 * config/tc-microblaze.c: ...here.
780 * config/tc-nds32.c: ...here.
781 * config/tc-or1k.c: ...here.
782 * config/tc-score.c: ...here.
783 * config/tc-score7.c: ...here.
784 * config/tc-tic4x.c: ...here.
785 * config/tc-tilegx.c: ...here.
786 * config/tc-tilepro.c: ...here.
787 * config/tc-visium.c: ...here.
788 * config/tc-sh.c (md_assemble): Add check for an instruction with
789 no opcodes.
790 * config/tc-mips.c (mips_lookup_insn): Add check for very short
791 instruction name.
792 * config/tc-tic54x.c: Use unsigned chars to access is_end_of_line
793 array.
794 (tic54x_start_line_hook): Check for an empty line.
795 (next_line_shows_parallel): Do not walk off the end of the string.
796 (tic54x_macro_start): Check for too much macro nesting.
797 (tic54x_start_label): Add label_start parameter. Use this
798 parameter to check the first character of the label.
799
800 * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Pass
801 line_start variable to tic54x_start_label.
802
387e7624
FS
8032019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
804
805 * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>:
806 Add expansions for MIPS r6.
807 * testsuite/gas/mips/add.s: Enable tests for R6.
808 * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6.
809 * testsuite/gas/mips/mipsr6@add.d: Likewise.
810 * gas/testsuite/gas/mips/mipsr6@dadd.d: New test.
811 * gas/testsuite/gas/mips/mips.exp: Run the new test.
812
8de09632
MM
8132019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
814
815 * testsuite/gas/aarch64/sve2.d: Remove file format restriction.
816
e111c7d1
MM
8172019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
818
819 * testsuite/gas/aarch64/illegal-sve2-aes.d: New test.
820 * testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test.
821 * testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions.
822 * testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions.
823 * testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions.
824 * testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions.
825 * testsuite/gas/aarch64/illegal-sve2.d: Test new instructions.
826 * testsuite/gas/aarch64/illegal-sve2.l: Test new instructions.
827 * testsuite/gas/aarch64/illegal-sve2.s: Test new instructions.
828 * testsuite/gas/aarch64/sve1-extended-sve2.s: New test.
829 * testsuite/gas/aarch64/sve2.d: Test new instructions.
830 * testsuite/gas/aarch64/sve2.s: Test new instructions.
831
28ed815a
MM
8322019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
833
834 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHLIMM_UNPRED_22
835 operand.
836
31e36ab3
MM
8372019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
838
839 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm4_11_INDEX
840 operand.
841
3c17238b
MM
8422019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
843
844 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHRIMM_UNPRED_22
845 operand.
846
c469c864
MM
8472019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
848
849 * config/tc-aarch64.c (REG_ZR): Macro specifying zero register.
850 (parse_address_main): Account for new addressing mode [Zn.S, Xm].
851 (parse_operands): Handle new SVE_ADDR_ZX operand.
852
116adc27
MM
8532019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
854
855 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm3_11_INDEX
856 operand.
857
adccc507
MM
8582019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
859
860 * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand.
861
7ce2460a
MM
8622019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
863
864 * config/tc-aarch64.c: Add command line architecture feature flags
865 "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm".
866 * doc/c-aarch64.texi: Document new architecture feature flags.
867
762172a4
AM
8682019-05-08 Alan Modra <amodra@gmail.com>
869
870 * testsuite/gas/elf/dwarf2-1.s,
871 * testsuite/gas/elf/dwarf2-2.s,
872 * testsuite/gas/elf/dwarf2-5.s,
873 * testsuite/gas/elf/dwarf2-7.s,
874 * testsuite/gas/elf/dwarf2-8.s,
875 * testsuite/gas/elf/dwarf2-9.s,
876 * testsuite/gas/elf/dwarf2-10.s,
877 * testsuite/gas/elf/dwarf2-11.s,
878 * testsuite/gas/elf/dwarf2-12.s,
879 * testsuite/gas/elf/dwarf2-13.s,
880 * testsuite/gas/elf/dwarf2-14.s,
881 * testsuite/gas/elf/dwarf2-15.s,
882 * testsuite/gas/elf/dwarf2-16.s,
883 * testsuite/gas/elf/dwarf2-17.s,
884 * testsuite/gas/elf/dwarf2-18.s,
885 * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated
886 instructions.
887 * testsuite/gas/elf/dwarf2-1.d,
888 * testsuite/gas/elf/dwarf2-2.d,
889 * testsuite/gas/elf/dwarf2-5.d,
890 * testsuite/gas/elf/dwarf2-7.d,
891 * testsuite/gas/elf/dwarf2-8.d,
892 * testsuite/gas/elf/dwarf2-9.d,
893 * testsuite/gas/elf/dwarf2-10.d,
894 * testsuite/gas/elf/dwarf2-11.d,
895 * testsuite/gas/elf/dwarf2-12.d,
896 * testsuite/gas/elf/dwarf2-13.d,
897 * testsuite/gas/elf/dwarf2-14.d,
898 * testsuite/gas/elf/dwarf2-15.d,
899 * testsuite/gas/elf/dwarf2-16.d,
900 * testsuite/gas/elf/dwarf2-17.d,
901 * testsuite/gas/elf/dwarf2-18.d,
902 * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget.
903 Remove avr, pru, tile, xtensa from xfails. Update expected output.
904 * testsuite/gas/elf/elf.exp: Sort targets.
905 (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax}
906 for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests.
907 * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file.
908
9632a526
AM
9092019-05-08 Alan Modra <amodra@gmail.com>
910
911 * config/tc-xtensa.c (opt_linkrelax): New variable.
912 (md_parse_option): Set it here.
913 (md_begin): Copy opt_linkrelax to linkrelax.
914
b654832d
AO
9152019-05-07 Alexandre Oliva <aoliva@redhat.com>
916
917 * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
918 * testsuite/gas/elf/dwarf2-19.d: Likewise.
919
0f1309c8
AM
9202019-05-07 Alan Modra <amodra@gmail.com>
921
922 * symbols.c (use_complex_relocs_for): Formatting. Factor out
923 X_add_symbol tests.
924
41cee089
FS
9252019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
926 Faraz Shahbazker <fshahbazker@wavecomp.com>
927
928 * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6.
929 (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases.
930 (mips_after_parse_args): Translate EVA to EVA_R6.
931 * testsuite/gas/mips/ase-errors-1.s: Add new instructions.
932 * testsuite/gas/mips/eva.s: Likewise.
933 * testsuite/gas/mips/ase-errors-1.l: Check errors for
934 new instructions.
935 * testsuite/gas/mips/mipsr6@eva.d: Check new test cases.
936
be0d3bbb
AM
9372019-05-06 Alan Modra <amodra@gmail.com>
938
939 * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
940 directly.
941
334d91b9
AM
9422019-05-06 Alan Modra <amodra@gmail.com>
943
944 * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT
945 relocs, and VLE sdarel relocs.
946 * testsuite/gas/ppc/power4.d: Adjust.
947
62e6b7b3
AO
9482019-05-05 Alexandre Oliva <aoliva@redhat.com>
949
950 * dwarf2dbg.c (set_or_check_view): Skip heads when assigning
951 views of prior locs.
952 (dwarf2_gen_line_info_1): Skip heads.
953 (size_inc_line_addr, emit_inc_line_addr): Drop
954 DW_LNS_advance_pc for zero addr delta.
955 (dwarf2_finish): Assign views for heads of segments.
956 * testsuite/gas/elf/dwarf2-19.d: New.
957 * testsuite/gas/elf/dwarf2-19.s: New.
958 * testsuite/gas/elf/elf.exp: Test it.
959
27cdfa03
AM
9602019-05-04 Alan Modra <amodra@gmail.com>
961
962 * config/tc-m32c.c (insn_size): Delete static var.
963 (md_begin): Don't set it.
964 (m32c_md_end): Delete.
965 (md_assemble): Add insn_size auto var.
966 * config/tc-m32c.h (md_end): Don't define.
967 (m32c_md_end): Delete.
968 (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define.
969 * testsuite/gas/all/align.d: Remove m32c from notarget list.
970 * testsuite/gas/all/incbin.d: Likewise.
971 * testsuite/gas/elf/dwarf2-11.d: Likewise.
972 * testsuite/gas/macros/semi.d: Likewise.
973 * testsuite/gas/all/gas.exp (do_comment): Similarly.
974
06f74c5c
L
9752019-05-02 H.J. Lu <hongjiu.lu@intel.com>
976
977 PR gas/24485
978 * config/tc-i386.c (process_suffix): Issue a warning to IRET
979 without a suffix for .code16gcc.
980 * testsuite/gas/i386/jump16.s: Add tests for iretX.
981 * testsuite/gas/i386/jump16.d: Updated.
982 * testsuite/gas/i386/jump16.e: New file.
983
b83b4b13
SD
9842019-05-01 Sudakshina Das <sudi.das@arm.com>
985
986 * config/tc-aarch64.c (parse_operands): Add case for
987 AARCH64_OPND_TME_UIMM16.
988 (aarch64_features): Add "tme".
989 * doc/c-aarch64.texi: Document the same.
990 * testsuite/gas/aarch64/tme-invalid.d: New test.
991 * testsuite/gas/aarch64/tme-invalid.l: New test.
992 * testsuite/gas/aarch64/tme-invalid.s: New test.
993 * testsuite/gas/aarch64/tme.d: New test.
994 * testsuite/gas/aarch64/tme.s: New test.
995
4a90ce95
JD
9962019-04-29 John Darrington <john@darrington.wattle.id.au>
997
8f02ae5b 998 * testsuite/gas/s12z/truncated.d: New file.
4a90ce95
JD
999 * testsuite/gas/s12z/truncated.s: New file.
1000 * testsuite/gas/s12z/s12z.exp: Add new test.
1001
a45328b9
AB
10022019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
1003 Faraz Shahbazker <fshahbazker@wavecomp.com>
1004
1005 * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB,
1006 M_SCDP_AB>: New cases and expansions for paired instructions.
1007 * testsuite/gas/mips/llpscp-32.s: New test source.
1008 * testsuite/gas/mips/llpscp-64.s: Likewise.
1009 * testsuite/gas/mips/llpscp-32.d: New test.
1010 * testsuite/gas/mips/llpscp-64.d: Likewise.
1011 * testsuite/gas/mips/mips.exp: Run the new tests.
1012 * testsuite/gas/mips/r6.s: Add new instructions to test source.
1013 * testsuite/gas/mips/r6-64.s: Likewise.
1014 * testsuite/gas/mips/r6-64-n32.d: Check new instructions.
1015 * testsuite/gas/mips/r6-64-n64.d: Likewise.
1016 * testsuite/gas/mips/r6-n32.d: Likewise.
1017 * testsuite/gas/mips/r6-n64.d: Likwwise.
1018 * testsuite/gas/mips/r6.d: Likewise.
1019
7cb22ff8
L
10202019-04-26 H.J. Lu <hongjiu.lu@intel.com>
1021
1022 PR gas/24485
1023 * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
1024 to IRET for .code16gcc.
1025 * testsuite/gas/i386/jump16.s: Add IRET tests.
1026 * testsuite/gas/i386/jump16.d: Updated.
1027
38c3873e
AO
10282019-04-25 Alexandre Oliva <aoliva@redhat.com>
1029 Alan Modra <amodra@gmail.com>
1030
1031 PR gas/24444
1032 * frags.c (frag_gtoffset_p): New.
1033 * frags.h (frag_gtoffset_p): Declare it.
1034 * expr.c (resolve_expression): Use it.
1035
1903f138
AM
10362019-04-24 Alan Modra <amodra@gmail.com>
1037
1038 PR 24444
1039 * symbols.c (resolve_symbol_value): When handling symbols
1040 marked as sy_flags.resolved, return correct value for the
1041 case of expression symbols left as an O_symbol expression.
1042 Merge O_symbol code handling undefined and common symbols with
1043 code handling special cases of expression symbols. Use
1044 seg_left to test for undefined and common symbols. Don't
1045 leave an O_symbol expression when X_add_symbol resolves to
1046 the absolute_section. Init final_val later.
1047 * testsuite/gas/mmix/basep-7.d: Adjust expected output.
1048
a679f24e
JD
10492019-04-24 John Darrington <john@darrington.wattle.id.au>
1050
1051 * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
1052 and BCLR instructions with an invalid mode.
1053 * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
1054
5ce032bd
NC
10552019-04-19 Nick Clifton <nickc@redhat.com>
1056
1057 PR 24464
1058 * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
1059 to the relaxation function.
1060 * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
1061 number of iterations. Make sure that our internal iteration limit
1062 does not exceed this external iteration limit.
1063
85bec12d
MF
10642019-04-18 Matthew Fortune <matthew.fortune@mips.com>
1065
1066 * config/tc-mips.c (match_non_zero_reg_operand): Update
1067 warning message.
1068 * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
1069
5d5b0bd3
JL
10702019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1071
1072 * config/tc-msp430.c (msp430_make_init_symbols): Define
1073 __crt0_run_{preinit,init,fini}_array symbols if
1074 .{preinit,init,fini}_array sections exist.
1075 * testsuite/gas/msp430/fini-array.d: New test.
1076 * testsuite/gas/msp430/init-array.d: New test.
1077 * testsuite/gas/msp430/preinit-array.d: New test.
1078 * testsuite/gas/msp430/fini-array.s: New test source.
1079 * testsuite/gas/msp430/init-array.s: New test source.
1080 * testsuite/gas/msp430/preinit-array.s: New test source.
1081 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
1082
afff667a
JL
10832019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1084
1085 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
1086 symbol when .lower.bss or .either.bss sections exist.
1087 Define __crt0_movedata when .lower.data or .either.data sections exist.
1088 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
1089 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
1090 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
1091 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
1092 * testsuite/gas/msp430/msp430.exp: Run new tests.
1093 Enable large code model when running -mdata-region={upper,either}
1094 tests.
1095
d5579774
JL
10962019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
1097
1098 * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
1099 OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
1100 (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
1101 OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
1102 accordingly.
1103 (md_show_usage): Likewise.
1104 (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
1105 "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
1106 (md_longopts): Likewise.
1107 (warn_eint_nop): Update comment.
1108 (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
1109 prev_insn_is_dint or we are assembling for 430 ISA.
1110 (msp430_operands): Only call warn_unsure_interrupt if
1111 do_unknown_interrupt_nops == TRUE.
1112 * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
1113 * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
1114 * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
1115 * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
1116 * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
1117 test.
1118 * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
1119 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
1120
fe7e91e7
AM
11212019-04-16 Alan Modra <amodra@gmail.com>
1122
1123 * testsuite/gas/all/weakref1.d: xfail nds32.
1124
a0fb9615
AM
11252019-04-16 Alan Modra <amodra@gmail.com>
1126
1127 * testsuite/gas/all/gas.exp: Remove ns32k xfails.
1128 * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
1129
5bc11336
AM
11302019-04-16 Alan Modra <amodra@gmail.com>
1131
1132 * write.h: Don't include bit_fix.h.
1133 (struct fix): Rearrange some fields. Delete fx_im_disp and
1134 fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
1135 * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
1136 (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
1137 (print_fixup): Don't print im_disp.
1138 * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
1139 and fx_im_disp.
1140 * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
1141 fx_no_overflow when fx_bit_fixP.
1142 * config/tc-dlx.h: Include bit_fix.h.
1143 (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
1144 * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
1145 fx_no_overflow when bit_fixP.
1146 * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
1147 (fix_im_disp, fix_bit_fixP): Adjust to suit.
1148 (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
1149
90bd3c90
AM
11502019-04-16 Alan Modra <amodra@gmail.com>
1151
1152 * write.h (struct fix <fx_where>): Make unsigned.
1153 (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
1154 * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
1155 "size" parameters unsigned long.
1156 (fix_new_internal): Likewise. Adjust error format string to suit.
1157 * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
1158 * config/tc-sparc.c (md_apply_fix): Likewise.
1159 * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
1160 * config/tc-score7.c (s7_convert_frag): Likewise.
1161
871a6bd2
AM
11622019-04-16 Alan Modra <amodra@gmail.com>
1163
1164 * frags.h (struct frag <fr_fix>): Use unsigned type.
1165 * frags.c (frag_new): Assert that current size exceeds
1166 old_frags_var_max_size.
1167 * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
1168 * listing.c (calc_hex): Likewise.
1169 * write.c (cvt_frag_to_fill, write_relocs): Likewise.
1170 * config/tc-arc.c (md_convert_frag): Likewise.
1171 * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
1172 * config/tc-mips.c (md_convert_frag): Likewise.
1173 * config/tc-rl78.c (md_convert_frag): Likewise.
1174 * config/tc-rx.c (md_convert_frag): Likewise.
1175 * config/tc-sparc.c (md_apply_fix): Likewise.
1176 * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
1177 (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
1178
32c36c3c
AV
11792019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1180
1181 * config/tc-arm.c (parse_sys_vldr_vstr): New function.
1182 (OP_VLDR): New enum operand_parse_code enumerator.
1183 (parse_operands): Add logic for OP_VLDR.
1184 (do_t_vldr_vstr_sysreg): New function.
1185 (do_vldr_vstr): Likewise.
1186 (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
1187 (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
1188 Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
1189 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
1190 uses of VLDR and VSTR.
1191 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
1192 above bad uses.
1193 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
1194 VSTR valid uses.
1195 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
1196 above examples.
1197
efd6b359
AV
11982019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1199
1200 * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
1201 (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
1202 enumerators.
1203 (parse_vfp_reg_list): Add new partial_match parameter. Set
1204 *partial_match to TRUE if at least one element in the register list has
1205 matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
1206 register lists which expect VPR as last element in the list.
1207 (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
1208 prototype.
1209 (s_arm_unwind_save_vfp): Likewise.
1210 (enum operand_parse_code): New OP_VRSDVLST enumerator.
1211 (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
1212 Handle new OP_VRSDVLST case.
1213 (do_t_vscclrm): New function.
1214 (insns): New entry for VSCCLRM instruction.
1215 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
1216 instructions.
1217 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
1218 for above instructions.
1219 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
1220 instruction.
1221 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
1222 for above instructions.
1223
4b5a202f
AV
12242019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1225
1226 * config/tc-arm.c (enum reg_list_els): Define earlier and add
1227 REGLIST_RN and REGLIST_CLRM enumerators.
1228 (parse_reg_list): Add etype parameter to distinguish between regular
1229 core register list and CLRM register list. Add logic to
1230 recognize CLRM register list.
1231 (parse_vfp_reg_list): Assert type is not for core register list.
1232 (s_arm_unwind_save_core): Update call to parse_reg_list to new
1233 prototype.
1234 (enum operand_parse_code): Declare OP_CLRMLST enumerator.
1235 (parse_operands): Update call to parse_reg_list to new prototype. Add
1236 logic for OP_CLRMLST.
1237 (encode_thumb2_ldmstm): Rename into ...
1238 (encode_thumb2_multi): This. Add do_io parameter. Add logic to
1239 encode CLRM and guard LDM/STM only code by do_io.
1240 (do_t_ldmstm): Adapt to use encode_thumb2_multi.
1241 (do_t_push_pop): Likewise.
1242 (do_t_clrm): New function.
1243 (insns): Define CLRM.
1244 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
1245 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
1246 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
1247 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
1248 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
1249
60f993ce 12502019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 1251 Andre Vieira <andre.simoesdiasvieira@arm.com>
60f993ce
AV
1252
1253 * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
1254 for the LR operand and optional LR operand.
1255 (parse_operands): Add switch cases for OP_LR and OP_oLR for
1256 both type checking and value checking.
1257 (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
1258 (v8_1_loop_reloc): New helper function for handling labels
1259 for the low overhead loop instructions.
1260 (do_t_loloop): New function to encode DLS, WLS and LE.
1261 (insns): New entries for WLS, DLS and LE.
1262 (md_pcrel_from_section): New switch case
1263 for BFD_RELOC_ARM_THUMB_LOOP12.
1264 (md_appdy_fix): Likewise.
1265 (tc_gen_reloc): Likewise.
1266 * testsuite/gas/arm/armv8_1-m-tloop.s: New.
1267 * testsuite/gas/arm/armv8_1-m-tloop.d: New.
1268 * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
1269 * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
1270 * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
1271
f6b2b12d 12722019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 1273 Andre Vieira <andre.simoesdiasvieira@arm.com>
f6b2b12d
AV
1274
1275 * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
1276 (do_t_v8_1_branch): New switch case for bfcsel.
1277 (toU): Define.
1278 (insns): New instruction for bfcsel.
1279 (md_pcrel_from_section): New switch case
1280 for BFD_RELOC_THUMB_PCREL_BFCSEL.
1281 (md_appdy_fix): Likewise
1282 (tc_gen_reloc): Likewise.
1283 * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
1284 * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
1285
1889da70
AV
12862019-04-15 Sudakshina Das <sudi.das@arm.com>
1287
1288 * config/tc-arm.c (md_pcrel_from_section): New switch case for
1289 BFD_RELOC_ARM_THUMB_BF13.
1290 (md_appdy_fix): Likewise.
1291 (tc_gen_reloc): Likewise.
1292
65d1bc05 12932019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 1294 Andre Vieira <andre.simoesdiasvieira@arm.com>
65d1bc05
AV
1295
1296 * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
1297 (do_t_v8_1_branch): New switch case for bfl.
1298 (insns): New instruction for bfl.
1299 * testsuite/gas/arm/armv8_1-m-bfl.d: New.
1300 * testsuite/gas/arm/armv8_1-m-bfl.s: New.
1301 * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
1302 * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
1303 * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
1304 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
1305 * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
1306
1caf72a5
AV
13072019-04-15 Sudakshina Das <sudi.das@arm.com>
1308
1309 * config/tc-arm.c (md_pcrel_from_section): New switch case for
1310 BFD_RELOC_ARM_THUMB_BF19.
1311 (md_appdy_fix): Likewise.
1312 (tc_gen_reloc): Likewise.
1313
f1c7f421
AV
13142019-04-15 Sudakshina Das <sudi.das@arm.com>
1315
1316 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
1317 (do_t_v8_1_branch): New switch cases for bfx and bflx.
1318 (insns): New instruction for bfx and bflx.
1319 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
1320 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
1321 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
1322 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
1323 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
1324
4389b29a 13252019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 1326 Andre Vieira <andre.simoesdiasvieira@arm.com>
4389b29a
AV
1327
1328 * config/tc-arm.c (T16_32_TAB): New entries for bf.
1329 (do_t_branch_future): New.
1330 (insns): New instruction for bf.
1331 * testsuite/gas/arm/armv8_1-m-bf.d: New.
1332 * testsuite/gas/arm/armv8_1-m-bf.s: New.
1333 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
1334 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
1335 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
1336 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
1337 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
1338
e5d6e09e
AV
13392019-04-15 Sudakshina Das <sudi.das@arm.com>
1340
1341 * config/tc-arm.c (md_pcrel_from_section): New switch case for
1342 BFD_RELOC_ARM_THUMB_BF17.
1343 (md_appdy_fix): Likewise.
1344 (tc_gen_reloc): Likewise.
1345
e2b0ab59
AV
13462019-04-15 Sudakshina Das <sudi.das@arm.com>
1347
1348 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
1349 (arm_it): Member reloc renamed relocs and updated to an array.
1350 Rest: Replace all occurrences of reloc to relocs[0].
1351
e12437dc
AV
13522019-04-15 Sudakshina Das <sudi.das@arm.com>
1353
1354 * config/tc-arm.c (md_pcrel_from_section): New switch case
1355 for BFD_RELOC_THUMB_PCREL_BRANCH5.
1356 (v8_1_branch_value_check): New function to check branch
1357 offsets.
1358 (md_appdy_fix): New switch case for
1359 BFD_RELOC_THUMB_PCREL_BRANCH5.
1360 (tc_gen_reloc): Likewise.
1361
e0991585
AV
13622019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
1363
1364 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
1365 (armv8_1m_main_ext_table): New extension table.
1366 (arm_archs): Use the new extension table.
1367 * doc/c-arm.texi: Add missing arch and document new extensions.
1368 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
1369 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
1370 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
1371
031254f2
AV
13722019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
1373
1374 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
1375 Tag_CPU_arch build attribute value. Reindent.
1376 (get_aeabi_cpu_arch_from_fset): Update assert.
1377 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
1378 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
1379
bdc8beb4
MF
13802019-04-09 Matthew Fortune <matthew.fortune@mips.com>
1381
1382 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
1383 default ASEs for i6400.
1384 * doc/c-mips.texi (-march): Document i6500.
1385 * testsuite/gas/mips/elf_mach_i6400.d: New test.
1386 * testsuite/gas/mips/elf_mach_i6500.d: New test.
1387 * testsuite/gas/mips/mips.exp: Run the new tests.
1388
3315614d
MF
13892019-04-09 Matthew Fortune <matthew.fortune@mips.com>
1390
1391 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
1392 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
1393 (file_mips_check_options): Propagate initial ASE settings.
1394 (mips_after_parse_args, parse_code_option): Track the initial
1395 ASE settings for a CPU.
1396 (s_mipsset): Restore the initial ASE settings when reverting
1397 to the default arch.
1398 * testsuite/gas/mips/elf_mach_p6600.d: New test.
1399 * testsuite/gas/mips/mips.exp: Run the new test.
1400
8114a5c5 14012019-04-12 John Darrington <john@darrington.wattle.id.au>
8f02ae5b 1402
8114a5c5
JD
1403 config/tc-s12z.h: Remove definition of macro TC_M68K
1404
d04ebfb8 14052019-04-01 John Darrington <john@darrington.wattle.id.au>
8f02ae5b 1406
d04ebfb8
JD
1407 config/tc-s12z.c: Use bfd_boolean where appropriate.
1408
c0b4cd46
MF
14092019-04-11 Max Filippov <jcmvbkbc@gmail.com>
1410
1411 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
1412 * testsuite/gas/xtensa/loop-relax.d: New test definition.
1413 * testsuite/gas/xtensa/loop-relax.s: New test source.
1414 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
1415 definition.
1416 * testsuite/gas/xtensa/text-section-literals-2.d: New test
1417 definition.
1418 * testsuite/gas/xtensa/text-section-literals-2.s: New test
1419 source.
1420 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
1421 definition.
1422 * testsuite/gas/xtensa/text-section-literals-3.d: New test
1423 definition.
1424 * testsuite/gas/xtensa/text-section-literals-3.s: New test
1425 source.
1426 * testsuite/gas/xtensa/text-section-literals-4.d: New test
1427 definition.
1428 * testsuite/gas/xtensa/text-section-literals-4.s: New test
1429 source.
1430 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
1431 definition.
1432
6f2b7715
MF
14332019-04-11 Max Filippov <jcmvbkbc@gmail.com>
1434
1435 * testsuite/gas/xtensa/all.exp: Remove all expect-based
1436 tests and all explicit run_dump_test / run_list_test
1437 invocations. Add run_dump_tests for all .d files in the
1438 test subdirectory.
1439 * testsuite/gas/xtensa/entry_align.d: New test definition.
1440 * testsuite/gas/xtensa/entry_align.l: New test output.
1441 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
1442 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
1443 * testsuite/gas/xtensa/j_too_far.d: New test definition.
1444 * testsuite/gas/xtensa/j_too_far.l: New test output.
1445 * testsuite/gas/xtensa/loop_align.d: New test definition.
1446 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
1447 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
1448 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
1449 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
1450
f8aecf3c
MF
14512019-04-11 Max Filippov <jcmvbkbc@gmail.com>
1452
1453 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
1454 no effect.
1455 (get_literal_pool_location): Only search for the literal pool
1456 when auto litpools is used, otherwise take one recorded in the
1457 tc_segment_info_data.
1458 (xtensa_assign_litpool_addresses): New function.
1459 (xtensa_move_literals): Don't duplicate 'literal pool location
1460 required...' error message. Call xtensa_assign_litpool_addresses.
1461
54879176
MF
14622019-04-11 Max Filippov <jcmvbkbc@gmail.com>
1463
1464 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
1465 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
1466 section that records literal pool location.
1467 (md_begin): Call xtensa_mark_literal_pool_location when text
1468 section literals or auto litpools are used.
1469 (xtensa_elf_section_change_hook): Call
1470 xtensa_mark_literal_pool_location when text section literals or
1471 auto litpools are used, there's no literal pool location defined
1472 for the current section and it's not .init or .fini.
1473 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
1474 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
1475 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
1476
bd7ceb8d
SD
14772019-04-11 Sudakshina Das <sudi.das@arm.com>
1478
1479 * config/tc-aarch64.c (process_omitted_operand): Add case for
1480 AARCH64_OPND_Rt_SP.
1481 (parse_operands): Likewise.
1482 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
1483 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1484 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1485 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1486
e54010f1
SD
14872019-04-11 Sudakshina Das <sudi.das@arm.com>
1488
1489 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
1490 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
1491 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
1492 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
1493
a5def729
RO
14942019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1495
1496 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
1497 * testsuite/gas/i386/solaris/solaris.exp: New driver.
1498 * testsuite/gas/i386/solaris/reloc64.d,
1499 testsuite/gas/i386/solaris/x86-64-jump.d,
1500 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
1501 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
1502 testsuite/gas/i386/solaris/x86-64-nop-3.d,
1503 testsuite/gas/i386/solaris/x86-64-nop-4.d,
1504 testsuite/gas/i386/solaris/x86-64-nop-5.d,
1505 testsuite/gas/i386/solaris/x86-64-relax-2.d,
1506 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
1507 * testsuite/gas/i386/reloc64.d,
1508 testsuite/gas/i386/x86-64-jump.d,
1509 testsuite/gas/i386/x86-64-mpx-branch-1.d,
1510 testsuite/gas/i386/x86-64-mpx-branch-2.d,
1511 testsuite/gas/i386/x86-64-nop-3.d,
1512 testsuite/gas/i386/x86-64-nop-4.d,
1513 testsuite/gas/i386/x86-64-nop-5.d,
1514 testsuite/gas/i386/x86-64-relax-2.d,
1515 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
1516
12400dcc
AM
15172019-04-10 Alan Modra <amodra@gmail.com>
1518
1519 * config/te-cloudabi.h: New file.
1520 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
1521 rather than TARGET_OS to select cloudabi.
1522 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
1523 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
1524
7e96e219
RS
15252019-04-09 Robert Suchanek <robert.suchanek@mips.com>
1526
1527 * testsuite/gas/mips/mips.exp: Run hwr-names test.
1528 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
1529 the SEL field.
1530 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
1531
462cac58
L
15322019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1533
1534 * config/tc-i386.c (output_insn): Support
1535 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
1536 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
1537 * testsuite/gas/i386/property-2.d: Updated.
1538 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
1539
3ae61bb6
L
15402019-04-08 H.J. Lu <hongjiu.lu@intel.com>
1541
1542 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
1543 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
1544 check.
1545
4ef40579
L
15462019-04-05 H.J. Lu <hongjiu.lu@intel.com>
1547
1548 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
1549 * testsuite/gas/i386/property-2.d: New file.
1550 * testsuite/gas/i386/property-2.s: Likewise.
1551 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
1552
d6aab7a1
XG
15532019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
1554
1555 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
1556 (cpu_noarch): Add noavx512_bf16.
1557 * doc/c-i386.texi: Document avx512_bf16.
1558 * testsuite/gas/i386/avx512_bf16.d: New file.
1559 * testsuite/gas/i386/avx512_bf16.s: Likewise.
1560 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
1561 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
1562 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
1563 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
1564 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
1565 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
1566 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
1567 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
1568 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
1569 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
1570 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
1571
bec858ea
AM
15722019-04-05 Alan Modra <amodra@gmail.com>
1573
1574 * testsuite/gas/ppc/bc.s,
1575 * testsuite/gas/ppc/bcat.d,
1576 * testsuite/gas/ppc/bcaterr.d,
1577 * testsuite/gas/ppc/bcaterr.l,
1578 * testsuite/gas/ppc/bcy.d,
1579 * testsuite/gas/ppc/bcyerr.d,
1580 * testsuite/gas/ppc/bcyerr.l: New tests.
1581 * testsuite/gas/ppc/ppc.exp: Run them.
1582
c2b1c275
AM
15832019-04-05 Alan Modra <amodra@gmail.com>
1584
1585 * testsuite/gas/ppc/476.d: Remove trailing spaces.
1586 * testsuite/gas/ppc/a2.d: Likewise.
1587 * testsuite/gas/ppc/booke.d: Likewise.
1588 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
1589 * testsuite/gas/ppc/e500.d: Likewise.
1590 * testsuite/gas/ppc/e500mc.d: Likewise.
1591 * testsuite/gas/ppc/e6500.d: Likewise.
1592 * testsuite/gas/ppc/htm.d: Likewise.
1593 * testsuite/gas/ppc/power6.d: Likewise.
1594 * testsuite/gas/ppc/power8.d: Likewise.
1595 * testsuite/gas/ppc/power9.d: Likewise.
1596 * testsuite/gas/ppc/vle.d: Likewise.
1597
aae9718e
PB
15982019-04-04 Peter Bergner <bergner@linux.ibm.com>
1599
1600 PR gas/24349
1601 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
1602 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
1603 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
1604 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
1605 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
1606 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
1607 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
1608 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
1609 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
1610 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
1611 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
1612 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
1613 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
1614 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
1615 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
1616 bttarl+): Add tests of extended mnemonics.
1617 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
1618 to expect new extended mnemonics.
1619 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
1620 to not use illegal BO value. Use a more convenient BI value.
1621 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
1622
403b0b61
MF
16232019-04-03 Max Filippov <jcmvbkbc@gmail.com>
1624
1625 * config/tc-xtensa.c (convert_frag_immed): Drop
1626 convert_frag_immed_finish_loop invocation.
1627 (convert_frag_immed_finish_loop): Drop declaration and
1628 definition.
1629 * config/xtensa-relax.c (widen_spec_list): Replace loop
1630 widening that uses addi/addmi with widening that uses l32r
1631 and const16.
1632
34ef62f4
AV
16332019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
1634
1635 * config/tc-arm.c (arm_ext_table): New struct type.
1636 (arm_arch_option_table): Add new 'arm_ext_table' field.
1637 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
1638 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
1639 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
1640 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
1641 armv85a_ext_table, armv8m_main_ext_table,
1642 armv8r_ext_table): New architecture extension tables.
1643 (ARM_ARCH_OPT): Add new default field.
1644 (ARM_ARCH_OPT2): New macro.
1645 (arm_archs): Extend some architectures with the new architecture
1646 extension tables mentioned above.
1647 (arm_extensions): Add DEPRECATED comment with instructions to
1648 use new table.
1649 (arm_parse_extension): Change to use new extension tables.
1650 (arm_parse_cpu): Don't change existing behavior.
1651 (arm_parse_arch): Change to use new extension tables.
1652 * doc/c-arm.texi: Document new architecture extensions.
1653 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
1654 extension option rather than -mfpu and change expected behaviour to
1655 sane outputs.
1656 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
1657 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
1658 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
1659 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
1660 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
1661 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
1662 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
1663 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
1664 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
1665 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
1666 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
1667 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
1668 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
1669 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
1670 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
1671 * testsuite/gas/arm/armv8m.main+fp.d: New.
1672 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
1673 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
1674 * testsuite/gas/arm/attr-ext-fpv5.d: New.
1675 * testsuite/gas/arm/attr-ext-idiv.d: New.
1676 * testsuite/gas/arm/attr-ext-mp.d: New.
1677 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
1678 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
1679 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
1680 * testsuite/gas/arm/attr-ext-sec.d: New.
1681 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
1682 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
1683 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
1684 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
1685 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
1686 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
1687 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
1688 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
1689 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
1690 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
1691 * testsuite/gas/arm/fpv5-d16.s: New.
1692 * testsuite/gas/arm/fpv5-sp-d16.s: New.
1693
96a86c01
AM
16942019-03-28 Alan Modra <amodra@gmail.com>
1695
1696 PR 24390
1697 * testsuite/gas/ppc/476.d: Update mtfsb*.
1698 * testsuite/gas/ppc/a2.d: Likewise.
1699
86b0c8dd
AM
17002019-03-21 Alan Modra <amodra@gmail.com>
1701
1702 * emul.h (struct emulation): Delete strip_underscore.
1703 * emul-target.h (emul_strip_underscore): Don't define.
1704 (emul_struct_name): Update initialization.
1705
7553c869
AM
17062019-03-21 Alan Modra <amodra@gmail.com>
1707
1708 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
1709 * config/tc-pdp11.c (md_apply_fix): Likewise.
1710 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
1711 BFD_RELOC_16, and BFD_RELOC_64.
1712 * testsuite/gas/all/gas.exp: Move target exclusions for forward
1713 test, but not cr16, to..
1714 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
1715 d10v, d30v, and pdp11 xfails.
1716
392a5972
L
17172019-03-19 H.J. Lu <hongjiu.lu@intel.com>
1718
1719 * config/tc-i386.c (optimize_encoding): Don't check AVX for
1720 EVEX vector load/store optimization. Check both operands for
1721 ZMM register. Update EVEX vector load/store opcode check.
1722 Choose EVEX Disp8 over VEX Disp32.
1723 * testsuite/gas/i386/optimize-1.d: Updated.
1724 * testsuite/gas/i386/optimize-1a.d: Likewise.
1725 * testsuite/gas/i386/optimize-2.d: Likewise.
1726 * testsuite/gas/i386/optimize-4.d: Likewise.
1727 * testsuite/gas/i386/optimize-5.d: Likewise.
1728 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1729 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
1730 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
1731 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1732 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1733 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1734 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
1735 test.
1736 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1737
7b1d7ca1
L
17382019-03-19 H.J. Lu <hongjiu.lu@intel.com>
1739
1740 PR gas/24352
1741 * config/tc-i386.c (optimize_encoding): Check only
1742 cpu_arch_flags.bitfield.cpuavx512vl.
1743 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
1744 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
1745 change.
1746 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
1747 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
1748
89199bb5
L
17492019-03-19 H.J. Lu <hongjiu.lu@intel.com>
1750
1751 PR gas/24359
1752 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
1753 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
1754 Remove optimize-6c and x86-64-optimize-7c tests.
1755 * testsuite/gas/i386/noavx-3.l: Updated.
1756 * testsuite/gas/i386/noavx-4.d: Likewise.
1757 * testsuite/gas/i386/noavx-5.d: Likewise.
1758 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
1759 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
1760 * testsuite/gas/i386/nosse-5.s: Likewise.
1761 * testsuite/gas/i386/optimize-6a.d: Removed.
1762 * testsuite/gas/i386/optimize-6c.d: Likewise.
1763 * testsuite/gas/i386/optimize-7.d: Likewise.
1764 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
1765 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
1766 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
1767 * testsuite/gas/i386/optimize-6a.l: New file.
1768 * testsuite/gas/i386/optimize-6a.s: Likewise.
1769 * testsuite/gas/i386/optimize-7.l: Likewise.
1770 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
1771 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
1772 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
1773
c6cdff46
AM
17742019-03-18 Alan Modra <amodra@gmail.com>
1775
1776 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
af60449c
AM
1777 * as.c (macro_expr): Likewise.
1778 * macro.c (buffer_and_nest): Likewise.
1779 * read.c (temp_ilp): Remove FIXME.
c6cdff46 1780
a716e60c
L
17812019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1782
1783 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
1784 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
1785 * testsuite/gas/i386/avx512bw.d: Likewise.
1786 * testsuite/gas/i386/avx512f-intel.d: Likewise.
1787 * testsuite/gas/i386/avx512f.d: Likewise.
1788 * testsuite/gas/i386/disp32.d: Likewise.
1789 * testsuite/gas/i386/intel-regs.d: Likewise.
1790 * testsuite/gas/i386/pseudos.d: Likewise.
1791 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
1792 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
1793
97ed31ae
L
17942019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1795
1796 PR gas/24348
1797 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
1798 256-bit EVEX vector register load/store instructions as VEX
1799 vector register load/store instructions for -O1.
1800 * doc/c-i386.texi: Update -O1 documentation.
1801 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
1802 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
1803 load/store instructions.
1804 * testsuite/gas/i386/optimize-2.s: Likewise.
1805 * testsuite/gas/i386/optimize-3.s: Likewise.
1806 * testsuite/gas/i386/optimize-5.s: Likewise.
1807 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
1808 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1809 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
1810 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
1811 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
1812 * testsuite/gas/i386/optimize-1.d: Updated.
1813 * testsuite/gas/i386/optimize-2.d: Likewise.
1814 * testsuite/gas/i386/optimize-3.d: Likewise.
1815 * testsuite/gas/i386/optimize-4.d: Likewise.
1816 * testsuite/gas/i386/optimize-5.d: Likewise.
1817 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
1818 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1819 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
1820 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
1821 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
1822 * testsuite/gas/i386/optimize-7.d: New file.
1823 * testsuite/gas/i386/optimize-7.s: Likewise.
1824 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
1825 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
1826
99112332
L
18272019-03-18 H.J. Lu <hongjiu.lu@intel.com>
1828
1829 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
1830 VEX/EVEX vector register clearing instructions with 128-bit VEX
1831 vector register clearing instructions at -O1.
1832 * doc/c-i386.texi: Update -O1 and -O2 documentation.
1833 * testsuite/gas/i386/i386.exp: Run optimize-1a and
1834 x86-64-optimize-2a.
1835 * testsuite/gas/i386/optimize-1a.d: New file.
1836 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
1837
41fd2579
L
18382019-03-17 H.J. Lu <hongjiu.lu@intel.com>
1839
1840 PR gas/24353
1841 * config/tc-i386.c: Include <limits.h> if it exists and try
1842 including <sys/param.h> if we have it.
1843 (INT_MAX): Define if not defined.
1844 (md_parse_option): Set optimize to INT_MAX for -Os.
1845 * testsuite/gas/i386/optimize-2.s: Add a test.
1846 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
1847 * testsuite/gas/i386/optimize-2.d: Updated.
1848 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
1849
dd22218c
L
18502019-03-17 H.J. Lu <hongjiu.lu@intel.com>
1851
1852 PR gas/24352
1853 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
1854 with 128-bit VEX encoding only when AVX is enabled and with
1855 128-bit EVEX encoding only when AVX512VL is enabled.
1856 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
1857 * testsuite/gas/i386/optimize-6.s: New file.
1858 * testsuite/gas/i386/optimize-6a.d: Likewise.
1859 * testsuite/gas/i386/optimize-6b.d: Likewise.
1860 * testsuite/gas/i386/optimize-6c.d: Likewise.
1861 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
1862 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
1863 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
1864 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
1865 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
1866
1c529385
LH
18672019-03-15 Li Hao <li.hao296@zte.com.cn>
1868
1869 PR 24308
1870 * config/tc-i386.c (parse_insn): Check mnemp before using it to
1871 determine if a suffix can be trimmed.
1872
204f543c
CE
18732019-03-13 Christian Eggers <ceggers@gmx.de>
1874
1875 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
1876
145c4477
CE
18772019-03-13 Christian Eggers <ceggers@gmx.de>
1878
1879 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
1880
5c4e5fe6
CE
18812019-03-13 Christian Eggers <ceggers@gmx.de>
1882
1883 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
1884
38c24f42
CE
18852019-03-13 Christian Eggers <ceggers@gmx.de>
1886
1887 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
1888
72354279
CE
18892019-03-13 Christian Eggers <ceggers@gmx.de>
1890
1891 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
1892 (out_debug_aranges, out_debug_info): Likewise.
1893
d18d1999
CE
18942019-03-13 Christian Eggers <ceggers@gmx.de>
1895
1896 * symbols.h (symbol_temp_new_now_octets): Declare.
1897 (symbol_set_value_now_octets, symbol_octets_p): Declare.
1898 * symbols.c (struct symbol_flags): New member sy_octets.
1899 (symbol_temp_new_now_octets): New function.
1900 (resolve_symbol_value): Return octets instead of bytes if
1901 sy_octets is set.
1902 (symbol_set_value_now_octets): New function.
1903 (symbol_octets_p): New function.
1904
71250b94
CE
19052019-03-13 Christian Eggers <ceggers@gmx.de>
1906
1907 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
1908
0919bfe9
AK
19092019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
1910
1911 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
1912 * testsuite/gas/s390/zarch-arch13.d: Likewise.
1913
52d6f3ee
MM
19142019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
1915
1916 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
1917 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
1918 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
1919 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
1920 lines.
1921 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
1922 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
1923
a894d76a
AM
19242019-02-24 Alan Modra <amodra@gmail.com>
1925
1926 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
1927
f616c36b
AM
19282019-02-24 Alan Modra <amodra@gmail.com>
1929
1930 PR 24144
1931 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
1932 of section to ensure file contents cover aligned section size.
1933
83f43c83
KT
19342019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1935
1936 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
1937 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
1938
516dbc44
KT
19392019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1940
1941 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
1942 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
1943
38e75bf2
KT
19442019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1945
1946 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
1947 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
1948
6f2117ba
PH
19492019-02-19 Paul Hua <paul.hua.gm@gmail.com>
1950
1951 * NEWS: Mention -m[no-]fix-loongson3-llsc.
1952 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
1953 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
1954 * config.in: Regenerated.
1955 * configure: Likewise.
1956 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
1957 New variables.
1958 (options): New OPTION_FIX_LOONGSON3_LLSC,
1959 OPTION_NO_FIX_LOONGSON3_LLSC.
1960 (md_longopts): Add -m[no-]fix-loongson3-llsc.
1961 (md_begin): Initialize sync insn.
1962 (fix_loongson3_llsc): New.
1963 (append_insn): Call fix_loongson3_llsc.
1964 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
1965 OPTION_NO_FIX_LOONGSON3_LLSC.
1966 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
1967 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
1968 --enable-mips-fix-loongson3-llsc=[yes|no].
1969
db222310
L
19702019-02-10 H.J. Lu <hongjiu.lu@intel.com>
1971
1972 PR gas/24165
1973 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
1974 max_bytes.
1975 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
1976 aarch64_init_frag.
1977 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
1978 arm_init_frag.
1979 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
1980 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
1981 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
1982 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
1983 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
1984 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
1985 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
1986 * config/tc-score.h (TC_FRAG_INIT): Likewise.
1987 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
1988 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
1989 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
1990 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
1991 (alignment ? ((1 << alignment) - 1) : 1)
1992 (i386_tc_frag_data): Add max_bytes.
1993 (TC_FRAG_INIT): Add and track max_bytes.
1994 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
1995 fragP->tc_frag_data.max_bytes.
1996 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
1997
21820ebe
JW
19982019-02-08 Jim Wilson <jimw@sifive.com>
1999
2000 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
2001 (riscv_ip) <'C'>: Add 'z' support.
2002
f7dd2fb2
TC
20032019-02-07 Tamar Christina <tamar.christina@arm.com>
2004
2005 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
2006 hlt to armv1.
2007 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
2008 * testsuite/gas/arm/hlt.d: New test.
2009 * testsuite/gas/arm/hlt.s: New test.
2010
bd756351
TC
20112019-02-07 Tamar Christina <tamar.christina@arm.com>
2012
2013 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
2014 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
2015
6456d318
TC
20162019-02-07 Tamar Christina <tamar.christina@arm.com>
2017
2018 PR binutils/23212
2019 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
2020 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
2021
0e7e9601
EB
20222019-02-07 Eric Botcazou <ebotcazou@adacore.com>
2023
2024 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
2025 64-bit boundaries for the GR6.
2026 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
2027 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
2028 * testsuite/gas/visium/bra-1.d: New test.
2029 * testsuite/gas/visium/bra-1.s: Likewise.
2030 * testsuite/gas/visium/visium.exp: Run bra-1 test.
2031
c6f14c0d
JD
20322019-01-31 John Darrington <john@darrington.wattle.id.au>
2033
8f02ae5b 2034 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
c6f14c0d
JD
2035 (emit_reloc): New function.
2036 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
2037 can be either 2 bytes or 3 bytes long.
2038 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
2039 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
2040 * testsuite/gas/s12z/s12z.exp: Add them.
2041
91bae991
JD
20422019-01-31 John Darrington <john@darrington.wattle.id.au>
2043
2044 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
2045 * testsuite/gas/s12z/pc-rel-bad.d: New file.
2046 * testsuite/gas/s12z/pc-rel-bad.l: New file.
2047 * testsuite/gas/s12z/pc-rel-bad.s: New file.
2048 * testsuite/gas/s12z/pc-rel-good.d: New file.
2049 * testsuite/gas/s12z/pc-rel-good.s: New file.
2050 * testsuite/gas/s12z/s12z.exp: Add them.
2051
1d4d8669
JD
20522019-01-31 John Darrington <john@darrington.wattle.id.au>
2053
2054 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
2055 * testsuite/gas/s12z/exg.d: New test case.
2056 * testsuite/gas/s12z/exg.l: New file.
2057
8b3a46f9
JD
20582019-01-31 John Darrington <john@darrington.wattle.id.au>
2059
2060 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
2061 immediate mode operands should be permitted.
2062 * testsuite/s12z/imm-dest.d: New file.
2063 * testsuite/s12z/imm-dest.l: New file.
2064 * testsuite/s12z/imm-dest.s: New file.
2065 * testsuite/s12z/s12z.exp: Add them.
2066
fc60b8c8
AK
20672019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
2068
2069 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
2070 * doc/c-s390.texi: Document arch13 march option.
2071 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
2072 * testsuite/gas/s390/zarch-arch13.d: New test.
2073 * testsuite/gas/s390/zarch-arch13.s: New test.
2074 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
2075 also for z13.
2076
3ca4a8ec
AM
20772019-01-31 Alan Modra <amodra@gmail.com>
2078
2079 * config/tc-alpha.c (md_apply_fix): Correct range checks for
2080 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
2081 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
2082 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
2083
75c1c971
MF
20842019-01-28 Max Filippov <jcmvbkbc@gmail.com>
2085
2086 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
2087 symbols as done in md_apply_fix.
2088 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
2089
2d151af7
NC
20902019-01-28 Nick Clifton <nickc@redhat.com>
2091
2092 * po/fr.po: Updated French translation.
2093 * po/ru.po: Updated Russian translation.
2094
e044973b
AM
20952019-01-28 Alan Modra <amodra@gmail.com>
2096
2097 * configure.ac (ac_checking): Set from bfd/development.sh
2098 development variable.
2099 * configure: Regenerate.
2100
e10620d3
TC
21012019-01-25 Sudakshina Das <sudi.das@arm.com>
2102
2103 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
2104 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
2105 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
2106 stg, stzg, st2g and stz2g.
2107 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
2108 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
2109 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
2110
20a4ca55
SD
21112019-01-25 Sudakshina Das <sudi.das@arm.com>
2112
2113 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
2114 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
2115 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
2116 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
2117
550fd7bf
SD
21182019-01-25 Sudakshina Das <sudi.das@arm.com>
2119 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2120
2121 * config/tc-aarch64.c (parse_address_main): Remove support for
2122 [base]! address expression.
2123 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
2124 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
2125 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
2126 and stgv.
2127 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
2128 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
2129 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
2130
10c172ba
WH
21312019-01-25 Wu Heng <wu.heng@zte.com.cn>
2132
2133 PR gas/23940
2134 * macro.c (getstring): Check array bound before accessing.
2135
0c56b5cf
AM
21362019-01-25 Alan Modra <amodra@gmail.com>
2137
2138 PR 20902
2139 PR 24125
2140 * read.c (stringer): Delete assertion.
2141
375cd423
NC
21422019-01-21 Nick Clifton <nickc@redhat.com>
2143
2144 * po/uk.po: Updated Ukranian translation.
2145
f48dfe41
NC
21462019-01-19 Nick Clifton <nickc@redhat.com>
2147
2148 * config.in: Regenerate.
2149 * configure: Regenerate.
2150 * po/gas.pot: Regenerate.
2151
f974f26c
NC
21522018-06-24 Nick Clifton <nickc@redhat.com>
2153
2154 2.32 branch created.
2155
dee3ee22
TC
21562019-01-17 Tamar Christina <tamar.christina@arm.com>
2157
2158 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
2159 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
2160 * testsuite/gas/arm/csdb.d: Skip pe.
2161 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
2162 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
2163 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
2164 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
2165 * testsuite/gas/arm/udf.d: Skip pe.
2166
a4bf3d07
JW
21672019-01-16 Kito Cheng <kito@andestech.com>
2168
2169 * testsuite/gas/riscv/attribute-empty.d: New.
2170
2dc8dd17
JW
21712019-01-16 Kito Cheng <kito@andestech.com>
2172 Nelson Chu <nelson@andestech.com>
2173
2174 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
2175 (riscv_set_options): Add `arch_attr` field.
2176 (riscv_opts): Set default value for arch_attr.
2177 (riscv_write_out_arch_attr): New.
2178 (riscv_set_public_attributes): Likewise.
2179 (riscv_md_end): Likewise.
2180 (riscv_convert_symbolic_attribute): Likewise.
2181 (s_riscv_attribute): Likewise.
2182 (explicit_arch_attr): Likewise.
2183 (riscv_pseudo_table): Add .attribute to the table.
2184 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
2185 enumeration constants.
2186 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
2187 (md_parse_option): Handle the new options.
2188 (md_show_usage): Document the `march-attr' option.
2189 * config/tc-riscv.h (md_end): Define as riscv_md_end
2190 (riscv_md_end): Declare.
2191 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
2192 riscv_convert_symbolic_attribute.
2193 (riscv_convert_symbolic_attribute): Declare.
2194 (start_assemble): Declare.
2195 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
2196 * testsuite/gas/elf/section2.e-riscv: New.
2197 * testsuite/gas/riscv/attribute-01.d: New test
2198 * testsuite/gas/riscv/attribute-02.d: Likewise.
2199 * testsuite/gas/riscv/attribute-03.d: Likewise.
2200 * testsuite/gas/riscv/attribute-04.d: Likewise.
2201 * testsuite/gas/riscv/attribute-04.s: Likewise.
2202 * testsuite/gas/riscv/attribute-05.d: Likewise.
2203 * testsuite/gas/riscv/attribute-05.s: Likewise.
2204 * testsuite/gas/riscv/attribute-06.d: Likewise.
2205 * testsuite/gas/riscv/attribute-06.s: Likewise.
2206 * testsuite/gas/riscv/attribute-07.d: Likewise.
2207 * testsuite/gas/riscv/attribute-07.s: Likewise.
2208 * testsuite/gas/riscv/attribute-08.d: Likewise.
2209 * testsuite/gas/riscv/attribute-08.s: Likewise.
2210 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
2211 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
2212 * testsuite/gas/riscv/empty.l: Likewise.
2213 * doc/c-riscv.texi (.attribute): Add documentation.
2214 * configure.ac (--enable-default-riscv-attribute): New options.
2215 * configure: Re-generate.
2216 * config.in: Re-generate.
2217
d5dcaf1b
JD
22182019-01-16 John Darrington <john@darrington.wattle.id.au>
2219
e7b47f2e
JD
2220 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
2221 before the contents.
2222 * testsuite/gas/s12z/labels.d: New file.
2223 * testsuite/gas/s12z/labels.s: New file.
2224 * testsuite/gas/s12z/s12z.exp: Add them.
2225 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 2226 Also fix message typo and semantics.
e7b47f2e 2227 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
2228 BFD_RELOC_24.
2229 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
2230 of R_S12Z_EXT24.
2231
55e8aae7
SP
22322019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
2233
2234 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
2235 (insns) [ARM_VARIANT]: Modified.
2236 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
2237 in ARMv6T2 as well.
2238 * testsuite/gas/arm/archv6t2-1.d: New test.
2239 * testsuite/gas/arm/archv6t2-1.s: Likewise.
2240 * testsuite/gas/arm/archv6t2-2.d: Likewise.
2241
c7af41ec
AM
22422019-01-11 Alan Modra <amodra@gmail.com>
2243
2244 PR 23963
2245 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
2246 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
2247
12add40e
NC
22482019-01-10 Nick Clifton <nickc@redhat.com>
2249
2250 PR 23963
59aa9b0b
NC
2251 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
2252 fact that control characters are now displayed as escape
2253 sequences.
12add40e
NC
2254 * testsuite/gas/mips/mips16-e.d: Likewise.
2255 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
2256 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
2257 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
2258 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
2259 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
2260 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
2261 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
2262 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
2263 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
2264 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
2265 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
2266 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
2267 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
2268 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
2269 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
2270 Likewise.
2271 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
2272 Likewise.
2273 * testsuite/gas/mips/mipsel16-e.d: Likewise.
2274 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
2275 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
2276 * testsuite/gas/mips/r6-64-n32.d: Likewise.
2277 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2278 * testsuite/gas/mips/r6-n32.d: Likewise.
2279 * testsuite/gas/mips/r6-n64.d: Likewise.
2280 * testsuite/gas/mips/r6.d: Likewise.
2281 * testsuite/gas/mips/tmips16-e.d: Likewise.
2282 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
2283 * testsuite/gas/mn10300/relax.d: Likewise.
2284
39f286cd
JD
22852019-01-09 John Darrington <john@darrington.wattle.id.au>
2286
8f02ae5b 2287 * testsuite/gas/s12z/jsr.s: New case.
39f286cd
JD
2288 * testsuite/gas/s12z/jsr.d: New case.
2289
3107326d
AP
22902019-01-09 Andrew Paprocki <andrew@ishiboo.com>
2291
2292 * configure: Regenerate.
2293
c8fcc360
KT
22942019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2295
2296 * config/tc-aarch64.c (aarch64_cpus): Add ares.
2297 * doc/c-aarch64.texi (-mcpu): Document ares value.
2298
171b8e19
AM
22992019-01-08 Alan Modra <amodra@gmail.com>
2300
2301 * testsuite/gas/rx/rx.exp: Create generated test source in
2302 current directory.
2303 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
2304 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
2305 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
2306 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
2307 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
2308 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
2309 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
2310 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
2311 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
2312 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
2313 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
2314 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
2315 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
2316 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
2317 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
2318 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
2319 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
2320 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
2321 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
2322 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
2323 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
2324 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
2325 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
2326 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
2327 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
2328 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
2329 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
2330 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
2331 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
2332 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
2333 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
2334 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
2335 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
2336 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
2337 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
2338 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
2339 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
2340 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
2341 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
2342 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
2343 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
2344 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
2345 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
2346 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
2347 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
2348 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
2349 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
2350 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
2351 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
2352 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
2353 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
2354 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
2355 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
2356 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
2357 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
2358 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
2359 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
2360 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
2361 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
2362 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
2363 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
2364 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
2365 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
2366 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
2367 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
2368 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
2369 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
2370 * testsuite/gas/rx/xor.d: Add #source line.
2371
ef8df4ca
KT
23722019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2373
2374 * config/tc-arm.c (arm_cpus): Add ares.
2375 * doc/c-arm.texi (-mcpu): Document ares value.
2376
6a25bee8
YS
23772019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
2378
2379 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
2380 (rx_bfield): Add prototype.
2381 (rx_post): Likewise.
2382 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
2383 (DSIZE): Define.
2384 (POST): Define.
2385 (rx_check_v3): New. check v3 type.
2386 (rx_check_dfpu): New. check have double support.
2387 (double_condition_table): New. dcmp<cond> contiditon.
2388 (check_condition): Multiple condition support.
2389 (rx_lex): RXv3 instructions support.
2390 Add parse dcmp<cond> instruction and Double FPU registers.
2391 (immediate): Disable optimize in dmov #imm case.
2392 (displacement): Add double displacement in dmov instraction.
2393 * config/tc-rx.c (rx_use_conventional_section_names):
2394 Invert default value in rx-*-linux target.
2395 (cpu_type): Add additional ELF flags.
2396 (cpu_type_list): Add RXv3.
2397 (md_parse_option): Refer elf_flags from cpu_type_list.
2398 (md_show_usage): Add rxv3 and rxv3-dfpu.
2399 (rx_bytesT): Add post byte.
2400 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
2401 (rx_post): New. Set instruction post byte.
2402 (md_assemble): Add post byte.
2403 doc/c-rx.texi: Add cpu types.
2404 * testsuite/gas/rx/Xtod.d: New.
2405 * testsuite/gas/rx/Xtod.sm: New.
2406 * testsuite/gas/rx/bfmov.d: New.
2407 * testsuite/gas/rx/bfmov.sm: New.
2408 * testsuite/gas/rx/dabs.d: New.
2409 * testsuite/gas/rx/dabs.sm: New.
2410 * testsuite/gas/rx/dadd.d: New.
2411 * testsuite/gas/rx/dadd.sm: New.
2412 * testsuite/gas/rx/dcmp.d: New.
2413 * testsuite/gas/rx/dcmp.sm: New.
2414 * testsuite/gas/rx/ddiv.d: New.
2415 * testsuite/gas/rx/ddiv.sm: New.
2416 * testsuite/gas/rx/dmov.d: New.
2417 * testsuite/gas/rx/dmov.sm: New.
2418 * testsuite/gas/rx/dmul.d: New.
2419 * testsuite/gas/rx/dmul.sm: New.
2420 * testsuite/gas/rx/dneg.d: New.
2421 * testsuite/gas/rx/dneg.sm: New.
2422 * testsuite/gas/rx/dpopm.d: New.
2423 * testsuite/gas/rx/dpopm.sm: New.
2424 * testsuite/gas/rx/dpushm.d: New.
2425 * testsuite/gas/rx/dpushm.sm: New.
2426 * testsuite/gas/rx/dround.d: New.
2427 * testsuite/gas/rx/dround.sm: New.
2428 * testsuite/gas/rx/dsqrt.d: New.
2429 * testsuite/gas/rx/dsqrt.sm: New.
2430 * testsuite/gas/rx/dsub.d: New.
2431 * testsuite/gas/rx/dsub.sm: New.
2432 * testsuite/gas/rx/dtoX.d: New.
2433 * testsuite/gas/rx/dtoX.sm: New.
2434 * testsuite/gas/rx/macros.inc: Add double FPU registers.
2435 * testsuite/gas/rx/mvfdc.d: New.
2436 * testsuite/gas/rx/mvfdc.sm: New.
2437 * testsuite/gas/rx/mvfdr.d: New.
2438 * testsuite/gas/rx/mvfdr.sm: New.
2439 * testsuite/gas/rx/mvtdc.d: New.
2440 * testsuite/gas/rx/mvtdc.sm: New.
2441 * testsuite/gas/rx/rstr.d: New.
2442 * testsuite/gas/rx/rstr.sm: New.
2443 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
2444 * testsuite/gas/rx/save.d: New.
2445 * testsuite/gas/rx/save.sm: New.
2446 * testsuite/gas/rx/xor.d: New.
2447 * testsuite/gas/rx/xor.sm: Add pattern.
2448
1b2ed39c
WH
24492019-01-04 Wu Heng <wu.heng@zte.com.cn>
2450
2451 PR 24010
2452 * macro.c (get_any_string): Check for end of input whilst scanning
2453 for separators.
2454
bdfb4455
WH
24552019-01-04 Wu Heng <wu.heng@zte.com.cn>
2456
2457 PR 24009
2458 * read.c (stringer): Fix handling of missing '>' character at end
2459 of <...> sequence.
2460
82704155
AM
24612019-01-01 Alan Modra <amodra@gmail.com>
2462
2463 Update year range in copyright notice of all files.
2464
d5c04e1b 2465For older changes see ChangeLog-2018
3499769a 2466\f
d5c04e1b 2467Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
2468
2469Copying and distribution of this file, with or without modification,
2470are permitted in any medium without royalty provided the copyright
2471notice and this notice are preserved.
2472
2473Local Variables:
2474mode: change-log
2475left-margin: 8
2476fill-column: 74
2477version-control: never
2478End: