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