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