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