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