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