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