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