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