[gdb/testsuite] Add missing initial prompt read in multidictionary.exp
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
df3a023b
AM
12019-07-23 Alan Modra <amodra@gmail.com>
2
3 * config/obj-elf.c (obj_elf_change_section): Don't emit a fatal
4 error for non-SHF_ALLOC SHF_GNU_MBIND here.
5 (obj_elf_parse_section_letters): Return SHF_GNU_MBIND in new
6 gnu_attr param.
7 (obj_elf_section): Adjust obj_elf_parse_section_letters call.
8 Formatting. Set SHF_GNU_MBIND and elf_osabi from gnu_attr.
9 Emit normal error for non-SHF_ALLOC SHF_GNU_MBIND and wrong osabi.
10 (obj_elf_type): Set elf_osabi for ifunc.
11 * testsuite/gas/elf/section12a.d: xfail msp430 and hpux.
12 * testsuite/gas/elf/section12b.d: Likewise.
13 * testsuite/gas/elf/section13.d: Likewise.
14 * testsuite/gas/elf/section13.l: Adjust expected error.
15
89ebb345
AM
162019-07-23 Alan Modra <amodra@gmail.com>
17
18 * testsuite/gas/elf/section12a.d: Don't skip for rx.
19
236ab0c6
BW
202019-07-22 Barnaby Wilks <barnaby.wilks@arm.com>
21
22 * config/tc-arm.c (do_mve_vqdmladh): Remove check for UNPREDICTABLE.
23 * testsuite/gas/arm/mve-vqdmladh-bad.l: Remove tests.
24 * testsuite/gas/arm/mve-vqdmladh-bad.s: Remove tests.
25 * testsuite/gas/arm/mve-vqdmladh.d: New tests.
26 * testsuite/gas/arm/mve-vqdmladh.s: New tests.
27 * testsuite/gas/arm/mve-vqdmlsdh-bad.l: Remove tests.
28 * testsuite/gas/arm/mve-vqdmlsdh-bad.s: Remove tests.
29 * testsuite/gas/arm/mve-vqdmlsdh.d: New tests.
30 * testsuite/gas/arm/mve-vqdmlsdh.s: New tests.
31
ec38ac46
L
322019-07-19 H.J. Lu <hongjiu.lu@intel.com>
33
34 * testsuite/gas/i386/noextreg.d: Pass -O0 to assembler.
35
231097b0
JM
362019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com>
37
38 * testsuite/gas/bpf/alu.d: Use %r6 instead of %ctx.
39 * testsuite/gas/bpf/lddw-be.d: Likewise.
40 * testsuite/gas/bpf/lddw.d: Likewise.
41 * testsuite/gas/bpf/alu-be.d: Likewise.
42 * testsuite/gas/bpf/alu32.d: Likewise.
43
1802aae8
JM
442019-07-19 Jose E. Marchesi <jose.marchesi@oracle.com>
45
46 * config/tc-bpf.c (pe_lcomm_internal): Adapted from tc-i386.c.
47 (pe_lcomm): Likewise.
48 (md_pseudo_table): Use pe_lcomm to implement .lcomm.
49
ccbdd22f
RS
502019-07-19 Richard Sandiford <richard.sandiford@arm.com>
51
52 * doc/c-aarch64.texi: Remame the +bitperm extension to +sve2-bitperm.
53 * config/tc-aarch64.c (aarch64_features): Likewise.
54 * testsuite/gas/aarch64/illegal-sve2-aes.d: Update accordingly.
55 * testsuite/gas/aarch64/illegal-sve2-sha3.d: Likewise.
56 * testsuite/gas/aarch64/illegal-sve2-sm4.d: Likewise.
57 * testsuite/gas/aarch64/illegal-sve2.d: Likewise.
58 * testsuite/gas/aarch64/sve2.d: Likewise.
59
c213164a
AM
602019-07-19 Alan Modra <amodra@gmail.com>
61
62 * config/tc-ppc.c (ppc_elf_suffix): Map "tls@pcrel", "got@tlsgd@pcrel",
63 "got@tlsld@pcrel", "got@tprel@pcrel", and "got@dtprel@pcrel".
64 (fixup_size, md_assemble): Handle pcrel tls relocs.
65 (ppc_force_relocation, ppc_fix_adjustable): Likewise.
66 (md_apply_fix, tc_gen_reloc): Likewise.
67
d0044bac
JM
682019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com>
69
70 * config/tc-bpf.c: Make .lcomm to get a third argument with the
71 alignment.
72
e0b989a6
JM
732019-07-17 Jose E. Marchesi <jose.marchesi@oracle.com>
74
75 * config/tc-bpf.c (md_pseudo_table): .half, .word and .dword.
d0044bac 76
e0b989a6
JM
77 * testsuite/gas/bpf/data.s: New file.
78 * testsuite/gas/bpf/data.d: Likewise.
79 * testsuite/gas/bpf/data-be.d: Likewise.
80 * testsuite/gas/bpf/bpf.exp: Run data and data-be.
81 * doc/c-bpf.texi (BPF Directives): New section.
82
8dc0818e
JB
832019-07-17 Jan Beulich <jbeulich@suse.com>
84
85 * config/tc-i386.c (check_hle, md_assemble, check_VecOperands,
86 match_template, check_string, build_modrm_byte): Replace
87 operand_type_check(..., anymem) by Operand_Mem ones.
88 (process_operands): Also copy i.flags[] when copying other
89 operand properties.
90
dfd69174
JB
912019-07-16 Jan Beulich <jbeulich@suse.com>
92
93 * config/tc-i386.c (match_template): Adjust regmem reference.
94 Adjust comment and update regmem when swapping operands.
95 (build_modrm_byte): Drop clearing of regmem and stale part of
96 comment. Correct comment. Adjust regmem reference.
97
21df382b
JB
982019-07-16 Jan Beulich <jbeulich@suse.com>
99
100 * config/tc-i386.c (type_names): Replace SReg entries.
101 (pi, check_byte_reg, build_modrm_byte, i386_att_operand,
102 parse_real_register): Switch to using sreg field.
103 (process_operands): Likewise. Extend handling of PUSH/POP of
104 segment registers. Drop dead setting of REX_B.
105 * config/tc-i386-intel.c (i386_intel_simplify_register,
106 i386_intel_operand): Switch to using sreg field.
107 * testsuite/gas/i386/x86-64-opcode.s: Add PUSH/POP of %fs/%gs.
108 * testsuite/gas/i386/x86-64-opcode.d: Adjust expectations.
109 * testsuite/gas/i386/ilp32/x86-64-opcode.d: Use parent dir
110 expectations.
111
3719fd55
JM
1122019-07-15 Jose E. Marchesi <jose.marchesi@oracle.com>
113
114 * testsuite/gas/bpf/mem.s: ldabs instructions do not take a `src'
115 register as an argument.
116 * testsuite/gas/bpf/mem.d: Updated accordingly.
117 * testsuite/gas/bpf/mem-be.d: Likewise.
118 * doc/c-bpf.texi (BPF Opcodes): Update to reflect the correct
119 explicit arguments to ldabs and ldind instructions.
120
92434a14
JM
1212019-07-14 Jose E. Marchesi <jose.marchesi@oracle.com>
122
123 * testsuite/gas/bpf/mem.s: Do not use explicit arguments for
124 ldabs and ldind instructions.
125 * testsuite/gas/bpf/mem.d: Updated accordingly.
126 * testsuite/gas/bpf/mem-be.d: Likewise.
127
d69cd47e
AM
1282019-07-09 Alan Modra <amodra@gmail.com>
129
130 * config/obj-elf.c (elf_frob_symbol): Remove mips hacks.
131 * config/tc-mips.h (tc_frob_symbol): Define.
132 (mips_frob_symbol): Declare.
133 * config/tc-mips.c (s_mips_globl): Don't set BSF_OBJECT for irix.
134 (mips_frob_symbol): Fudge symbols for irix here.
135 * testsuite/gas/elf/type-2.e: Allow random target symbols.
136
98602811
JW
1372019-07-05 Kito Cheng <kito.cheng@sifive.com>
138
139 * doc/c-riscv.texi (Instruction Formats): Add r4 type.
140 * testsuite/gas/riscv/insn.d: Add testcase for r4 type.
141 * testsuite/gas/riscv/insn.s: Ditto.
142
143 * doc/c-riscv.texi (Instruction Formats): Add b and j type.
144 * testsuite/gas/riscv/insn.d: Add test case for b and j type.
145 * testsuite/gas/riscv/insn.s: Ditto.
146
147 * testsuite/gas/riscv/insn.s: Correct instruction type for load
148 and store.
149
150 * testsuite/gas/riscv/insn.d: Using regular expression to match
151 address.
152
153 * doc/c-riscv.texi (Instruction Formats): Fix encoding table for SB
154 type and fix typo.
155
d4693039
JB
1562019-07-04 Jan Beulich <jbeulich@suse.com>
157
158 * config/tc-i386.c (md_parse_option): Don't blindly accept all
159 -Q options.
160 (md_show_usage): Correctly name the ignored -Q option flavors.
161
f2d4ba38
JB
1622019-07-04 Jan Beulich <jbeulich@suse.com>
163
164 * config/obj-elf.c (obj_elf_type): Check for conflicts between
165 old and new types.
166 * config/tc-hppa.h (md_elf_symbol_type_change): New.
167 * doc/as.texi: Mention warning behavior for the ELF flavor of
168 .type.
169 * testsuite/gas/elf/type-2.e, testsuite/gas/elf/type-2.l,
170 testsuite/gas/elf/type-2.s: New.
171 * testsuite/gas/elf/elf.exp: Run new test.
172
077a039f
NC
1732019-07-03 Nick Clifton <nickc@redhat.com>
174
175 * testsuite/gas/aarch64/codealign.d: Update to work with a
176 toolchain configured to generate build notes.
177 * testsuite/gas/aarch64/codealign_1.d: Likewise.
178 * testsuite/gas/aarch64/dwarf.d: Likewise.
179 * testsuite/gas/aarch64/mapmisc.d: Likewise.
180 * testsuite/gas/aarch64/mapping.d: Likewise.
181 * testsuite/gas/aarch64/mapping2.d: Likewise.
182 * testsuite/gas/aarch64/mapping3.d: Likewise.
183 * testsuite/gas/aarch64/mapping4.d: Likewise.
184 * testsuite/gas/aarch64/mapping_5.d: Likewise.
185 * testsuite/gas/aarch64/mapping_6.d: Likewise.
186 * testsuite/gas/aarch64/sve-movprfx_1.d: Likewise.
187 * testsuite/gas/aarch64/sve-movprfx_10.d: Likewise.
188 * testsuite/gas/aarch64/sve-movprfx_11.d: Likewise.
189 * testsuite/gas/aarch64/sve-movprfx_12.d: Likewise.
190 * testsuite/gas/aarch64/sve-movprfx_13.d: Likewise.
191 * testsuite/gas/aarch64/sve-movprfx_14.d: Likewise.
192 * testsuite/gas/aarch64/sve-movprfx_15.d: Likewise.
193 * testsuite/gas/aarch64/sve-movprfx_16.d: Likewise.
194 * testsuite/gas/aarch64/sve-movprfx_17.d: Likewise.
195 * testsuite/gas/aarch64/sve-movprfx_18.d: Likewise.
196 * testsuite/gas/aarch64/sve-movprfx_19.d: Likewise.
197 * testsuite/gas/aarch64/sve-movprfx_2.d: Likewise.
198 * testsuite/gas/aarch64/sve-movprfx_20.d: Likewise.
199 * testsuite/gas/aarch64/sve-movprfx_21.d: Likewise.
200 * testsuite/gas/aarch64/sve-movprfx_22.d: Likewise.
201 * testsuite/gas/aarch64/sve-movprfx_23.d: Likewise.
202 * testsuite/gas/aarch64/sve-movprfx_24.d: Likewise.
203 * testsuite/gas/aarch64/sve-movprfx_25.d: Likewise.
204 * testsuite/gas/aarch64/sve-movprfx_26.d: Likewise.
205 * testsuite/gas/aarch64/sve-movprfx_27.d: Likewise.
206 * testsuite/gas/aarch64/sve-movprfx_3.d: Likewise.
207 * testsuite/gas/aarch64/sve-movprfx_4.d: Likewise.
208 * testsuite/gas/aarch64/sve-movprfx_5.d: Likewise.
209 * testsuite/gas/aarch64/sve-movprfx_6.d: Likewise.
210 * testsuite/gas/aarch64/sve-movprfx_7.d: Likewise.
211 * testsuite/gas/aarch64/sve-movprfx_8.d: Likewise.
212 * testsuite/gas/aarch64/sve-movprfx_9.d: Likewise.
213 * testsuite/gas/aarch64/symbol-variant_pcs-1.d: Likewise.
214 * testsuite/gas/aarch64/symbol-variant_pcs-2.d: Likewise.
215 * testsuite/gas/aarch64/symbol-variant_pcs-3.d: Likewise.
216 * testsuite/gas/all/assign.d: Likewise.
217 * testsuite/gas/all/none.d: Likewise.
218 * testsuite/gas/all/weakref1.d: Likewise.
219 * testsuite/gas/arm/got_prel.d: Likewise.
220 * testsuite/gas/arm/local_function.d: Likewise.
221 * testsuite/gas/arm/mapdir.d: Likewise.
222 * testsuite/gas/arm/mapmisc.d: Likewise.
223 * testsuite/gas/arm/mapping2.d: Likewise.
224 * testsuite/gas/arm/mapping3.d: Likewise.
225 * testsuite/gas/arm/mapping4.d: Likewise.
226 * testsuite/gas/arm/mapsecs.d: Likewise.
227 * testsuite/gas/arm/mapshort-eabi.d: Likewise.
228 * testsuite/gas/arm/thumbrel.d: Likewise.
229 * testsuite/gas/arm/unwind.d: Likewise.
230 * testsuite/gas/cfi/cfi-label.d: Likewise.
231 * testsuite/gas/elf/elf.exp: Likewise.
232 * testsuite/gas/i386/bss.d: Likewise.
233 * testsuite/gas/i386/ifunc-3.d: Likewise.
234 * testsuite/gas/i386/ilp32/mixed-mode-reloc64.d: Likewise.
235 * testsuite/gas/i386/ilp32/quad.d: Likewise.
236 * testsuite/gas/i386/ilp32/reloc64.d: Likewise.
237 * testsuite/gas/i386/ilp32/x86-64-size-1.d: Likewise.
238 * testsuite/gas/i386/ilp32/x86-64-size-3.d: Likewise.
239 * testsuite/gas/i386/ilp32/x86-64-size-5.d: Likewise.
240 * testsuite/gas/i386/ilp32/x86-64-unwind.d: Likewise.
241 * testsuite/gas/i386/mixed-mode-reloc32.d: Likewise.
242 * testsuite/gas/i386/mixed-mode-reloc64.d: Likewise.
243 * testsuite/gas/i386/nop-6.d: Likewise.
244 * testsuite/gas/i386/property-1.d: Likewise.
245 * testsuite/gas/i386/property-2.d: Likewise.
246 * testsuite/gas/i386/relax.d: Likewise.
247 * testsuite/gas/i386/reloc64.d: Likewise.
248 * testsuite/gas/i386/size-1.d: Likewise.
249 * testsuite/gas/i386/size-3.d: Likewise.
250 * testsuite/gas/i386/x86-64-nop-6.d: Likewise.
251 * testsuite/gas/i386/x86-64-property-1.d: Likewise.
252 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
253 * testsuite/gas/i386/x86-64-size-1.d: Likewise.
254 * testsuite/gas/i386/x86-64-size-3.d: Likewise.
255 * testsuite/gas/i386/x86-64-size-5.d: Likewise.
256 * testsuite/gas/i386/x86-64-unwind.d: Likewise.
257 * testsuite/gas/macros/irp.d: Likewise.
258 * testsuite/gas/macros/repeat.d: Likewise.
259 * testsuite/gas/macros/rept.d: Likewise.
260 * testsuite/gas/macros/test2.d: Likewise.
261 * testsuite/gas/macros/test3.d: Likewise.
262 * testsuite/gas/macros/vararg.d: Likewise.
263 * testsuite/gas/ppc/astest2.d: Likewise.
264 * testsuite/gas/ppc/astest2_64.d: Likewise.
265 * testsuite/gas/ppc/astest64.d: Likewise.
266 * testsuite/gas/ppc/power4.d: Likewise.
267 * testsuite/gas/ppc/test1elf64.d: Likewise.
268
163b2c58
BW
2692019-07-02 Barnaby Wilks <barnaby.wilks@arm.com>
270
271 * config/tc-aarch64.c (parse_operands): Add error check.
272 * testsuite/gas/aarch64/diagnostic.l: New test.
273 * testsuite/gas/aarch64/diagnostic.s: New test.
274 * testsuite/gas/aarch64/illegal.l: New tests.
275 * testsuite/gas/aarch64/illegal.s: New tests.
276
01c1ee4a
RS
2772019-07-02 Richard Sandiford <richard.sandiford@arm.com>
278
279 * testsuite/gas/aarch64/sve-movprfx_27.s,
280 * testsuite/gas/aarch64/sve-movprfx_27.d: New test.
281
83adff69
RS
2822019-07-02 Richard Sandiford <richard.sandiford@arm.com>
283
284 * testsuite/gas/aarch64/sve-movprfx_26.s: Also test FCVTZS, FCVTZU,
285 SCVTF, UCVTF, LSR and ASR.
286 * testsuite/gas/aarch64/sve-movprfx_26.d: Update accordingly.
287 * testsuite/gas/aarch64/sve-movprfx_26.l: Likewise.
288
89418844
RS
2892019-07-02 Richard Sandiford <richard.sandiford@arm.com>
290
291 * testsuite/gas/aarch64/sve-movprfx_25.s: Allow CPY Z1.D.P1/M,X1
292 to be prefixed by MOVPRFX.
293 * testsuite/gas/aarch64/sve-movprfx_25.d: Update accordingly.
294 * testsuite/gas/aarch64/sve-movprfx_25.l: Likewise.
295
269b4ded
NC
2962019-07-01 Nick Clifton <nickc@redhat.com>
297
298 PR 24748
299 * write.c (create_note_reloc): Add desc2_offset parameter. Change
300 name of offset parameter to note_offset. Only use desc2_offset
301 when placing addend into REL reloc's address space.
302 (maybe_generate_build_notes): Update parameters passed to
303 create_note_reloc.
304
41be57ca
MM
3052019-07-01 Matthew Malcomson <matthew.malcomson@arm.com>
306
307 * testsuite/gas/aarch64/illegal-sve2-aes.d: Update tests.
308 * testsuite/gas/aarch64/illegal-sve2.l: Update tests.
309 * doc/c-aarch64.texi: Add special note of pmull{t,b}
310 instructions under the sve2-aes architecture extension.
311 * testsuite/gas/aarch64/illegal-sve2.s: Add small size
312 pmull{t,b} instructions.
313 * testsuite/gas/aarch64/sve2.d: Add small size pmull{t,b}
314 disassembly.
315 * testsuite/gas/aarch64/sve2.s: Add small size pmull{t,b}
316 instructions.
317
f2f51cd5
NC
3182019-07-01 Nick Clifton <nickc@redhat.com>
319
320 PR 24738
321 * doc/c-i386.texi (i386-Directives): Add a description of the
322 Value directive.
323
a6ce99e9
NC
3242019-07-01 Nick Clifton <nickc@redhat.com>
325
326 PR 24737
327 * doc/as.texi (Align): Add missing word to description of
328 pseudo-op.
329 (P2align): Likewise.
330
900e33b9
NC
3312019-06-28 Nick Clifton <nickc@redhat.com>
332
333 PR 24735
334 * doc/as.texi (Zero): Fix spelling typo.
335
9d3bf266
JB
3362019-07-01 Jan Beulich <jbeulich@suse.com>
337
338 * config/tc-i386.c (vec_imm4): Delete.
339 (VEX_check_operands): Replace Vec_Imm4 check by CpuXOP with five
340 operands one. Clear Imm<N> by different means.
341 (build_modrm_byte): Adjust comment. Remove dead code. Add and
342 adjust assertions.
343
c3949f43
JB
3442019-07-01 Jan Beulich <jbeulich@suse.com>
345
346 * config/tc-i386.c (output_insn): Adjust recognition of xFENCE
347 insns. Move PadLock special case of prefix emission to 3-byte
348 long base opcode handling.
349 (i386_index_check): Check for CpuPadLock instead of ImmExt.
350
5641ec01
JB
3512019-07-01 Jan Beulich <jbeulich@suse.com>
352
353 * config/tc-i386.c (optimize_encoding): Handle AND / OR with
354 both operands being the same register.
355 * doc/c-i386.texi: Update -O2 documentation.
356 * testsuite/gas/i386/optimize-2.s,
357 testsuite/gas/i386/x86-64-optimize-3.s: Add cases of AND / OR
358 with both operands being the same register.
359 * testsuite/gas/i386/optimize-2.d,
360 testsuite/gas/i386/x86-64-optimize-3.d: Adjust expectations.
361 * testsuite/gas/i386/optimize-2b.d,
362 testsuite/gas/i386/x86-64-optimize-3b.d: New.
363 * testsuite/gas/i386/i386.exp: Run new test.
364
79dec6b7
JB
3652019-07-01 Jan Beulich <jbeulich@suse.com>
366
367 * config/tc-i386.c (commutative): New.
368 (build_vex_prefix): Handle commutative case.
369 (optimize_encoding): Set commutative flag when appropriate.
370 * doc/c-i386.texi: Update -O2 documentation.
371 * testsuite/gas/i386/ilp32/x86-64-sse2avx.d: Re-use parent dir
372 output.
373 * testsuite/gas/i386/x86-64-sse2avx.s: Add tests with high
374 numbered source operands.
375 * testsuite/gas/i386/x86-64-optimize-2.d,
376 testsuite/gas/i386/x86-64-optimize-2b.d,
377 testsuite/gas/i386/x86-64-optimize-3.d,
378 testsuite/gas/i386/x86-64-optimize-5.d,
379 testsuite/gas/i386/x86-64-optimize-6.d,
380 testsuite/gas/i386/x86-64-sse2avx.d: Adjust expectations.
381 * testsuite/gas/i386/x86-64-avx-swap-2.d,
382 testsuite/gas/i386/x86-64-avx-swap-2.s: New.
383 * testsuite/gas/i386/i386.exp: Run new test.
384
a80195f1
JB
3852019-07-01 Jan Beulich <jbeulich@suse.com>
386
387 * config/tc-i386.c (is_evex_encoding): Don't check for SAE.
388 (check_VecOperands): Simplify static rounding / SAE checking.
389
a0a1771e
JB
3902019-07-01 Jan Beulich <jbeulich@suse.com>
391
392 * config/tc-i386.c (optimize_encoding): Make j unsigned. Handle
393 vpand{d,q}, vpandn{d,q}, vpor{d,q}, and vpxor{d,q}. Also check/
394 clear broadcast. Eliminate a loop.
395 * doc/c-i386.texi: Update -O1 documentation.
396 * testsuite/gas/i386/optimize-1.s,
397 testsuite/gas/i386/optimize-2.s,
398 testsuite/gas/i386/optimize-3.s,
399 testsuite/gas/i386/optimize-5.s,
400 testsuite/gas/i386/x86-64-optimize-2.s,
401 testsuite/gas/i386/x86-64-optimize-3.s,
402 testsuite/gas/i386/x86-64-optimize-4.s,
403 testsuite/gas/i386/x86-64-optimize-6.s: Add vpand{d,q},
404 vpandn{d,q}, vpor{d,q}, and vpxor{d,q} cases.
405 testsuite/gas/i386/optimize-1.d,
406 testsuite/gas/i386/optimize-1a.d,
407 testsuite/gas/i386/optimize-2.d,
408 testsuite/gas/i386/optimize-3.d,
409 testsuite/gas/i386/optimize-4.d,
410 testsuite/gas/i386/optimize-5.d,
411 testsuite/gas/i386/x86-64-optimize-2.d,
412 testsuite/gas/i386/x86-64-optimize-2a.d,
413 testsuite/gas/i386/x86-64-optimize-2b.d,
414 testsuite/gas/i386/x86-64-optimize-3.d,
415 testsuite/gas/i386/x86-64-optimize-4.d,
416 testsuite/gas/i386/x86-64-optimize-5.d,
417 testsuite/gas/i386/x86-64-optimize-6.d: Adjust expectations.
418
cd546e7b
JB
4192019-07-01 Jan Beulich <jbeulich@suse.com>
420
421 * testsuite/gas/i386/avx512f_vpclmulqdq.s,
422 testsuite/gas/i386/avx512vl_vpclmulqdq.s,
423 testsuite/gas/i386/vpclmulqdq.s,
424 testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.s,
425 testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.s: Add pseudo ops.
426 * testsuite/gas/i386/x86-64-vpclmulqdq.s: Likewise. Don't use
427 high 16 [xy]mm registers.
428 * testsuite/gas/i386/avx512f_vpclmulqdq.d,
429 testsuite/gas/i386/avx512f_vpclmulqdq-intel.d,
430 testsuite/gas/i386/avx512vl_vpclmulqdq.d,
431 testsuite/gas/i386/avx512vl_vpclmulqdq-intel.d,
432 testsuite/gas/i386/vpclmulqdq.d,
433 testsuite/gas/i386/vpclmulqdq-intel.d,
434 testsuite/gas/i386/x86-64-avx512f_vpclmulqdq.d,
435 testsuite/gas/i386/x86-64-avx512f_vpclmulqdq-intel.d,
436 testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq.d,
437 testsuite/gas/i386/x86-64-avx512vl_vpclmulqdq-intel.d,
438 testsuite/gas/i386/x86-64-vpclmulqdq.d,
439 testsuite/gas/i386/x86-64-vpclmulqdq-intel.d: Adjust
440 expectations.
441
d583596c
JB
4422019-07-01 Jan Beulich <jbeulich@suse.com>
443
444 * tc-i386.c (output_disp, output_imm): Use encoding_length.
445
9c33702b
JB
4462019-07-01 Jan Beulich <jbeulich@suse.com>
447
448 * tc-i386.c (encoding_length): New.
449 (output_insn): Use it.
450 * testsuite/gas/i386/oversized16.l,
451 testsuite/gas/i386/oversized16.s,
452 testsuite/gas/i386/oversized64.l,
453 testsuite/gas/i386/oversized64.s: New.
454 * testsuite/gas/i386/i386.exp: Run new tests.
455
e395f487
L
4562019-06-27 H.J. Lu <hongjiu.lu@intel.com>
457
458 PR binutils/24719
459 * testsuite/gas/i386/disassem.s: Add test for vgatherpf0dps
460 with invalid vector length.
461 * testsuite/gas/i386/x86-64-disassem.s: Likewise.
462 * testsuite/gas/i386/disassem.d: Updated.
463 * testsuite/gas/i386/x86-64-disassem.d: Likewise.
464
ba85f98c
BW
4652019-06-27 Barnaby Wilk s<barnaby.wilks@arm.com>
466
467 * config/tc-arm.c (do_smc): Add range check for immediate operand.
468 (do_t_smc): Add range check for immediate operand. Remove
469 obsolete immediate encoding.
470 (md_apply_fix): Fix range check. Remove obsolete immediate encoding.
471 * testsuite/gas/arm/arch6zk.d: Fix test.
472 * testsuite/gas/arm/arch6zk.s: Fix test.
473 * testsuite/gas/arm/smc-bad.d: New test.
474 * testsuite/gas/arm/smc-bad.l: New test.
475 * testsuite/gas/arm/smc-bad.s: New test.
476 * testsuite/gas/arm/thumb32.d: Fix test.
477 * testsuite/gas/arm/thumb32.s: Fix test.
478
c1dc7af5
JB
4792019-06-27 Jan Beulich <jbeulich@suse.com>
480
481 config/tc-i386.c (md_assemble): Check for protected mode
482 incapable processor before encoding VEX and alike insns.
483 * testsuite/gas/i386/inval-16.s: For 80186 architecture.
484 * testsuite/gas/i386/inval-16.l: Adjust expectations.
485 * testsuite/gas/i386/avx-16bit.d,
486 testsuite/gas/i386/avx-16bit.s,
487 testsuite/gas/i386/avx512f-16bit.d,
488 testsuite/gas/i386/avx512f-16bit.s,
489 testsuite/gas/i386/bmi-16bit.d,
490 testsuite/gas/i386/bmi-16bit.s,
491 testsuite/gas/i386/bmi2-16bit.d,
492 testsuite/gas/i386/bmi2-16bit.s,
493 testsuite/gas/i386/lwp-16bit.d,
494 testsuite/gas/i386/lwp-16bit.s: New
495 testsuite/gas/i386/i386.exp: Run new tests.
496
65bd2729
JW
4972019-06-26 Jim Wilson <jimw@sifive.com>
498
499 * testsuite/gas/xstormy16/allinsn.sh: Change first line to
500 #!/bin/bash and make it executable.
501 * testsuite/gas/xstormy16/gcc.sh: Likewise.
502
aa108c0c
LC
5032019-06-26 Lili Cui <lili.cui@intel.com>
504
505 * doc/c-i386.texi: Document x/y/z instruction sufffixes in AT&T
506 syntax and xmmword/ymmword/zmmword/fword/tbyte/oword ptr in
507 Intel syntax.
508
9b444f95
FS
5092019-06-25 Faraz Shahbazker <fshahbazker@wavecomp.com>
510
511 * config/tc-mips.c (macro) <M_LI>: Re-order MTHC1 with
512 respect to MTC1 and use $0 for either part where possible.
513 * testsuite/gas/mips/li-d.s: Add test cases for non-zero
514 words in double precision constants.
515 * testsuite/gas/mips/li-d.d: Update reference output.
516 * testsuite/gas/mips/micromips@isa-override-1.d: Likewise.
517 * testsuite/gas/mips/mips32r2@isa-override-1.d: Likewise.
518 * testsuite/gas/mips/mips64r2@isa-override-1.d: Likewise.
519
2c703856
JB
5202019-06-25 Jan Beulich <jbeulich@suse.com>
521
522 * tc-i386.c (acc32, acc64): Delete.
523 (pi): Make first parameter pinter-to-const.
524 (type_names): Remove Acc. Add acc8, acc16, acc32, and acc64.
525 (pt): Use operand_type_equal().
526 (match_template): Replace use of acc32.
527 (process_suffix): Replace use of acc64.
528
4970191f
JB
5292019-06-25 Jan Beulich <jbeulich@suse.com>
530
531 * doc/c-i386.texi: Mark -mavxscalar= and -mvexwig as dangrous to
532 use.
533
a38d7118
JB
5342019-06-25 Jan Beulich <jbeulich@suse.com>
535
536 * tc-i386.c (process_suffix): Use is_any_vex_encoding().
537
e1a1babd
JB
5382019-06-25 Jan Beulich <jbeulich@suse.com>
539
540 * testsuite/gas/i386/sse2-16bit.d,
541 testsuite/gas/i386/sse2-16bit.s: New.
542 testsuite/gas/i386/i386.exp: Run new test.
543
b8364fa7
JB
5442019-06-25 Jan Beulich <jbeulich@suse.com>
545
546 * config/tc-i386.c (optimize_encoding): Also handle ANDQ with
547 immediatie fitting in 7 bits.
548 * testsuite/gas/i386/x86-64-optimize-1.s: Add ANDQ cases with
549 7- and 8-bit immediates.
550 * testsuite/gas/i386/x86-64-optimize-1.d: Adjust expectations.
551
2a410bd1
JB
5522019-06-25 Jan Beulich <jbeulich@suse.com>
553
554 * testsuite/gas/i386/xmmword.s: Add cvtps2pi and cvttps2pi
555 tests.
556 * testsuite/gas/i386/xmmword.l: Adjust expectations.
557
de626965
AM
5582019-06-25 Alan Modra <amodra@gmail.com>
559
560 * config/tc-ppc.c (ppc_handle_align): Add parentheses.
561
22f72c48
AM
5622019-06-25 Alan Modra <amodra@gmail.com>
563
564 * config/tc-ppc.h (ppc_nop_select): Declare.
565 (NOP_OPCODE): Define.
566 * config/tc-ppc.c (ppc_elf_end, ppc_xcoff_end): Zero ppc_cpu.
567 (ppc_nop_encoding_for_rs_align_code): New enum.
568 (ppc_nop_select): New function.
569 (ppc_handle_align): Don't use ppc_cpu here. Get nop type from frag.
570 * testsuite/gas/ppc/groupnop.d,
571 * testsuite/gas/ppc/groupnop.s: New test.
572 * testsuite/gas/ppc/ppc.exp: Run it.
573
f0a6222e
L
5742019-06-19 H.J. Lu <hongjiu.lu@intel.com>
575
576 PR binutils/24700
577 * testsuite/gas/i386/disassem.s: Add test for vbroadcasti32x8
578 with invalid vector length.
579 * testsuite/gas/i386/x86-64-disassem.s: Likewise.
580 * testsuite/gas/i386/disassem.d: Updated.
581 * testsuite/gas/i386/x86-64-disassem.d: Likewise.
582
6e1c90b7
L
5832019-06-17 H.J. Lu <hongjiu.lu@intel.com>
584
585 PR binutils/24691
586 * testsuite/gas/i386/disassem.s: Add test for vshuff32x4 with
587 invalid vector length.
588 * testsuite/gas/i386/x86-64-disassem.s: Likewise.
589 * testsuite/gas/i386/disassem.d: Updated.
590 * testsuite/gas/i386/x86-64-disassem.d: Likewise.
591
3a3a077c
AM
5922019-06-14 Alan Modra <amodra@gmail.com>
593
594 * Makefile.in: Regenerate.
595 * configure: Regenerate.
596 * doc/Makefile.in: Regenerate.
597
a0e44ef5
PB
5982019-06-12 Peter Bergner <bergner@linux.ibm.com>
599
600 * testsuite/gas/ppc/power9.d: Delete ldmx tests.
601 * testsuite/gas/ppc/power9.s: Likewise.
602
dd455cf5
L
6032019-06-06 Lili Cui <lili.cui@intel.com>
604
605 * config/tc-i386.c (cpu_arch): Add .enqcmd.
606 (cpu_noarch): Add noenqcmd.
607 * doc/c-i386.texi: Document noenqcmd.
608
12efd68d
L
6092019-06-05 H.J. Lu <hongjiu.lu@intel.com>
610
611 PR binutils/24633
612 * testsuite/gas/i386/disassem.s: Add tests for invalid vector
613 lengths for EVEX vextractfXX and vinsertfXX.
614 * testsuite/gas/i386/x86-64-disassem.s: Likewise.
615 * testsuite/gas/i386/disassem.d: Updated.
616 * testsuite/gas/i386/x86-64-disassem.d: Likewise.
617
63c6fc6c
L
6182019-06-04 H.J. Lu <hongjiu.lu@intel.com>
619
620 PR binutils/24626
621 * testsuite/gas/i386/disassem.s: Add tests for reserved VEX.vvvv
622 and EVEX.vvvv.
623 * testsuite/gas/i386/x86-64-disassem.s: Likewise.
624 * testsuite/gas/i386/disassem.d: Updated.
625 * testsuite/gas/i386/x86-64-disassem.d: Likewise.
626
9186c494
L
6272019-06-04 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
628 Lili Cui <lili.cui@intel.com>
629
630 * config/tc-i386.c (cpu_arch): Add .avx512_vp2intersect.
631 (cpu_noarch): Likewise.
632 * doc/c-i386.texi: Document avx512_vp2intersect.
633 * testsuite/gas/i386/i386.exp: Run vp2intersect tests.
634 * testsuite/gas/i386/vp2intersect-intel.d: New test.
635 * testsuite/gas/i386/vp2intersect.d: Likewise.
636 * testsuite/gas/i386/vp2intersect.s: Likewise.
637 * testsuite/gas/i386/vp2intersect-inval-bcast.l: Likewise.
638 * testsuite/gas/i386/vp2intersect-inval-bcast.s: Likewise.
639 * testsuite/gas/i386/x86-64-vp2intersect-intel.d: Likewise.
640 * testsuite/gas/i386/x86-64-vp2intersect.d: Likewise.
641 * testsuite/gas/i386/x86-64-vp2intersect.s: Likewise.
642 * testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.l: Likewise.
643 * testsuite/gas/i386/x86-64-vp2intersect-inval-bcast.s: Likewise.
644
5d79adc4
L
6452019-06-04 Xuepeng Guo <xuepeng.guo@intel.com>
646 Lili Cui <lili.cui@intel.com>
647
8d01b531
L
648 * doc/c-i386.texi: Document enqcmd.
649 * testsuite/gas/i386/enqcmd-intel.d: New file.
650 * testsuite/gas/i386/enqcmd-inval.l: Likewise.
651 * testsuite/gas/i386/enqcmd-inval.s: Likewise.
652 * testsuite/gas/i386/enqcmd.d: Likewise.
653 * testsuite/gas/i386/enqcmd.s: Likewise.
654 * testsuite/gas/i386/x86-64-enqcmd-intel.d: Likewise.
655 * testsuite/gas/i386/x86-64-enqcmd-inval.l: Likewise.
656 * testsuite/gas/i386/x86-64-enqcmd-inval.s: Likewise.
657 * testsuite/gas/i386/x86-64-enqcmd.d: Likewise.
658 * testsuite/gas/i386/x86-64-enqcmd.s: Likewise.
659 * testsuite/gas/i386/i386.exp: Run enqcmd-intel, enqcmd-inval,
660 enqcmd, x86-64-enqcmd-intel, x86-64-enqcmd-inval,
661 and x86-64-enqcmd.
5d79adc4 662
4288405d
JW
6632019-05-30 Jim Wilson <jimw@sifive.com>
664
665 * config/tc-riscv.c (riscv_ip) <'u'>: Move O_constant check inside if
666 statement. Delete O_symbol and O_constant check after if statement.
667 * testsuite/gas/riscv/auipc-parsing.s: Test lui with missing %hi.
668 * testsuite/gas/riscv/auipc-parsing.l: Update.
669
a2f4b66c
L
6702019-05-28 H.J. Lu <hongjiu.lu@intel.com>
671
672 PR gas/24625
673 * testsuite/gas/i386/inval-avx512f.s: Add tests for AVX512_BF16
674 instructions with invalid broadcast.
675 * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise.
676 * testsuite/gas/i386/inval-avx512f.l: Updated.
677 * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise.
678
5f63875b
AM
6792019-05-27 Alan Modra <amodra@gmail.com>
680
681 * config/tc-ppc.c (is_ppc64_target): New function.
682 (md_show_usage): Split up usage message. Don't show -a64 when
683 unsupported.
684 testsuite/gas/ppc/ppc.exp (supports_ppc64): New.
685 (prefix-reloc): Only run for ppc64.
686
0b4eac57
SN
6872019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
688
689 * config/tc-aarch64.c (aarch64_elf_copy_symbol_attributes): Define.
690 * config/tc-aarch64.h (aarch64_elf_copy_symbol_attributes): Declare.
691 (OBJ_COPY_SYMBOL_ATTRIBUTES): Define.
692 * testsuite/gas/aarch64/symbol-variant_pcs-3.d: New test.
693 * testsuite/gas/aarch64/symbol-variant_pcs-3.s: New test.
694
f166ae01
SN
6952019-05-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
696
697 * config/tc-aarch64.c (s_variant_pcs): New function.
698 * doc/c-aarch64.texi: Document .variant_pcs.
699 * testsuite/gas/aarch64/symbol-variant_pcs-1.d: New test.
700 * testsuite/gas/aarch64/symbol-variant_pcs-1.s: New test.
701 * testsuite/gas/aarch64/symbol-variant_pcs-2.d: New test.
702 * testsuite/gas/aarch64/symbol-variant_pcs-2.s: New test.
703
405b5bd8
AM
7042019-05-24 Alan Modra <amodra@gmail.com>
705
706 * po/POTFILES.in: Regenerate.
707
5663e321
AM
7082019-05-24 Alan Modra <amodra@gmail.com>
709
710 * config/tc-ppc.c (ppc_elf_suffix): Support @pcrel, @got@pcrel,
711 @plt@pcrel, @higher34, @highera34, @highest34, and @highesta34.
712 (fixup_size): Handle new powerxx relocs.
713 (md_assemble): Warn for @pcrel on non-prefix insns.
714 Accept @l, @h and @ha on prefix insns, and infer reloc without
715 any @ suffix. Translate powerxx relocs to suit DQ and DS field
716 instructions. Include operand tests as well as opcode test to
717 translate BFD_RELOC_HI16_S to BFD_RELOC_PPC_16DX_HA.
718 (ppc_fix_adjustable): Return false for pcrel GOT and PLT relocs.
719 (md_apply_fix): Handle new powerxx relocs.
720 * config/tc-ppc.h (TC_FORCE_RELOCATION_SUB_LOCAL): Accept
721 BFD_RELOC_PPC64_ADDR16_HIGHER34, BFD_RELOC_PPC64_ADDR16_HIGHERA34,
722 BFD_RELOC_PPC64_ADDR16_HIGHEST34, BFD_RELOC_PPC64_ADDR16_HIGHESTA34,
723 BFD_RELOC_PPC64_D34, and BFD_RELOC_PPC64_D28.
724 * testsuite/gas/ppc/prefix-reloc.d,
725 * testsuite/gas/ppc/prefix-reloc.s: New test.
726 * testsuite/gas/ppc/ppc.exp: Run it.
727
8acf1435
PB
7282019-05-24 Peter Bergner <bergner@linux.ibm.com>
729 Alan Modra <amodra@gmail.com>
730
731 * config/tc-ppc.c (ppc_insert_operand): Only sign extend fields that
732 are 32-bits or smaller.
733 * messages.c (as_internal_value_out_of_range): Do not truncate
734 variables and use BFD_VMA_FMT to print them.
735 * testsuite/gas/ppc/prefix-pcrel.s,
736 * testsuite/gas/ppc/prefix-pcrel.d: New test.
737 * testsuite/gas/ppc/ppc.exp: Run it.
738
dd7efa79
PB
7392019-05-24 Peter Bergner <bergner@linux.ibm.com>
740 Alan Modra <amodra@gmail.com>
741
742 * config/tc-ppc.c (ppc_setup_opcodes): Handle prefix_opcodes.
743 (struct insn_label_list): New.
744 (insn_labels, free_insn_labels): New variables.
745 (ppc_record_label, ppc_clear_labels, ppc_start_line_hook): New funcs.
746 (ppc_frob_label, ppc_new_dot_label): Move functions earlier in file
747 and call ppc_record_label.
748 (md_assemble): Handle 64-bit prefix instructions. Align labels
749 that are on the same line as a prefix instruction.
750 * config/tc-ppc.h (tc_frob_label, ppc_frob_label): Move to
751 later in the file.
752 (md_start_line_hook): Define.
753 (ppc_start_line_hook): Declare.
754 * testsuite/gas/ppc/prefix-align.d,
755 * testsuite/gas/ppc/prefix-align.s: New test.
756 * testsuite/gas/ppc/ppc.exp: Run new test.
757
f8861f5d
JM
7582019-05-23 Jose E. Marchesi <jose.marchesi@oracle.com>
759
760 * configure.ac: Handle bpf-*-* targets.
761 * configure.tgt (generic_target): Likewise.
762 * configure: Regenerate.
763 * Makefile.am (TARGET_CPU_CFILES): Add tc-bpf.c.
764 (TARGET_CPU_HFILES): Add tc-bpf.h.
765 * Makefile.in: Regenerated.
766 * config/tc-bpf.c: New file.
767 * config/tc-bpf.h: Likewise.
768 * doc/Makefile.am (CPU_DOCS): Add c-bpf.texi.
769 * doc/Makefile.in: Regenerated.
770 * doc/all.texi: set BPF.
771 * doc/as.texi: Add eBPF contents.
772 * doc/c-bpf.texi: New file.
773 * testsuite/gas/bpf/alu.d: New file.
774 * testsuite/gas/bpf/mem-be.d: Likewise.
775 * testsuite/gas/bpf/mem.s: Likewise.
776 * testsuite/gas/bpf/mem.d: Likewise.
777 * testsuite/gas/bpf/lddw-be.d: Likewise.
778 * testsuite/gas/bpf/lddw.s: Likewise.
779 * testsuite/gas/bpf/lddw.d: Likewise.
780 * testsuite/gas/bpf/jump-be.d: Likewise.
781 * testsuite/gas/bpf/jump.s: Likewise.
782 * testsuite/gas/bpf/jump.d: Likewise.
783 * testsuite/gas/bpf/exit-be.d: Likewise.
784 * testsuite/gas/bpf/exit.s: Likewise.
785 * testsuite/gas/bpf/exit.d: Likewise.
786 * testsuite/gas/bpf/call-be.d: Likewise.
787 * testsuite/gas/bpf/call.s: Likewise.
788 * testsuite/gas/bpf/call.d: Likewise.
789 * testsuite/gas/bpf/bpf.exp: Likewise.
790 * testsuite/gas/bpf/atomic-be.d: Likewise.
791 * testsuite/gas/bpf/atomic.s: Likewise.
792 * testsuite/gas/bpf/atomic.d: Likewise.
793 * testsuite/gas/bpf/alu-be.d: Likewise.
794 * testsuite/gas/bpf/alu32-be.d: Likewise.
795 * testsuite/gas/bpf/alu32.s: Likewise.
796 * testsuite/gas/bpf/alu32.d: Likewise.
797 * testsuite/gas/bpf/alu.s: Likewise.
798 * testsuite/gas/all/gas.exp: Introduce a nop_type for eBPF.
799 * testsuite/gas/all/org-1.s: Support nop_type 6.
800 * testsuite/gas/all/org-1.l: Updated to reflect changes in
801 org-1.s.
802
22c6ccb8
JD
8032019-05-22 John Darrington <john@darrington.wattle.id.au>
804
805 * config/tc-s12z.c (s12z_strtol): New function. (md_show_usage): Update.
806 (md_parse_option): new case OPTION_DOLLAR_HEX. (s12z_init_after_args):
807 (<global>): Use s12z_strtol instead of strtol.
808 * doc/c-s12z.texi (S12Z Options): Document new option -mdollar-hex.
809 * testsuite/gas/s12z/dollar-hex.d: New file.
810 * testsuite/gas/s12z/dollar-hex.s: New file.
811 * testsuite/gas/s12z/s12z.exp: Add them.
812
ba6cd17f
SD
8132019-05-21 Sudakshina Das <sudi.das@arm.com>
814
815 * config/tc-arm.c (parse_operands): Update case OP_RVC to
816 parse p0 and P0.
817 (do_vmrs): Add checks for valid operands with respect to
818 cpu and fpu options.
819 (do_vmsr): Likewise.
820 (reg_names): New reg_names for FPSCR_nzcvqc, VPR, FPCXT_NS
821 and FPCXT_S.
822 * testsuite/gas/arm/armv8_1-m-spec-reg.d: New.
823 * testsuite/gas/arm/armv8_1-m-spec-reg.s: New.
824 * testsuite/gas/arm/armv8_1-m-spec-reg-bad1.d: New.
825 * testsuite/gas/arm/armv8_1-m-spec-reg-bad2.d: New.
826 * testsuite/gas/arm/armv8_1-m-spec-reg-bad3.d: New.
827 * testsuite/gas/arm/armv8_1-m-spec-reg-bad1.l: New.
828 * testsuite/gas/arm/armv8_1-m-spec-reg-bad2.l: New.
829 * testsuite/gas/arm/armv8_1-m-spec-reg-bad3.l: New.
830 * testsuite/gas/arm/vfp1xD.d: Updated to allow new valid values.
831 * testsuite/gas/arm/vfp1xD_t2.d: Likewise.
832
e39c1607
SD
8332019-05-21 Sudakshina Das <sudi.das@arm.com>
834
835 * config/tc-arm.c (TOGGLE_BIT): New.
836 (T16_32_TAB): New entries for cinc, cinv, cneg, csinc,
837 csinv, csneg, cset, csetm and csel.
838 (operand_parse_code): New OP_RR_ZR.
839 (parse_operand): Handle case for OP_RR_ZR.
840 (do_t_cond): New.
841 (insns): New instructions for cinc, cinv, cneg, csinc,
842 csinv, csneg, cset, csetm, csel.
843 * testsuite/gas/arm/armv8_1-m-cond-bad.d: New test.
844 * testsuite/gas/arm/armv8_1-m-cond-bad.l: New test.
845 * testsuite/gas/arm/armv8_1-m-cond-bad.s: New test.
846 * testsuite/gas/arm/armv8_1-m-cond.d: New test.
847 * testsuite/gas/arm/armv8_1-m-cond.s: New test.
848
23d00a41
SD
8492019-05-21 Sudakshina Das <sudi.das@arm.com>
850
851 * config/tc-arm.c (operand_parse_code): New entries for
852 OP_RRnpcsp_I32 (register or integer operands).
853 (do_mve_scalar_shift): New.
854 (insns): New instructions for asrl, lsll, lsrl, sqrshrl, sqrshr, sqshl
855 sqshll, srshr, srshrl, uqrshll, uqrshl, uqshll, uqshl, urshrl and urshr.
856 * testsuite/gas/arm/mve-shift.d: New.
857 * testsuite/gas/arm/mve-shift.s: New.
858 * testsuite/gas/arm/mve-shift-bad.d: New.
859 * testsuite/gas/arm/mve-shift-bad.s: New.
860 * testsuite/gas/arm/mve-shift-bad.l: New.
861
cd4797ee
FS
8622019-05-21 Faraz Shahbazker <fshahbazker@wavecomp.com>
863
864 * testsuite/gas/mips/r6-branch-constraints.s: Rename to ...
865 * testsuite/gas/mips/r6-reg-constraints.s: this and add test
866 case for DAUI.
867 * testsuite/gas/mips/r6-branch-constraints.l: Rename to ...
868 * testsuite/gas/mips/r6-reg-constraints.l: this and add test
869 for DAUI.
870 * testsuite/gas/mips/mips.exp: Rename test from
871 r6-branch-constraints to r6-reg-constraints.
872
8fe9a076
AV
8732019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
874
875 PR 24559
876 * config/tc-arm.c (move_or_literal_pool): Set size_req to 0 for MOVW
877 replacement.
878 * testsuite/gas/arm/load-pseudo.s: New test input.
879 * testsuite/gas/arm/m0-load-pseudo.d: New test.
880 * testsuite/gas/arm/m23-load-pseudo.d: New test.
881 * testsuite/gas/arm/m33-load-pseudo.d: New test.
882
e6f65e75
AV
8832019-05-21 Andre Vieira <andre.simoesdiasvieira@arm.com>
884
885 * testsuite/gas/arm/armv8_1-m-bf.d: Allow different branch target naming
886 conventions.
887 * testsuite/gas/arm/armv8_1-m-bfl.d: Likewise.
888 * testsuite/gas/arm/armv8_1-m-bfcsel.d: Likewise.
889 * testsuite/gas/arm/armv8_1-m-loloop.d: Likewise.
890 * testsuite/gas/arm/armv8_1-m-bf-rel.d: Skip for vxworks.
891 * testsuite/gas/arm/armv8_1-m-bf-rela.d: New test.
892 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: Skip for vxworks.
893 * testsuite/gas/arm/armv8_1-m-bfl-rela.d: New test.
894
e2d15955
JD
8952019-05-21 John Darrington <john@darrington.wattle.id.au>
896
897 * expr.c (literal_prefix_dollar_hex): New variable.
898 (operand)[case '$']: Use the new variable instead of the old macro.
899 Also, move this instance of "case '$'" next to the other one, and
900 enable it only in the complementary proprocessor case.
901 * expr.h (literal_prefix_dollar_hex): Declare it.
902 * config/tc-epiphany.c (md_begin): Assign literal_prefix_dollar_hex.
903 * config/tc-ip2k.c: ditto
904 * config/tc-mt.c: ditto
905 * config/tc-epiphany.h (LITERAL_PREFIXDOLLAR_HEX): Remove macro definition.
906 * config/tc-ip2k.h: ditto
907 * config/tc-mt.h: ditto
908
d8734380
FS
9092019-05-20 Faraz Shahbazker <fshahbazker@wavecomp.com>
910
911 PR 14798
912 * config/tc-mips.c (s_mips_globl): Only treat symbols that are
913 not explicitly labelled as BSF_OBJECTs for IRIX targets.
914 * testsuite/gas/mips/pr14798.s: New test source.
915 * testsuite/gas/mips/pr14798-irix.d: New test.
916 * testsuite/gas/mips/pr14798.d: Likewise.
917 * testsuite/gas/mips/mips.exp: Run the new tests.
918
334fe02b
JD
9192019-05-17 John Darrington <john@darrington.wattle.id.au>
920
921 * doc/c-arm.texi (ARM Options): Remove "(r)" and "(tm)"
922 * doc/c-bfin.texi (Blackfin Syntax): Remove "(r)"
923
64c350f2
AV
9242019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
925
926 * config/tc-arm.c (check_simd_pred_availability): Refactor.
927 (do_neon_dyadic_i_su): Refactor use of check_simd_pred_availability.
928 (do_neon_dyadic_i64_su): Likewise.
929 (do_neon_shl): Likewise.
930 (do_neon_qshl): Likewise.
931 (do_neon_rshl): Likewise.
932 (do_neon_logic): Likewise.
933 (do_neon_dyadic_if_su): Likewise.
934 (do_neon_addsub_if_i): Likewise.
935 (do_neon_mac_maybe_scalar): Likewise.
936 (do_neon_fmac): Likewise.
937 (do_neon_mul): Likewise.
938 (do_neon_qdmulh): Likewise.
939 (do_neon_qrdmlah): Likewise.
940 (do_neon_abs_neg): Likewise.
941 (do_neon_sli): Likewise.
942 (do_neon_sri): Likewise.
943 (do_neon_qshlu_imm): Likewise.
944 (do_neon_cvt_1): Likewise.
945 (do_neon_cvttb_1): Likewise.
946 (do_neon_mvn): Likewise.
947 (do_neon_rev): Likewise.
948 (do_neon_dup): Likewise.
949 (do_neon_mov): Likewise.
950 (do_neon_rshift_round_imm): Likewise.
951 (do_neon_sat_abs_neg): Likewise.
952 (do_neon_cls): Likewise.
953 (do_neon_clz): Likewise.
954 (do_vmaxnm): Likewise.
955 (do_vrint_1): Likewise.
956 (do_vcmla): Likewise.
957 (do_vcadd): Likewise.
958
514bbb0f
AV
9592019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
960
961 * NEWS: Mention Armv8.1-M Mainline and MVE.
962
4d6ac854
AV
9632019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
964
965 * testsuite/gas/arm/mve-tailpredloop.d: New test.
966 * testsuite/gas/arm/mve-tailpredloop.s: New test.
967 * testsuite/gas/arm/mve-vabav.d: New test.
968 * testsuite/gas/arm/mve-vabav.s: New test.
969 * testsuite/gas/arm/mve-vabd.d: New test.
970 * testsuite/gas/arm/mve-vabd.s: New test.
971 * testsuite/gas/arm/mve-vabsneg.d: New test.
972 * testsuite/gas/arm/mve-vabsneg.s: New test.
973 * testsuite/gas/arm/mve-vadc.d: New test.
974 * testsuite/gas/arm/mve-vadc.s: New test.
975 * testsuite/gas/arm/mve-vaddlv.d: New test.
976 * testsuite/gas/arm/mve-vaddlv.s: New test.
977 * testsuite/gas/arm/mve-vaddsub.d: New test.
978 * testsuite/gas/arm/mve-vaddsub.s: New test.
979 * testsuite/gas/arm/mve-vaddv.d: New test.
980 * testsuite/gas/arm/mve-vaddv.s: New test.
981 * testsuite/gas/arm/mve-vand.d: New test.
982 * testsuite/gas/arm/mve-vand.s: New test.
983 * testsuite/gas/arm/mve-vbic.d: New test.
984 * testsuite/gas/arm/mve-vbic.s: New test.
985 * testsuite/gas/arm/mve-vbrsr.d: New test.
986 * testsuite/gas/arm/mve-vbrsr.s: New test.
987 * testsuite/gas/arm/mve-vcadd.d: New test.
988 * testsuite/gas/arm/mve-vcadd.s: New test.
989 * testsuite/gas/arm/mve-vcls.d: New test.
990 * testsuite/gas/arm/mve-vcls.s: New test.
991 * testsuite/gas/arm/mve-vclz.d: New test.
992 * testsuite/gas/arm/mve-vclz.s: New test.
993 * testsuite/gas/arm/mve-vcmla.d: New test.
994 * testsuite/gas/arm/mve-vcmla.s: New test.
995 * testsuite/gas/arm/mve-vcmp.d: New test.
996 * testsuite/gas/arm/mve-vcmp.s: New test.
997 * testsuite/gas/arm/mve-vcmul.d: New test.
998 * testsuite/gas/arm/mve-vcmul.s: New test.
999 * testsuite/gas/arm/mve-vcvt-1.d: New test.
1000 * testsuite/gas/arm/mve-vcvt-1.s: New test.
1001 * testsuite/gas/arm/mve-vcvt-2.d: New test.
1002 * testsuite/gas/arm/mve-vcvt-2.s: New test.
1003 * testsuite/gas/arm/mve-vcvt-3.d: New test.
1004 * testsuite/gas/arm/mve-vcvt-3.s: New test.
1005 * testsuite/gas/arm/mve-vcvt-4.d: New test.
1006 * testsuite/gas/arm/mve-vcvt-4.s: New test.
1007 * testsuite/gas/arm/mve-vddup.d: New test.
1008 * testsuite/gas/arm/mve-vddup.s: New test.
1009 * testsuite/gas/arm/mve-vdup.d: New test.
1010 * testsuite/gas/arm/mve-vdup.s: New test.
1011 * testsuite/gas/arm/mve-veor.d: New test.
1012 * testsuite/gas/arm/mve-veor.s: New test.
1013 * testsuite/gas/arm/mve-vfma-vfms.d: New test.
1014 * testsuite/gas/arm/mve-vfma-vfms.s: New test.
1015 * testsuite/gas/arm/mve-vfmas.d: New test.
1016 * testsuite/gas/arm/mve-vfmas.s: New test.
1017 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd.d: New test.
1018 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd.s: New test.
1019 * testsuite/gas/arm/mve-vhcadd.d: New test.
1020 * testsuite/gas/arm/mve-vhcadd.s: New test.
1021 * testsuite/gas/arm/mve-vmax-vmin.d: New test.
1022 * testsuite/gas/arm/mve-vmax-vmin.s: New test.
1023 * testsuite/gas/arm/mve-vmaxa-vmina.d: New test.
1024 * testsuite/gas/arm/mve-vmaxa-vmina.s: New test.
1025 * testsuite/gas/arm/mve-vmaxnm-vminnm.d: New test.
1026 * testsuite/gas/arm/mve-vmaxnm-vminnm.s: New test.
1027 * testsuite/gas/arm/mve-vmaxnma-vminnma.s: New test.
1028 * testsuite/gas/arm/mve-vmaxnmv-vminnmv.d: New test.
1029 * testsuite/gas/arm/mve-vmaxnmv-vminnmv.s: New test.
1030 * testsuite/gas/arm/mve-vmaxv-vminv.d: New test.
1031 * testsuite/gas/arm/mve-vmaxv-vminv.s: New test.
1032 * testsuite/gas/arm/mve-vmla.d: New test.
1033 * testsuite/gas/arm/mve-vmla.s: New test.
1034 * testsuite/gas/arm/mve-vmladav.d: New test.
1035 * testsuite/gas/arm/mve-vmladav.s: New test.
1036 * testsuite/gas/arm/mve-vmlaldav.d: New test.
1037 * testsuite/gas/arm/mve-vmlaldav.s: New test.
1038 * testsuite/gas/arm/mve-vmlalv.d: New test.
1039 * testsuite/gas/arm/mve-vmlalv.s: New test.
1040 * testsuite/gas/arm/mve-vmlas.d: New test.
1041 * testsuite/gas/arm/mve-vmlas.s: New test.
1042 * testsuite/gas/arm/mve-vmlav.d: New test.
1043 * testsuite/gas/arm/mve-vmlav.s: New test.
1044 * testsuite/gas/arm/mve-vmlsdav.d: New test.
1045 * testsuite/gas/arm/mve-vmlsdav.s: New test.
1046 * testsuite/gas/arm/mve-vmlsldav.d: New test.
1047 * testsuite/gas/arm/mve-vmlsldav.s: New test.
1048 * testsuite/gas/arm/mve-vmov-1.d: New test.
1049 * testsuite/gas/arm/mve-vmov-1.s: New test.
1050 * testsuite/gas/arm/mve-vmov-2.d: New test.
1051 * testsuite/gas/arm/mve-vmov-2.s: New test.
1052 * testsuite/gas/arm/mve-vmul.d: New test.
1053 * testsuite/gas/arm/mve-vmul.s: New test.
1054 * testsuite/gas/arm/mve-vmulh.d: New test.
1055 * testsuite/gas/arm/mve-vmulh.s: New test.
1056 * testsuite/gas/arm/mve-vmullbt.d: New test.
1057 * testsuite/gas/arm/mve-vmullbt.s: New test.
1058 * testsuite/gas/arm/mve-vmvn.d: New test.
1059 * testsuite/gas/arm/mve-vmvn.s: New test.
1060 * testsuite/gas/arm/mve-vorn.d: New test.
1061 * testsuite/gas/arm/mve-vorn.s: New test.
1062 * testsuite/gas/arm/mve-vorr.d: New test.
1063 * testsuite/gas/arm/mve-vorr.s: New test.
1064 * testsuite/gas/arm/mve-vpnot.d: New test.
1065 * testsuite/gas/arm/mve-vpnot.s: New test.
1066 * testsuite/gas/arm/mve-vpsel.d: New test.
1067 * testsuite/gas/arm/mve-vpsel.s: New test.
1068 * testsuite/gas/arm/mve-vpt.d: New test.
1069 * testsuite/gas/arm/mve-vpt.s: New test.
1070 * testsuite/gas/arm/mve-vqabsneg.s: New test.
1071 * testsuite/gas/arm/mve-vqaddsub.d: New test.
1072 * testsuite/gas/arm/mve-vqaddsub.s: New test.
1073 * testsuite/gas/arm/mve-vqdmladh.d: New test.
1074 * testsuite/gas/arm/mve-vqdmladh.s: New test.
1075 * testsuite/gas/arm/mve-vqdmlah.d: New test.
1076 * testsuite/gas/arm/mve-vqdmlah.s: New test.
1077 * testsuite/gas/arm/mve-vqdmlash.d: New test.
1078 * testsuite/gas/arm/mve-vqdmlash.s: New test.
1079 * testsuite/gas/arm/mve-vqdmlsdh.d: New test.
1080 * testsuite/gas/arm/mve-vqdmlsdh.s: New test.
1081 * testsuite/gas/arm/mve-vqdmulh.d: New test.
1082 * testsuite/gas/arm/mve-vqdmulh.s: New test.
1083 * testsuite/gas/arm/mve-vqdmull.d: New test.
1084 * testsuite/gas/arm/mve-vqdmull.s: New test.
1085 * testsuite/gas/arm/mve-vqmovn.d: New test.
1086 * testsuite/gas/arm/mve-vqmovn.s: New test.
1087 * testsuite/gas/arm/mve-vqrshl.d: New test.
1088 * testsuite/gas/arm/mve-vqrshl.s: New test.
1089 * testsuite/gas/arm/mve-vqrshrn.d: New test.
1090 * testsuite/gas/arm/mve-vqrshrn.s: New test.
1091 * testsuite/gas/arm/mve-vqshl.d: New test.
1092 * testsuite/gas/arm/mve-vqshl.s: New test.
1093 * testsuite/gas/arm/mve-vrev.d: New test.
1094 * testsuite/gas/arm/mve-vrev.s: New test.
1095 * testsuite/gas/arm/mve-vrint.d: New test.
1096 * testsuite/gas/arm/mve-vrint.s: New test.
1097 * testsuite/gas/arm/mve-vrmlaldavh.d: New test.
1098 * testsuite/gas/arm/mve-vrmlaldavh.s: New test.
1099 * testsuite/gas/arm/mve-vrshl.d: New test.
1100 * testsuite/gas/arm/mve-vrshl.s: New test.
1101 * testsuite/gas/arm/mve-vsbc.d: New test.
1102 * testsuite/gas/arm/mve-vsbc.s: New test.
1103 * testsuite/gas/arm/mve-vshl.d: New test.
1104 * testsuite/gas/arm/mve-vshl.s: New test.
1105 * testsuite/gas/arm/mve-vshlc.d: New test.
1106 * testsuite/gas/arm/mve-vshlc.s: New test.
1107 * testsuite/gas/arm/mve-vshll.d: New test.
1108 * testsuite/gas/arm/mve-vshll.s: New test.
1109 * testsuite/gas/arm/mve-vshr.d: New test.
1110 * testsuite/gas/arm/mve-vshr.s: New test.
1111 * testsuite/gas/arm/mve-vshrn.d: New test.
1112 * testsuite/gas/arm/mve-vshrn.s: New test.
1113 * testsuite/gas/arm/mve-vsli.d: New test.
1114 * testsuite/gas/arm/mve-vsli.s: New test.
1115 * testsuite/gas/arm/mve-vsri.d: New test.
1116 * testsuite/gas/arm/mve-vsri.s: New test.
1117 * testsuite/gas/arm/mve-vstld.d: New test.
1118 * testsuite/gas/arm/mve-vstld.s: New test.
1119 * testsuite/gas/arm/mve-vstrldr-1.d: New test.
1120 * testsuite/gas/arm/mve-vstrldr-1.s: New test.
1121 * testsuite/gas/arm/mve-vstrldr-2.d: New test.
1122 * testsuite/gas/arm/mve-vstrldr-2.s: New test.
1123 * testsuite/gas/arm/mve-vstrldr-3.d: New test.
1124 * testsuite/gas/arm/mve-vstrldr-3.s: New test.
1125
1f6234a3
AV
11262019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1127
1128 * config/tc-arm.c (T16_32_TAB): Add new instructions.
1129 (do_t_loloop): Changed to handle tail predication variants.
1130 (md_apply_fix): Likewise.
1131 (insns): Add entries for MVE mnemonics.
1132 * testsuite/gas/arm/mve-tailpredloop-bad.d: New test.
1133 * testsuite/gas/arm/mve-tailpredloop-bad.l: New test.
1134 * testsuite/gas/arm/mve-tailpredloop-bad.s: New test.
1135 * testsuite/gas/arm/mve-tailpredloop.d: New test.
1136
acca5630
AV
11372019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1138
1139 * config/tc-arm.c (do_mve_vshll): New encoding function.
1140 (do_mve_vshlc): Likewise.
1141 (insns): Add entries for MVE mnemonics.
1142 * testsuite/gas/arm/mve-vshlc-bad.d: New test.
1143 * testsuite/gas/arm/mve-vshlc-bad.l: New test.
1144 * testsuite/gas/arm/mve-vshlc-bad.s: New test.
1145 * testsuite/gas/arm/mve-vshll-bad.d: New test.
1146 * testsuite/gas/arm/mve-vshll-bad.l: New test.
1147 * testsuite/gas/arm/mve-vshll-bad.s: New test.
1148
5150f0d8
AV
11492019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1150
1151 * config/tc-arm.c (enum operand_parse_code): Add new operand.
1152 (parse_operands): Handle new operand.
1153 (do_neon_shl_imm): Accept MVE variants.
1154 (do_neon_shl): Likewise.
1155 (do_neon_qshl_imm): Likewise.
1156 (do_neon_qshl): Likewise.
1157 (do_neon_qshlu_imm): Likewise.
1158 (insns): Likewise.
1159 * testsuite/gas/arm/mve-vqshl-bad.d: New test.
1160 * testsuite/gas/arm/mve-vqshl-bad.l: New test.
1161 * testsuite/gas/arm/mve-vqshl-bad.s: New test.
1162 * testsuite/gas/arm/mve-vshl-bad.d: New test.
1163 * testsuite/gas/arm/mve-vshl-bad.l: New test.
1164 * testsuite/gas/arm/mve-vshl-bad.s: New test.
1165
4401c241
AV
11662019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1167
1168 * config/tc-arm.c (do_neon_sli): Accept MVE variants.
1169 (do_neon_sri): Likewise.
1170 (do_neon_rev): Likewise.
1171 (do_neon_rshift_round_imm): Likewise.
1172 (insns): Likewise.
1173 * testsuite/gas/arm/mve-vrev-bad.d: New test.
1174 * testsuite/gas/arm/mve-vrev-bad.l: New test.
1175 * testsuite/gas/arm/mve-vrev-bad.s: New test.
1176 * testsuite/gas/arm/mve-vshr-bad.d: New test.
1177 * testsuite/gas/arm/mve-vshr-bad.l: New test.
1178 * testsuite/gas/arm/mve-vshr-bad.s: New test.
1179 * testsuite/gas/arm/mve-vsli-bad.d: New test.
1180 * testsuite/gas/arm/mve-vsli-bad.l: New test.
1181 * testsuite/gas/arm/mve-vsli-bad.s: New test.
1182 * testsuite/gas/arm/mve-vsri-bad.d: New test.
1183 * testsuite/gas/arm/mve-vsri-bad.l: New test.
1184 * testsuite/gas/arm/mve-vsri-bad.s: New test.
1185
a710b305
AV
11862019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1187
1188 * config/tc-arm.c (do_vrint_1): Accept MVE variants.
1189 (insns): Change entries to accept MVE variants.
1190 * testsuite/gas/arm/mve-vrint-bad.d: New test.
1191 * testsuite/gas/arm/mve-vrint-bad.l: New test.
1192 * testsuite/gas/arm/mve-vrint-bad.s: New test.
1193
4aa88b50
AV
11942019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1195
1196 * config/tc-arm.c (M_MNEM_vshrnt, M_MNEM_vshrnb, M_MNEM_vrshrnt,
1197 M_MNEM_vqshrnt, M_MNEM_vqshrnb, M_MNEM_vqshrunt, M_MNEM_vqshrunb,
1198 M_MNEM_vrshrnb, M_MNEM_vqrshrnt, M_MNEM_vqrshrnb, M_MNEM_vqrshrunt,
1199 M_MNEM_vqrshrunb): New instruction encodings.
1200 (do_mve_vshrn): New encoding function.
1201 (insns): Add entries for MVE mnemonics.
1202 * testsuite/gas/arm/mve-vqrshrn-bad.d: New test.
1203 * testsuite/gas/arm/mve-vqrshrn-bad.l: New test.
1204 * testsuite/gas/arm/mve-vqrshrn-bad.s: New test.
1205 * testsuite/gas/arm/mve-vshrn-bad.d: New test.
1206 * testsuite/gas/arm/mve-vshrn-bad.l: New test.
1207 * testsuite/gas/arm/mve-vshrn-bad.s: New test.
1208
1be7aba3
AV
12092019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1210
1211 * config/tc-arm.c (M_MNEM_vqmovnt, M_MNEM_vqmovnb,
1212 M_MNEM_vqmovunt, M_MNEM_vqmovunb): New instruction encodings.
1213 (do_mve_vqmovn): New encoding function.
1214 (do_neon_rshl): Change to accepte MVE variants.
1215 (insns): Change entries and add new for MVE mnemonics.
1216 * testsuite/gas/arm/mve-vqmovn-bad.d: New test.
1217 * testsuite/gas/arm/mve-vqmovn-bad.l: New test.
1218 * testsuite/gas/arm/mve-vqmovn-bad.s: New test.
1219 * testsuite/gas/arm/mve-vqrshl-bad.d: New test.
1220 * testsuite/gas/arm/mve-vqrshl-bad.l: New test.
1221 * testsuite/gas/arm/mve-vqrshl-bad.s: New test.
1222 * testsuite/gas/arm/mve-vrshl-bad.d: New test.
1223 * testsuite/gas/arm/mve-vrshl-bad.l: New test.
1224 * testsuite/gas/arm/mve-vrshl-bad.s: New test.
1225
35d1cfc2
AV
12262019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1227
1228 * config/tc-arm.c (enum operand_parse_code): Add new operand.
1229 (parse_operands): Handle new operand.
1230 (do_mve_vqdmull): New encoding function.
1231 (insns): Add entry for MVE mnemonics.
1232 * testsuite/gas/arm/mve-vqdmull-bad.d: New test.
1233 * testsuite/gas/arm/mve-vqdmull-bad.l: New test.
1234 * testsuite/gas/arm/mve-vqdmull-bad.s: New test.
1235
42b16635
AV
12362019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1237
1238 * config/tc-arm.c (enum operand_parse_code): Add new operand.
1239 (parse_operands): Handle new operand.
1240 (mve_encode_qqr): Handle new instructions.
1241 (do_neon_qdmulh): Add support for MVE variants.
1242 (do_neon_qrdmlah): Likewise.
1243 (do_mve_vqdmlah): New encoding function.
1244 (insns): Change entries and add new entries for MVE mnemonics.
1245 * testsuite/gas/arm/mve-vqdmulh-bad.d: New test.
1246 * testsuite/gas/arm/mve-vqdmulh-bad.l: New test.
1247 * testsuite/gas/arm/mve-vqdmulh-bad.s: New test.
1248
8b8b22a4
AV
12492019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1250
1251 * config/tc-arm.c (do_mve_vqdmladh): New encoding function.
1252 (insns): Add entries for MVE mnemonics.
1253 * testsuite/gas/arm/mve-vqdmladh-bad.d: New test.
1254 * testsuite/gas/arm/mve-vqdmladh-bad.l: New test.
1255 * testsuite/gas/arm/mve-vqdmladh-bad.s: New test.
1256 * testsuite/gas/arm/mve-vqdmlsdh-bad.d: New test.
1257 * testsuite/gas/arm/mve-vqdmlsdh-bad.l: New test.
1258 * testsuite/gas/arm/mve-vqdmlsdh-bad.s: New test.
1259
3063888e
AV
12602019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1261
1262 * config/tc-arm.c (do_mve_vpsel): New encoding function.
1263 (do_mve_vpnot): Likewise.
1264 (insns): Add entries for MVE mnemonics.
1265 * testsuite/gas/arm/mve-vpnot-bad.d: New test.
1266 * testsuite/gas/arm/mve-vpnot-bad.l: New test.
1267 * testsuite/gas/arm/mve-vpnot-bad.s: New test.
1268 * testsuite/gas/arm/mve-vpsel-bad.d: New test.
1269 * testsuite/gas/arm/mve-vpsel-bad.l: New test.
1270 * testsuite/gas/arm/mve-vpsel-bad.s: New test.
1271
1a186d29
AV
12722019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1273
1274 * config/tc-arm.c (do_neon_mvn): Change to accept MVE variants.
1275 (do_neon_sat_abs_neg): Likewise.
1276 (insns): Likewise.
1277 * testsuite/gas/arm/mve-vmvn-bad.d: New test.
1278 * testsuite/gas/arm/mve-vmvn-bad.l: New test.
1279 * testsuite/gas/arm/mve-vmvn-bad.s: New test.
1280 * testsuite/gas/arm/mve-vqabsneg-bad.d: New test.
1281 * testsuite/gas/arm/mve-vqabsneg-bad.l: New test.
1282 * testsuite/gas/arm/mve-vqabsneg-bad.s: New test.
1283
2d78f95b
AV
12842019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1285
1286 * config/tc-arm.c (do_mve_vmlas): New encoding function.
1287 (do_mve_vmulh): Likewise.
1288 (insns): Add entries for MVE mnemonics.
1289 * testsuite/gas/arm/mve-vmlas-bad.d: New test.
1290 * testsuite/gas/arm/mve-vmlas-bad.l: New test.
1291 * testsuite/gas/arm/mve-vmlas-bad.s: New test.
1292 * testsuite/gas/arm/mve-vmulh-bad.d: New test.
1293 * testsuite/gas/arm/mve-vmulh-bad.l: New test.
1294 * testsuite/gas/arm/mve-vmulh-bad.s: New test.
1295
a8465a06
AV
12962019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1297
1298 * config/tc-arm.c (enum operand_parse_code): New operand.
1299 (parse_operands): Handle new operand.
1300 (mve_encode_qqr): Handle new instructions.
1301 (do_neon_dyadic_i64_su): Accept MVE variants.
1302 (neon_dyadic_misc): Likewise.
1303 (do_neon_mac_maybe_scalar): Likewise.
1304 (do_neon_mul): Likewise.
1305 (insns): Change to accept MVE variants.
1306 * testsuite/gas/arm/mve-vmla-bad.d: New test.
1307 * testsuite/gas/arm/mve-vmla-bad.l: New test.
1308 * testsuite/gas/arm/mve-vmla-bad.s: New test.
1309 * testsuite/gas/arm/mve-vmul-bad-1.d: New test.
1310 * testsuite/gas/arm/mve-vmul-bad-1.l: New test.
1311 * testsuite/gas/arm/mve-vmul-bad-1.s: New test.
1312 * testsuite/gas/arm/mve-vmul-bad-2.d: New test.
1313 * testsuite/gas/arm/mve-vmul-bad-2.l: New test.
1314 * testsuite/gas/arm/mve-vmul-bad-2.s: New test.
1315 * testsuite/gas/arm/mve-vqaddsub-bad.d: New test.
1316 * testsuite/gas/arm/mve-vqaddsub-bad.l: New test.
1317 * testsuite/gas/arm/mve-vqaddsub-bad.s: New test.
1318
93925576
AV
13192019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1320
1321 * config/tc-arm.c (M_MNEM_vmlaldav, M_MNEM_vmlaldava,
1322 M_MNEM_vmlaldavx, M_MNEM_vmlaldavax, M_MNEM_vmlsldav,
1323 M_MNEM_vmlsldava, M_MNEM_vmlsldavx, M_MNEM_vmlsldavax,
1324 M_MNEM_vrmlaldavhx, M_MNEM_vrmlaldavhax, M_MNEM_vrmlsldavh,
1325 M_MNEM_vrmlsldavha, M_MNEM_vrmlsldavhx, M_MNEM_vrmlsldavhax): New
1326 instruction encodings.
1327 (NEON_SHAPE_DEF): New shape
1328 (mve_encode_rrqq): New encoding helper function.
1329 (do_mve_vmlaldav): New encoding function.
1330 (do_mve_vrmlaldavh): New encoding function.
1331 (insns): Add entries for MVE mnemonics.
1332 * testsuite/gas/arm/mve-vmlaldav-bad.d: New test.
1333 * testsuite/gas/arm/mve-vmlaldav-bad.l: New test.
1334 * testsuite/gas/arm/mve-vmlaldav-bad.s: New test.
1335 * testsuite/gas/arm/mve-vmlalv-bad.d: New test.
1336 * testsuite/gas/arm/mve-vmlalv-bad.l: New test.
1337 * testsuite/gas/arm/mve-vmlalv-bad.s: New test.
1338 * testsuite/gas/arm/mve-vmlsldav-bad.d: New test.
1339 * testsuite/gas/arm/mve-vmlsldav-bad.l: New test.
1340 * testsuite/gas/arm/mve-vmlsldav-bad.s: New test.
1341 * testsuite/gas/arm/mve-vrmlaldavh-bad.d: New test.
1342 * testsuite/gas/arm/mve-vrmlaldavh-bad.l: New test.
1343 * testsuite/gas/arm/mve-vrmlaldavh-bad.s: New test.
1344
13ccd4c0
AV
13452019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1346
1347 * config/tc-arm.c (M_MNEM_vmaxv, M_MNEM_vmaxav, M_MNEM_vminv,
1348 M_MNEM_vminav): New instruction encodings.
1349 (do_mve_vmaxv): New encoding function.
1350 (insns): Add entries for new MVE mnemonics.
1351 * testsuite/gas/arm/mve-vmaxv-vminv-bad.d: New test.
1352 * testsuite/gas/arm/mve-vmaxv-vminv-bad.l: New test.
1353 * testsuite/gas/arm/mve-vmaxv-vminv-bad.s: New test.
1354
8cd78170
AV
13552019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1356
1357 * config/tc-arm.c (do_mve_vmaxnmv): New encoding function.
1358 (insns): Add entries for new mnemonics.
1359 * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.d: New test.
1360 * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.l: New test.
1361 * testsuite/gas/arm/mve-vmaxnmv-vminnmv-bad.s: New test.
1362
935295b5
AV
13632019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1364
1365 * config/tc-arm.c (do_mve_vmaxa_vmina): New encoding function.
1366 (do_mve_vmaxnma_vminnma): Likewise.
1367 (do_neon_dyadic_if_su): Change to support MVE variants.
1368 (do_vmaxnm): Likewise.
1369 (insns): Change to accept MVE variants and add new.
1370 * testsuite/gas/arm/mve-vmax-vmin-bad.d: New test.
1371 * testsuite/gas/arm/mve-vmax-vmin-bad.l: New test.
1372 * testsuite/gas/arm/mve-vmax-vmin-bad.s: New test.
1373 * testsuite/gas/arm/mve-vmaxa-vmina-bad.d: New test.
1374 * testsuite/gas/arm/mve-vmaxa-vmina-bad.l: New test.
1375 * testsuite/gas/arm/mve-vmaxa-vmina-bad.s: New test.
1376 * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.d: New test.
1377 * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.l: New test.
1378 * testsuite/gas/arm/mve-vmaxnm-vminnm-bad.s: New test.
1379 * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.d: New test.
1380 * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.l: New test.
1381 * testsuite/gas/arm/mve-vmaxnma-vminnma-bad.s: New test.
1382
7df54120
AV
13832019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1384
1385 * config/tc-arm.c (enum operand_parse_code): New operand.
1386 (parse_operands): Handle new operand.
1387 (mve_encode_qqr): Change to support new instructions.
1388 (enum vfp_or_neon_is_neon_bits): Moved.
1389 (vfp_or_neon_is_neon): Moved.
1390 (check_simd_pred_availability): Moved.
1391 (do_neon_dyadic_i_su): Changed to support MVE variants.
1392 (neon_dyadic_misc): Changed mve_encode_qqr call.
1393 (do_mve_vbrsr): Likewise.
1394 (do_mve_vhcadd): New encoding function.
1395 (insns): Change existing to accept MVE variants and add new.
1396 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.d: New test.
1397 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.l: New test.
1398 * testsuite/gas/arm/mve-vhadd-vhsub-vrhadd-bad.s: New test.
1399 * testsuite/gas/arm/mve-vhcadd-bad.d: New test.
1400 * testsuite/gas/arm/mve-vhcadd-bad.l: New test.
1401 * testsuite/gas/arm/mve-vhcadd-bad.s: New test.
1402
d58196e0
AV
14032019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1404
1405 * config/tc-arm.c (do_neon_fmac): Change to support MVE variants.
1406 (insns): Change to accept MVE variants.
1407 * testsuite/gas/arm/mve-vfma-vfms-bad.d: New test.
1408 * testsuite/gas/arm/mve-vfma-vfms-bad.l: New test.
1409 * testsuite/gas/arm/mve-vfma-vfms-bad.s: New test.
1410
b409bdb6
AV
14112019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1412
1413 * config/tc-arm.c (M_MNEM_vddup, M_MNEM_vdwdup, M_MNEM_vidup,
1414 M_MNEM_viwdup): New instruction encodings.
1415 (NEON_SHAPE_DEF): New shapes.
1416 (do_mve_viddup): New encoding function.
1417 (do_neon_dup): Change to support new MVE variants.
1418 (insns): Change existing to accept MVE variants and add new.
1419 * testsuite/gas/arm/mve-vddup-bad.d: New test.
1420 * testsuite/gas/arm/mve-vddup-bad.l: New test.
1421 * testsuite/gas/arm/mve-vddup-bad.s: New test.
1422 * testsuite/gas/arm/mve-vdup-bad.d: New test.
1423 * testsuite/gas/arm/mve-vdup-bad.l: New test.
1424 * testsuite/gas/arm/mve-vdup-bad.s: New test.
1425 * testsuite/gas/arm/mve-vidup-bad.d: New test.
1426 * testsuite/gas/arm/mve-vidup-bad.l: New test.
1427 * testsuite/gas/arm/mve-vidup-bad.s: New test.
1428
f30ee27c
AV
14292019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1430
1431 * config/tc-arm.c (do_mve_vfmas): New encoding function.
1432 (do_neon_cls): Change to support MVE variants.
1433 (do_neon_clz): Change to support MVE variants.
1434 (insns): Change to support MVE variants and add new.
1435 * testsuite/gas/arm/mve-vcls-bad.d: New test.
1436 * testsuite/gas/arm/mve-vcls-bad.l: New test.
1437 * testsuite/gas/arm/mve-vcls-bad.s: New test.
1438 * testsuite/gas/arm/mve-vclz-bad.d: New test.
1439 * testsuite/gas/arm/mve-vclz-bad.l: New test.
1440 * testsuite/gas/arm/mve-vclz-bad.s: New test.
1441 * testsuite/gas/arm/mve-vfmas-bad.d: New test.
1442 * testsuite/gas/arm/mve-vfmas-bad.l: New test.
1443 * testsuite/gas/arm/mve-vfmas-bad.s: New test.
1444
5d281bf0
AV
14452019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1446
1447 * config/tc-arm.c (enum operand_parse_code): New operands.
1448 (parse_operands): Handle new operands.
1449 (do_mve_vcmul): New encoding function.
1450 (do_vcmla): Change to support MVE variants.
1451 (do_vcadd): Change to support MVE variants.
1452 (insns): Change existing to support MVE variants and add new.
1453 * testsuite/gas/arm/mve-vcadd-bad-1.d: New test.
1454 * testsuite/gas/arm/mve-vcadd-bad-1.l: New test.
1455 * testsuite/gas/arm/mve-vcadd-bad-1.s: New test.
1456 * testsuite/gas/arm/mve-vcadd-bad-2.d: New test.
1457 * testsuite/gas/arm/mve-vcadd-bad-2.l: New test.
1458 * testsuite/gas/arm/mve-vcadd-bad-2.s: New test.
1459 * testsuite/gas/arm/mve-vcmla-bad-1.d: New test.
1460 * testsuite/gas/arm/mve-vcmla-bad-1.l: New test.
1461 * testsuite/gas/arm/mve-vcmla-bad-1.s: New test.
1462 * testsuite/gas/arm/mve-vcmla-bad-2.d: New test.
1463 * testsuite/gas/arm/mve-vcmla-bad-2.l: New test.
1464 * testsuite/gas/arm/mve-vcmla-bad-2.s: New test.
1465 * testsuite/gas/arm/mve-vcmul-bad-1.d: New test.
1466 * testsuite/gas/arm/mve-vcmul-bad-1.l: New test.
1467 * testsuite/gas/arm/mve-vcmul-bad-1.s: New test.
1468 * testsuite/gas/arm/mve-vcmul-bad-2.d: New test.
1469 * testsuite/gas/arm/mve-vcmul-bad-2.l: New test.
1470 * testsuite/gas/arm/mve-vcmul-bad-2.s: New test.
1471
f601a00c
AV
14722019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1473
1474 * config/tc-arm.c (enum operand_parse_code): New operands.
1475 (parse_operands): Handle new operands.
1476 (enum vfp_or_neon_is_neon_bits): Moved
1477 (vfp_or_neon_is_neon): Moved
1478 (check_simd_pred_availability): Moved.
1479 (do_neon_logic): Change to accept MVE variants.
1480 (insns): Changed to accept MVE variants.
1481 * testsuite/gas/arm/mve-vand-bad.d: New test.
1482 * testsuite/gas/arm/mve-vand-bad.l: New test.
1483 * testsuite/gas/arm/mve-vand-bad.s: New test.
1484 * testsuite/gas/arm/mve-vbic-bad.d: New test.
1485 * testsuite/gas/arm/mve-vbic-bad.l: New test.
1486 * testsuite/gas/arm/mve-vbic-bad.s: New test.
1487 * testsuite/gas/arm/mve-veor-bad.d: New test.
1488 * testsuite/gas/arm/mve-veor-bad.l: New test.
1489 * testsuite/gas/arm/mve-veor-bad.s: New test.
1490 * testsuite/gas/arm/mve-vorn-bad.d: New test.
1491 * testsuite/gas/arm/mve-vorn-bad.l: New test.
1492 * testsuite/gas/arm/mve-vorn-bad.s: New test.
1493 * testsuite/gas/arm/mve-vorr-bad.d: New test.
1494 * testsuite/gas/arm/mve-vorr-bad.l: New test.
1495 * testsuite/gas/arm/mve-vorr-bad.s: New test.
1496
26c1e780
AV
14972019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1498
1499 * config/tc-arm.c (M_MNEM_vaddlv, M_MNEM_vaddlva, M_MNEM_vaddv,
1500 M_MNEM_vaddva): New instruction encodings.
1501 (mve_encode_rq): New encoding helper function.
1502 (do_mve_vaddlv): New encoding function.
1503 (do_mve_vaddv): New encoding function.
1504 * testsuite/gas/arm/mve-vaddlv-bad.d: New test.
1505 * testsuite/gas/arm/mve-vaddlv-bad.l: New test.
1506 * testsuite/gas/arm/mve-vaddlv-bad.s: New test.
1507 * testsuite/gas/arm/mve-vaddv-bad.d: New test.
1508 * testsuite/gas/arm/mve-vaddv-bad.l: New test.
1509 * testsuite/gas/arm/mve-vaddv-bad.s: New test.
1510
c2dafc2a
AV
15112019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1512
1513 * config/tc-arm.c (M_MNEM_vadc, M_MNEM_vadci, M_MNEM_vbrsr):
1514 New instruction encodings.
1515 (do_mve_vadc): New encoding instruction.
1516 (do_mve_vbrsr): Likewise.
1517 (do_mve_vsbc): Likewise.
1518 * testsuite/gas/arm/mve-vadc-bad.d: New test.
1519 * testsuite/gas/arm/mve-vadc-bad.l: New test.
1520 * testsuite/gas/arm/mve-vadc-bad.s: New test.
1521 * testsuite/gas/arm/mve-vbrsr-bad.d: New test.
1522 * testsuite/gas/arm/mve-vbrsr-bad.l: New test.
1523 * testsuite/gas/arm/mve-vbrsr-bad.s: New test.
1524 * testsuite/gas/arm/mve-vsbc-bad.d: New test.
1525 * testsuite/gas/arm/mve-vsbc-bad.l: New test.
1526 * testsuite/gas/arm/mve-vsbc-bad.s: New test.
1527
1b883319
AV
15282019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1529
1530 * config/tc-arm.c (MVE_BAD_QREG): New error message.
1531 (enum operand_parse_code): Define new operand.
1532 (parse_operands): Handle new operand.
1533 (do_mve_vpt): Change for VPT blocks.
1534 (NEON_SHAPE_DEF): New shape.
1535 (neon_logbits): Moved.
1536 (LOW4): Moved
1537 (HI1): Moved
1538 (mve_get_vcmp_vpt_cond): New function to translate vpt conditions.
1539 (do_mve_vcmp): New encoding function.
1540 (do_vfp_nsyn_cmp): Changed to support MVE variants.
1541 (insns): Change to support MVE variants of vcmp and add vpt.
1542 * testsuite/gas/arm/mve-vcmp-bad-1.d: New test.
1543 * testsuite/gas/arm/mve-vcmp-bad-1.l: New test.
1544 * testsuite/gas/arm/mve-vcmp-bad-1.s: New test.
1545 * testsuite/gas/arm/mve-vcmp-bad-2.d: New test.
1546 * testsuite/gas/arm/mve-vcmp-bad-2.l: New test.
1547 * testsuite/gas/arm/mve-vcmp-bad-2.s: New test.
1548 * testsuite/gas/arm/mve-vpt-bad-1.d: New test.
1549 * testsuite/gas/arm/mve-vpt-bad-1.l: New test.
1550 * testsuite/gas/arm/mve-vpt-bad-1.s: New test.
1551 * testsuite/gas/arm/mve-vpt-bad-2.d: New test.
1552 * testsuite/gas/arm/mve-vpt-bad-2.l: New test.
1553 * testsuite/gas/arm/mve-vpt-bad-2.s: New test.
1554
57785aa2
AV
15552019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1556
1557 * config/tc-arm.c (struct arm_it): Expand isscalar field to be able to
1558 distinguish between types of scalar.
1559 (parse_typed_reg_or_scalar): Change to accept MVE scalar variants.
1560 (parse_scalar): Likewise.
1561 (parse_neon_mov): Accept MVE variant.
1562 (po_scalar_or_goto): Make use reg_type.
1563 (parse_operands): Change uses of po_scalar_or_goto.
1564 (do_vfp_sp_monadic): Change to accept MVE variants.
1565 (do_vfp_reg_from_sp): Likewise.
1566 (do_vfp_sp_from_reg): Likewise.
1567 (do_vfp_dp_rd_rm): Likewise.
1568 (do_vfp_dp_rd_rn_rm): Likewise.
1569 (do_vfp_dp_rm_rd_rn): Likewise.
1570 (M_MNEM_vmovlt, M_MNEM_vmovlb, M_MNEM_vmovnt, M_MNEM_vmovnb): New
1571 instruction encodings.
1572 (NEON_SHAPE_DEF): New shape.
1573 (do_mve_mov): New encoding fuction.
1574 (do_mve_movn): Likewise.
1575 (do_mve_movl): Likewise.
1576 (do_neon_mov): Change to accept MVE variants.
1577 (mcCE): New MACRO.
1578 (insns): Accept new MVE variants and instructions.
1579 * testsuite/gas/arm/mve-vmov-bad-1.d: New test.
1580 * testsuite/gas/arm/mve-vmov-bad-1.l: New test.
1581 * testsuite/gas/arm/mve-vmov-bad-1.s: New test.
1582 * testsuite/gas/arm/mve-vmov-bad-2.d: New test.
1583 * testsuite/gas/arm/mve-vmov-bad-2.l: New test.
1584 * testsuite/gas/arm/mve-vmov-bad-2.s: New test.
1585
dd9634d9
AV
15862019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1587
1588 * config/tc-arm.c (enum operand_parse_code): Add new operand.
1589 (parse_operands): Handle new operand.
1590 (do_neon_cvt_1): Handle MVE variants.
1591 (do_neon_cvttb_1): Likewise.
1592 (insns): Accept MVE variants.
1593 * testsuite/gas/arm/mve-vcvt-bad-1.d: New test.
1594 * testsuite/gas/arm/mve-vcvt-bad-1.l: New test.
1595 * testsuite/gas/arm/mve-vcvt-bad-1.s: New test.
1596 * testsuite/gas/arm/mve-vcvt-bad-2.d: New test.
1597 * testsuite/gas/arm/mve-vcvt-bad-2.l: New test.
1598 * testsuite/gas/arm/mve-vcvt-bad-2.s: New test.
1599 * testsuite/gas/arm/mve-vcvt-bad-3.d: New test.
1600 * testsuite/gas/arm/mve-vcvt-bad-3.l: New test.
1601 * testsuite/gas/arm/mve-vcvt-bad-3.s: New test.
1602 * testsuite/gas/arm/mve-vcvt-bad-4.d: New test.
1603 * testsuite/gas/arm/mve-vcvt-bad-4.l: New test.
1604 * testsuite/gas/arm/mve-vcvt-bad-4.s: New test.
1605 * testsuite/gas/arm/mve-vcvt-bad.d: New test.
1606 * testsuite/gas/arm/mve-vcvt-bad.l: New test.
1607 * testsuite/gas/arm/mve-vcvt-bad.s: New test.
1608
f5f10c66
AV
16092019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1610
1611 * config/tc-arm.c (struct arm_it): Make immisreg field larger to hold
1612 type of register.
1613 (enum shift_kind): Add SHIFT_UXTW shift kind.
1614 (enum parse_shift_mode): Add SHIFT_UXTW_IMMEDIATE shift mode.
1615 (parse_shift): Handle new shift type.
1616 (parse_address_main): Accept new addressing modes.
1617 (M_MNEM_vstrb, M_MNEM_vstrh, M_MNEM_vstrw, M_MNEM_vstrd,
1618 M_MNEM_vldrb, M_MNEM_vldrh, M_MNEM_vldrw, M_MNEM_vldrd): New
1619 instruction encodings.
1620 (do_mve_vstr_vldr_QI): New encoding functions.
1621 (do_mve_vstr_vldr_RQ): Likewise.
1622 (do_mve_vstr_vldr_RI): Likewise.
1623 (do_mve_vstr_vldr): Likewise.
1624 * testsuite/gas/arm/mve-vldr-bad-1.d: New test.
1625 * testsuite/gas/arm/mve-vldr-bad-1.l: New test.
1626 * testsuite/gas/arm/mve-vldr-bad-1.s: New test.
1627 * testsuite/gas/arm/mve-vldr-bad-2.d: New test.
1628 * testsuite/gas/arm/mve-vldr-bad-2.l: New test.
1629 * testsuite/gas/arm/mve-vldr-bad-2.s: New test.
1630 * testsuite/gas/arm/mve-vldr-bad-3.d: New test.
1631 * testsuite/gas/arm/mve-vldr-bad-3.l: New test.
1632 * testsuite/gas/arm/mve-vldr-bad-3.s: New test.
1633 * testsuite/gas/arm/mve-vstr-bad-1.d: New test.
1634 * testsuite/gas/arm/mve-vstr-bad-1.l: New test.
1635 * testsuite/gas/arm/mve-vstr-bad-1.s: New test.
1636 * testsuite/gas/arm/mve-vstr-bad-2.d: New test.
1637 * testsuite/gas/arm/mve-vstr-bad-2.l: New test.
1638 * testsuite/gas/arm/mve-vstr-bad-2.s: New test.
1639 * testsuite/gas/arm/mve-vstr-bad-3.d: New test.
1640 * testsuite/gas/arm/mve-vstr-bad-3.l: New test.
1641 * testsuite/gas/arm/mve-vstr-bad-3.s: New test.
1642
35c228db
AV
16432019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1644
1645 * config/tc-arm.c (enum it_instruction_type): Add MVE_UNPREDICABLE_INSN.
1646 (BAD_EL_TYPE): New error message.
1647 (parse_neon_el_struct_list): Adapt to be able to accept MVE variant.
1648 (parse_address_main): Likewise.
1649 (group_reloc_type): Add GROUP_MVE.
1650 (enum operand_parse_code): Add new operands.
1651 (parse_operands): Handle new operands.
1652 (M_MNEM_vst20, M_MNEM_vst21, M_MNEM_vst40, M_MNEM_vst41, M_MNEM_vst42,
1653 M_MNEM_vst43, M_MNEM_vld20, M_MNEM_vld21, M_MNEM_vld40, M_MNEM_vld41,
1654 M_MNEM_vld42, M_MNEM_vld43): New encodings.
1655 (do_mve_vst_vld): New encoding function.
1656 (do_neon_ld_st_interleave): Use BAD_EL_TYPE.
1657 (it_fsm_pre_encode): Handle new it_instruction_type
1658 (handle_pred_state): Likewise.
1659 * testsuite/gas/arm/mve-vstld-bad.d: New test.
1660 * testsuite/gas/arm/mve-vstld-bad.l: New test.
1661 * testsuite/gas/arm/mve-vstld-bad.s: New test.
1662
886e1c73
AV
16632019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1664
1665 * config/tc-arm.c (BAD_MVE_AUTO): New error message.
1666 (BAD_MVE_SRCDEST): Likewise.
1667 (mark_feature_used): Diagnose MVE only instructions when in
1668 auto-detection mode or -march=all.
1669 (enum operand_parse_code): Define new operand.
1670 (parse_operands): Handle new operand.
1671 (M_MNEM_vmullt, M_MNEM_vmullb): New encodings.
1672 (mve_encode_qqq): New encoding helper function.
1673 (do_mve_vmull): New encoding function.
1674 (insns): Handle new instructions.
1675 * testsuite/gas/arm/mve-vmullbt-bad.d: New test.
1676 * testsuite/gas/arm/mve-vmullbt-bad.l: New test.
1677 * testsuite/gas/arm/mve-vmullbt-bad.s: New test.
1678
a302e574
AV
16792019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1680
1681 * config/tc-arm.c (struct asm_opcode): Make avalue a full int.
1682 (BAD_ODD, BAD_EVEN, BAD_SIMD_TYPE): New errors.
1683 (enum operand_parse_code): Handle new operands.
1684 (parse_operands): Likewise.
1685 (M_MNEM_vabav, M_MNEM_vmladav, M_MNEM_vmladava, M_MNEM_vmladavx,
1686 M_MNEM_vmladavax, M_MNEM_vmlsdav, M_MNEM_vmlsdava, M_MNEM_vmlsdavx,
1687 M_MNEM_vmlsdavax): Define new encodings.
1688 (NEON_SHAPE_DEF): Add new shape.
1689 (neon_check_type): Use BAD_SIMD_TYPE.
1690 (mve_encode_rqq): New encoding helper function.
1691 (do_mve_vabav, do_mve_vmladav): New encoding functions.
1692 (mCEF): New MACRO.
1693 * testsuite/gas/arm/mve-vabav-bad.d: New test.
1694 * testsuite/gas/arm/mve-vabav-bad.l: New test.
1695 * testsuite/gas/arm/mve-vabav-bad.s: New test.
1696 * testsuite/gas/arm/mve-vmladav-bad.d: New test.
1697 * testsuite/gas/arm/mve-vmladav-bad.l: New test.
1698 * testsuite/gas/arm/mve-vmladav-bad.s: New test.
1699 * testsuite/gas/arm/mve-vmlav-bad.d: New test.
1700 * testsuite/gas/arm/mve-vmlav-bad.l: New test.
1701 * testsuite/gas/arm/mve-vmlav-bad.s: New test.
1702 * testsuite/gas/arm/mve-vmlsdav-bad.d: New test.
1703 * testsuite/gas/arm/mve-vmlsdav-bad.l: New test.
1704 * testsuite/gas/arm/mve-vmlsdav-bad.s: New test.
1705
485dee97
AV
17062019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1707
1708 * config/tc-arm.c (do_neon_abs_neg): Make it accept MVE variant.
1709 (insns): Change vabs and vneg entries to accept MVE variants.
1710 * testsuite/gas/arm/mve-vabsneg-bad-1.d: New test.
1711 * testsuite/gas/arm/mve-vabsneg-bad-1.l: New test.
1712 * testsuite/gas/arm/mve-vabsneg-bad-1.s: New test.
1713 * testsuite/gas/arm/mve-vabsneg-bad-2.d: New test.
1714 * testsuite/gas/arm/mve-vabsneg-bad-2.l: New test.
1715 * testsuite/gas/arm/mve-vabsneg-bad-2.s: New test.
1716
5ee91343
AV
17172019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1718
1719 * config/tc-arm.c (enum it_instruction_type): Rename to...
1720 (enum pred_instruction_type): ... this. Include VPT types.
1721 (it_insn_type): Rename to ...
1722 (pred_insn_type): .. this.
1723 (arm_it): Change comment.
1724 (enum arm_reg_type): Add new value.
1725 (reg_expected_msgs): New entry.
1726 (asm_opcode): Add mayBeVecPred member.
1727 (BAD_SYNTAX, BAD_NOT_VPT, BAD_OUT_VPT, BAD_VPT_COND, MVE_NOT_IT,
1728 MVE_NOT_VPT, MVE_BAD_PC, MVE_BAD_SP): New diagnostic MACROS.
1729 (arm_vcond_hsh): New table for vector condition codes.
1730 (now_it): Rename to ...
1731 (now_pred): ... this.
1732 (now_it_compatible): Rename to ...
1733 (now_pred_compatible): ... this.
1734 (in_it_block): Rename to ...
1735 (in_pred_block): ... this.
1736 (handle_it_state): Rename to ...
1737 (handle_pred_state): ... this. And change it to accept VPT blocks.
1738 (set_it_insn_type): Rename to ...
1739 (set_pred_insn_type): ... this.
1740 (set_it_insn_type_nonvoid): Rename to ...
1741 (set_pred_insn_type_nonvoid): ... this.
1742 (set_it_insn_type_last): Rename to ...
1743 (set_pred_insn_type_last): ... this.
1744 (record_feature_use): Moved.
1745 (mark_feature_used): Likewise.
1746 (parse_typed_reg_or_scalar): Add new case for REG_TYPE_MQ.
1747 (emit_insn): Use renamed functions and variables.
1748 (enum operand_parse_code): Add new operands.
1749 (parse_operands): Handle new operands.
1750 (do_scalar_fp16_v82_encode): Change predication detection.
1751 (do_it): Use renamed functions and variables.
1752 (do_t_add_sub): Likewise.
1753 (do_t_arit3): Likewise.
1754 (do_t_arit3c): Likewise.
1755 (do_t_blx): Likewise.
1756 (do_t_branch): Likewise.
1757 (do_t_bkpt_hlt1): Likewise.
1758 (do_t_branch23): Likewise.
1759 (do_t_bx): Likewise.
1760 (do_t_bxj): Likewise.
1761 (do_t_cond): Likewise.
1762 (do_t_csdb): Likewise.
1763 (do_t_cps): Likewise.
1764 (do_t_cpsi): Likewise.
1765 (do_t_cbz): Likewise.
1766 (do_t_it): Likewise.
1767 (do_mve_vpt): New function to handle VPT blocks.
1768 (encode_thumb2_multi): Use renamed functions and variables.
1769 (do_t_ldst): Use renamed functions and variables.
1770 (do_t_mov_cmp): Likewise.
1771 (do_t_mvn_tst): Likewise.
1772 (do_t_mul): Likewise.
1773 (do_t_nop): Likewise.
1774 (do_t_neg): Likewise.
1775 (do_t_rsb): Likewise.
1776 (do_t_setend): Likewise.
1777 (do_t_shift): Likewise.
1778 (do_t_smc): Likewise.
1779 (do_t_tb): Likewise.
1780 (do_t_udf): Likewise.
1781 (do_t_loloop): Likewise.
1782 (do_neon_cvt_1): Likewise.
1783 (do_vfp_nsyn_cvt_fpv8): Likewise.
1784 (do_vsel): Likewise.
1785 (do_vmaxnm): Likewise.
1786 (do_vrint_1): Likewise.
1787 (do_crypto_2op_1): Likewise.
1788 (do_crypto_3op_1): Likewise.
1789 (do_crc32_1): Likewise.
1790 (it_fsm_pre_encode): Likewise.
1791 (it_fsm_post_encode): Likewise.
1792 (force_automatic_it_block_close): Likewise.
1793 (check_it_blocks_finished): Likewise.
1794 (check_pred_blocks_finished): Likewise.
1795 (arm_cleanup): Likewise.
1796 (now_it_add_mask): Rename to ...
1797 (now_pred_add_mask): ... this. And use new variables and functions.
1798 (NEON_ENC_TAB): Add entries for vabdl, vaddl and vsubl.
1799 (N_I_MVE, N_F_MVE, N_SU_MVE): New MACROs.
1800 (neon_check_type): Generalize error message.
1801 (mve_encode_qqr): New MVE generic encoding function.
1802 (neon_dyadic_misc): Change to accept MVE variants.
1803 (do_neon_dyadic_if_su): Likewise.
1804 (do_neon_addsub_if_i): Likewise.
1805 (do_neon_dyadic_long): Likewise.
1806 (vfp_or_neon_is_neon): Add extra checks.
1807 (check_simd_pred_availability): Helper function to check SIMD
1808 instruction availability with respect to predication.
1809 (enum opcode_tag): New suffix value.
1810 (opcode_lookup): Change to handle VPT blocks.
1811 (new_automatic_it_block): Rename to ...
1812 (close_automatic_it_block): ...this.
1813 (TxCE, TxC3, TxC3w, TUE, TUEc, TUF, CE, C3, ToC, ToU,
1814 toC, toU, CL, cCE, cCL, C3E, xCM_, UE, UF, NUF, nUF,
1815 NCE_tag, NCE, NCEF, nCE_tag, nCE, nCEF): Add default value for new
1816 field.
1817 (mCEF, mnCEF, mnCE, MNUF, mnUF, mToC, MNCE, MNCEF): New MACROs.
1818 (insns): Redefine vadd, vsub, cabd, vabdl, vaddl, vsubl to accept MVE
1819 variants. Add entries for vscclrm, and vpst.
1820 (md_begin): Add arm_vcond_hsh initialization.
1821 * config/tc-arm.h (enum it_state): Rename to...
1822 (enum pred_state): ...this.
1823 (struct current_it): Rename to...
1824 (struct current_pred): ...this.
1825 (enum pred_type): New enum.
1826 (struct arm_segment_info_type): Use current_pred.
1827 * testsuite/gas/arm/armv8_3-a-fp-bad.l: Update error message.
1828 * testsuite/gas/arm/armv8_3-a-simd-bad.l: Update error message.
1829 * testsuite/gas/arm/dotprod-illegal.l: Update error message.
1830 * testsuite/gas/arm/mve-vaddsubabd-bad-1.d: New test.
1831 * testsuite/gas/arm/mve-vaddsubabd-bad-1.l: New test.
1832 * testsuite/gas/arm/mve-vaddsubabd-bad-1.s: New test.
1833 * testsuite/gas/arm/mve-vaddsubabd-bad-2.d: New test.
1834 * testsuite/gas/arm/mve-vaddsubabd-bad-2.l: New test.
1835 * testsuite/gas/arm/mve-vaddsubabd-bad-2.s: New test.
1836 * testsuite/gas/arm/mve-vpst-bad.d: New test.
1837 * testsuite/gas/arm/mve-vpst-bad.l: New test.
1838 * testsuite/gas/arm/mve-vpst-bad.s: New test.
1839 * testsuite/gas/arm/neon-ldst-es-bad.l: Updated error message.
1840
a7ad558c
AV
18412019-05-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
1842
1843 * config/tc-arm.c (mve_ext, mve_fp_ext): New features.
1844 (armv8_1m_main_ext_table): Add new extensions.
1845 (aeabi_set_public_attributes): Translate new features to new build attributes.
1846 (arm_convert_symbolic_attribute): Add Tag_MVE_arch.
1847 * doc/c-arm.texi: Document new extensions and new build attribute.
1848
95008a88
JD
18492019-05-15 John Darrington <john@darrington.wattle.id.au>
1850
1851 * config/tc-s12z.c (register_prefix): New variable. (md_show_usage,
1852 md_parse_option): parse the new option.
1853 (lex_reg_name): Scan the prefix if one is set.
1854 * doc/c-s12z.texi (S12Z-Opts): Document the new option.
1855 * testsuite/gas/s12z/reg-prefix.d: New file.
1856 * testsuite/gas/s12z/reg-prefix.s: New file.
1857 * testsuite/gas/s12z/s12z.exp: Add them.
1858
905f5b3f
JD
18592019-05-14 John Darrington <john@darrington.wattle.id.au>
1860
1861 * doc/as.texi (Machine Dependencies): Fix misaligned menu entry.
1862
f6bd0b76
AM
18632019-05-15 Alan Modra <amodra@gmail.com>
1864
1865 * config/tc-csky.c (md_convert_frag): Initialise trailing
1866 padding for COND_JUMP_PIC.
1867
8f02ae5b
AM
18682019-05-15 Alan Modra <amodra@gmail.com>
1869
1870 * dwarf2dbg.c: Whitespace fixes.
1871 (get_filenum): Don't strdup "file". Adjust error message.
1872 (dwarf2_directive_filename): Use an unsigned type for "num".
1873 Catch truncation of file number and overflow of get_filenum
1874 XRESIZEVEC multiplication. Delete dead code.
1875
ded12894
AM
18762019-05-15 Alan Modra <amodra@gmail.com>
1877
1878 PR 24538
1879 * config/tc-tic54x.c (tic54x_start_line_hook): Do skip end of line
1880 chars in setting endp.
1881
35015cd1
NC
18822019-05-14 Nick Clifton <nickc@redhat.com>
1883
1884 PR 24538
1885 * config/tc-i386-intel.c (i386_intel_simplify_register): Reject
1886 illegal register numbers.
1887
3076e594
NC
18882019-05-10 Nick Clifton <nickc@redhat.com>
1889
1890 PR 24538
1891 * macro.c (get_any_string): Increase size of buffer used to hold
1892 decimal value of expression result.
1893 * dw2gencfi.c (get_debugseg_name): Handle an empty name.
1894 * dwarf2dbg.c (get_filenum): Catch integer wraparound when
1895 extending allocate file array.
1896 (dwarf2_directive_filename): Add extra checks of the computed file
1897 number.
1898 * config/tc-arm.c (arm_tc_equal_in_insn): Insert copy of name into
1899 warning hash table.
1900 (s_arm_eabi_attribute): Check for obj_elf_vendor_attribute
1901 returning -1.
1902 * config/tc-i386.c (i386_output_nops): Catch an attempt to
1903 generate nops of negative lengths.
1904 * as.h (MAX_LITTLENUMS): Move definition to here from...
1905 * config/atof-ieee.c: ...here.
1906 * config/tc-aarch64.c: ...here.
1907 * config/tc-arc.c: ...here.
1908 * config/tc-arm.c: ...here.
1909 * config/tc-epiphany.c: ...here.
1910 * config/tc-i386.c: ...here.
1911 * config/tc-ia64.c: ...here. (And correct the value).
1912 * config/tc-m32c.c: ...here.
1913 * config/tc-m32r.c: ...here.
1914 * config/tc-metag.c: ...here.
1915 * config/tc-microblaze.c: ...here.
1916 * config/tc-nds32.c: ...here.
1917 * config/tc-or1k.c: ...here.
1918 * config/tc-score.c: ...here.
1919 * config/tc-score7.c: ...here.
1920 * config/tc-tic4x.c: ...here.
1921 * config/tc-tilegx.c: ...here.
1922 * config/tc-tilepro.c: ...here.
1923 * config/tc-visium.c: ...here.
1924 * config/tc-sh.c (md_assemble): Add check for an instruction with
1925 no opcodes.
1926 * config/tc-mips.c (mips_lookup_insn): Add check for very short
1927 instruction name.
1928 * config/tc-tic54x.c: Use unsigned chars to access is_end_of_line
1929 array.
1930 (tic54x_start_line_hook): Check for an empty line.
1931 (next_line_shows_parallel): Do not walk off the end of the string.
1932 (tic54x_macro_start): Check for too much macro nesting.
1933 (tic54x_start_label): Add label_start parameter. Use this
1934 parameter to check the first character of the label.
1935
1936 * config/tc-tic54x.h (TC_START_LABEL_WITHOUT_COLON): Pass
1937 line_start variable to tic54x_start_label.
1938
387e7624
FS
19392019-05-10 Faraz Shahbazker <fshahbazker@wavecomp.com>
1940
1941 * config/tc-mips.c (macro) <M_ADD_I, M_SUB_I, M_DADD_I, M_DSUB_I>:
1942 Add expansions for MIPS r6.
1943 * testsuite/gas/mips/add.s: Enable tests for R6.
1944 * testsuite/gas/mips/daddi.s: Annotate to test DADD for R6.
1945 * testsuite/gas/mips/mipsr6@add.d: Likewise.
1946 * gas/testsuite/gas/mips/mipsr6@dadd.d: New test.
1947 * gas/testsuite/gas/mips/mips.exp: Run the new test.
1948
8de09632
MM
19492019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1950
1951 * testsuite/gas/aarch64/sve2.d: Remove file format restriction.
1952
e111c7d1
MM
19532019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1954
1955 * testsuite/gas/aarch64/illegal-sve2-aes.d: New test.
1956 * testsuite/gas/aarch64/illegal-sve2-bitperm.d: New test.
1957 * testsuite/gas/aarch64/illegal-sve2-sha3.d: Test new instructions.
1958 * testsuite/gas/aarch64/illegal-sve2-sm4.d: Test new instructions.
1959 * testsuite/gas/aarch64/illegal-sve2-sve1ext.d: Test new instructions.
1960 * testsuite/gas/aarch64/illegal-sve2-sve1ext.l: Test new instructions.
1961 * testsuite/gas/aarch64/illegal-sve2.d: Test new instructions.
1962 * testsuite/gas/aarch64/illegal-sve2.l: Test new instructions.
1963 * testsuite/gas/aarch64/illegal-sve2.s: Test new instructions.
1964 * testsuite/gas/aarch64/sve1-extended-sve2.s: New test.
1965 * testsuite/gas/aarch64/sve2.d: Test new instructions.
1966 * testsuite/gas/aarch64/sve2.s: Test new instructions.
1967
28ed815a
MM
19682019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1969
1970 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHLIMM_UNPRED_22
1971 operand.
1972
31e36ab3
MM
19732019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1974
1975 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm4_11_INDEX
1976 operand.
1977
3c17238b
MM
19782019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1979
1980 * config/tc-aarch64.c (parse_operands): Handle new SVE_SHRIMM_UNPRED_22
1981 operand.
1982
c469c864
MM
19832019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1984
1985 * config/tc-aarch64.c (REG_ZR): Macro specifying zero register.
1986 (parse_address_main): Account for new addressing mode [Zn.S, Xm].
1987 (parse_operands): Handle new SVE_ADDR_ZX operand.
1988
116adc27
MM
19892019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1990
1991 * config/tc-aarch64.c (parse_operands): Handle new SVE_Zm3_11_INDEX
1992 operand.
1993
adccc507
MM
19942019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1995
1996 * config/tc-aarch64.c (parse_operands): Handle new SVE_IMM_ROT3 operand.
1997
7ce2460a
MM
19982019-05-09 Matthew Malcomson <matthew.malcomson@arm.com>
1999
2000 * config/tc-aarch64.c: Add command line architecture feature flags
2001 "sve2", "sve2-sm4", "sve2-aes", "sve2-sha3", "bitperm".
2002 * doc/c-aarch64.texi: Document new architecture feature flags.
2003
762172a4
AM
20042019-05-08 Alan Modra <amodra@gmail.com>
2005
2006 * testsuite/gas/elf/dwarf2-1.s,
2007 * testsuite/gas/elf/dwarf2-2.s,
2008 * testsuite/gas/elf/dwarf2-5.s,
2009 * testsuite/gas/elf/dwarf2-7.s,
2010 * testsuite/gas/elf/dwarf2-8.s,
2011 * testsuite/gas/elf/dwarf2-9.s,
2012 * testsuite/gas/elf/dwarf2-10.s,
2013 * testsuite/gas/elf/dwarf2-11.s,
2014 * testsuite/gas/elf/dwarf2-12.s,
2015 * testsuite/gas/elf/dwarf2-13.s,
2016 * testsuite/gas/elf/dwarf2-14.s,
2017 * testsuite/gas/elf/dwarf2-15.s,
2018 * testsuite/gas/elf/dwarf2-16.s,
2019 * testsuite/gas/elf/dwarf2-17.s,
2020 * testsuite/gas/elf/dwarf2-18.s,
2021 * testsuite/gas/elf/dwarf2-19.s: Double size of align and simulated
2022 instructions.
2023 * testsuite/gas/elf/dwarf2-1.d,
2024 * testsuite/gas/elf/dwarf2-2.d,
2025 * testsuite/gas/elf/dwarf2-5.d,
2026 * testsuite/gas/elf/dwarf2-7.d,
2027 * testsuite/gas/elf/dwarf2-8.d,
2028 * testsuite/gas/elf/dwarf2-9.d,
2029 * testsuite/gas/elf/dwarf2-10.d,
2030 * testsuite/gas/elf/dwarf2-11.d,
2031 * testsuite/gas/elf/dwarf2-12.d,
2032 * testsuite/gas/elf/dwarf2-13.d,
2033 * testsuite/gas/elf/dwarf2-14.d,
2034 * testsuite/gas/elf/dwarf2-15.d,
2035 * testsuite/gas/elf/dwarf2-16.d,
2036 * testsuite/gas/elf/dwarf2-17.d,
2037 * testsuite/gas/elf/dwarf2-18.d,
2038 * testsuite/gas/elf/dwarf2-19.d: Use xfail rather than notarget.
2039 Remove avr, pru, tile, xtensa from xfails. Update expected output.
2040 * testsuite/gas/elf/elf.exp: Sort targets.
2041 (dump_opts): Pass {as -mno-relax} for riscv, {as -mno-link-relax}
2042 for avr and pru, and {as --no-link-relax} for xtensa to dwarf tests.
2043 * testsuite/gas/elf/section2.e-miwmmxt: Delete unused file.
2044
9632a526
AM
20452019-05-08 Alan Modra <amodra@gmail.com>
2046
2047 * config/tc-xtensa.c (opt_linkrelax): New variable.
2048 (md_parse_option): Set it here.
2049 (md_begin): Copy opt_linkrelax to linkrelax.
2050
b654832d
AO
20512019-05-07 Alexandre Oliva <aoliva@redhat.com>
2052
2053 * testsuite/gas/elf/dwarf2-18.d: Xfail mep-*.
2054 * testsuite/gas/elf/dwarf2-19.d: Likewise.
2055
0f1309c8
AM
20562019-05-07 Alan Modra <amodra@gmail.com>
2057
2058 * symbols.c (use_complex_relocs_for): Formatting. Factor out
2059 X_add_symbol tests.
2060
41cee089
FS
20612019-05-06 Andrew Bennett <andrew.bennett@imgtec.com>
2062 Faraz Shahbazker <fshahbazker@wavecomp.com>
2063
2064 * config/tc-mips.c (mips_set_ase): Handle ASE_EVA_R6.
2065 (macro) <M_LLWPE_AB, M_SCWPE_AB>: New cases.
2066 (mips_after_parse_args): Translate EVA to EVA_R6.
2067 * testsuite/gas/mips/ase-errors-1.s: Add new instructions.
2068 * testsuite/gas/mips/eva.s: Likewise.
2069 * testsuite/gas/mips/ase-errors-1.l: Check errors for
2070 new instructions.
2071 * testsuite/gas/mips/mipsr6@eva.d: Check new test cases.
2072
be0d3bbb
AM
20732019-05-06 Alan Modra <amodra@gmail.com>
2074
2075 * symbols.c (symbol_relc_make_sym): Do not access sym->sy_value
2076 directly.
2077
334d91b9
AM
20782019-05-06 Alan Modra <amodra@gmail.com>
2079
2080 * config/tc-ppc.c (ppc_fix_adjustable): Exclude all GOT and PLT
2081 relocs, and VLE sdarel relocs.
2082 * testsuite/gas/ppc/power4.d: Adjust.
2083
62e6b7b3
AO
20842019-05-05 Alexandre Oliva <aoliva@redhat.com>
2085
2086 * dwarf2dbg.c (set_or_check_view): Skip heads when assigning
2087 views of prior locs.
2088 (dwarf2_gen_line_info_1): Skip heads.
2089 (size_inc_line_addr, emit_inc_line_addr): Drop
2090 DW_LNS_advance_pc for zero addr delta.
2091 (dwarf2_finish): Assign views for heads of segments.
2092 * testsuite/gas/elf/dwarf2-19.d: New.
2093 * testsuite/gas/elf/dwarf2-19.s: New.
2094 * testsuite/gas/elf/elf.exp: Test it.
2095
27cdfa03
AM
20962019-05-04 Alan Modra <amodra@gmail.com>
2097
2098 * config/tc-m32c.c (insn_size): Delete static var.
2099 (md_begin): Don't set it.
2100 (m32c_md_end): Delete.
2101 (md_assemble): Add insn_size auto var.
2102 * config/tc-m32c.h (md_end): Don't define.
2103 (m32c_md_end): Delete.
2104 (NOP_OPCODE, HANDLE_ALIGN, MAX_MEM_FOR_RS_ALIGN_CODE): Define.
2105 * testsuite/gas/all/align.d: Remove m32c from notarget list.
2106 * testsuite/gas/all/incbin.d: Likewise.
2107 * testsuite/gas/elf/dwarf2-11.d: Likewise.
2108 * testsuite/gas/macros/semi.d: Likewise.
2109 * testsuite/gas/all/gas.exp (do_comment): Similarly.
2110
06f74c5c
L
21112019-05-02 H.J. Lu <hongjiu.lu@intel.com>
2112
2113 PR gas/24485
2114 * config/tc-i386.c (process_suffix): Issue a warning to IRET
2115 without a suffix for .code16gcc.
2116 * testsuite/gas/i386/jump16.s: Add tests for iretX.
2117 * testsuite/gas/i386/jump16.d: Updated.
2118 * testsuite/gas/i386/jump16.e: New file.
2119
b83b4b13
SD
21202019-05-01 Sudakshina Das <sudi.das@arm.com>
2121
2122 * config/tc-aarch64.c (parse_operands): Add case for
2123 AARCH64_OPND_TME_UIMM16.
2124 (aarch64_features): Add "tme".
2125 * doc/c-aarch64.texi: Document the same.
2126 * testsuite/gas/aarch64/tme-invalid.d: New test.
2127 * testsuite/gas/aarch64/tme-invalid.l: New test.
2128 * testsuite/gas/aarch64/tme-invalid.s: New test.
2129 * testsuite/gas/aarch64/tme.d: New test.
2130 * testsuite/gas/aarch64/tme.s: New test.
2131
4a90ce95
JD
21322019-04-29 John Darrington <john@darrington.wattle.id.au>
2133
8f02ae5b 2134 * testsuite/gas/s12z/truncated.d: New file.
4a90ce95
JD
2135 * testsuite/gas/s12z/truncated.s: New file.
2136 * testsuite/gas/s12z/s12z.exp: Add new test.
2137
a45328b9
AB
21382019-04-26 Andrew Bennett <andrew.bennett@imgtec.com>
2139 Faraz Shahbazker <fshahbazker@wavecomp.com>
2140
2141 * config/tc-mips.c (macro) <M_LLWP_AB, M_LLDP_AB, M_SCWP_AB,
2142 M_SCDP_AB>: New cases and expansions for paired instructions.
2143 * testsuite/gas/mips/llpscp-32.s: New test source.
2144 * testsuite/gas/mips/llpscp-64.s: Likewise.
2145 * testsuite/gas/mips/llpscp-32.d: New test.
2146 * testsuite/gas/mips/llpscp-64.d: Likewise.
2147 * testsuite/gas/mips/mips.exp: Run the new tests.
2148 * testsuite/gas/mips/r6.s: Add new instructions to test source.
2149 * testsuite/gas/mips/r6-64.s: Likewise.
2150 * testsuite/gas/mips/r6-64-n32.d: Check new instructions.
2151 * testsuite/gas/mips/r6-64-n64.d: Likewise.
2152 * testsuite/gas/mips/r6-n32.d: Likewise.
2153 * testsuite/gas/mips/r6-n64.d: Likwwise.
2154 * testsuite/gas/mips/r6.d: Likewise.
2155
7cb22ff8
L
21562019-04-26 H.J. Lu <hongjiu.lu@intel.com>
2157
2158 PR gas/24485
2159 * config/tc-i386.c (process_suffix): Don't add DATA_PREFIX_OPCODE
2160 to IRET for .code16gcc.
2161 * testsuite/gas/i386/jump16.s: Add IRET tests.
2162 * testsuite/gas/i386/jump16.d: Updated.
2163
38c3873e
AO
21642019-04-25 Alexandre Oliva <aoliva@redhat.com>
2165 Alan Modra <amodra@gmail.com>
2166
2167 PR gas/24444
2168 * frags.c (frag_gtoffset_p): New.
2169 * frags.h (frag_gtoffset_p): Declare it.
2170 * expr.c (resolve_expression): Use it.
2171
1903f138
AM
21722019-04-24 Alan Modra <amodra@gmail.com>
2173
2174 PR 24444
2175 * symbols.c (resolve_symbol_value): When handling symbols
2176 marked as sy_flags.resolved, return correct value for the
2177 case of expression symbols left as an O_symbol expression.
2178 Merge O_symbol code handling undefined and common symbols with
2179 code handling special cases of expression symbols. Use
2180 seg_left to test for undefined and common symbols. Don't
2181 leave an O_symbol expression when X_add_symbol resolves to
2182 the absolute_section. Init final_val later.
2183 * testsuite/gas/mmix/basep-7.d: Adjust expected output.
2184
a679f24e
JD
21852019-04-24 John Darrington <john@darrington.wattle.id.au>
2186
2187 * testsuite/gas/s12z/bit-manip-invalid.s: Extend test for BSET
2188 and BCLR instructions with an invalid mode.
2189 * testsuite/gas/s12z/bit-manip-invalid.d: ditto.
2190
5ce032bd
NC
21912019-04-19 Nick Clifton <nickc@redhat.com>
2192
2193 PR 24464
2194 * config/tc-rx.h (md_relax_frag): Pass the max_iterations variable
2195 to the relaxation function.
2196 * config/tc-rx.c (rx_relax_frag): Add new parameter - the maximum
2197 number of iterations. Make sure that our internal iteration limit
2198 does not exceed this external iteration limit.
2199
85bec12d
MF
22002019-04-18 Matthew Fortune <matthew.fortune@mips.com>
2201
2202 * config/tc-mips.c (match_non_zero_reg_operand): Update
2203 warning message.
2204 * testsuite/gas/mips/r6-branch-constraints.l: Likewise.
2205
5d5b0bd3
JL
22062019-04-18 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2207
2208 * config/tc-msp430.c (msp430_make_init_symbols): Define
2209 __crt0_run_{preinit,init,fini}_array symbols if
2210 .{preinit,init,fini}_array sections exist.
2211 * testsuite/gas/msp430/fini-array.d: New test.
2212 * testsuite/gas/msp430/init-array.d: New test.
2213 * testsuite/gas/msp430/preinit-array.d: New test.
2214 * testsuite/gas/msp430/fini-array.s: New test source.
2215 * testsuite/gas/msp430/init-array.s: New test source.
2216 * testsuite/gas/msp430/preinit-array.s: New test source.
2217 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
2218
afff667a
JL
22192019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2220
2221 * config/tc-msp430.c (msp430_make_init_symbols): Define __crt0_init_bss
2222 symbol when .lower.bss or .either.bss sections exist.
2223 Define __crt0_movedata when .lower.data or .either.data sections exist.
2224 * testsuite/gas/msp430/either-data-bss-sym.d: New test.
2225 * testsuite/gas/msp430/low-data-bss-sym.d: New test.
2226 * testsuite/gas/msp430/either-data-bss-sym.s: New test source.
2227 * testsuite/gas/msp430/low-data-bss-sym.s: New test source.
2228 * testsuite/gas/msp430/msp430.exp: Run new tests.
2229 Enable large code model when running -mdata-region={upper,either}
2230 tests.
2231
d5579774
JL
22322019-04-17 Jozef Lawrynowicz <jozef.l@mittosystems.com>
2233
2234 * config/tc-msp430.c (options): New OPTION_UNKNOWN_INTR_NOPS,
2235 OPTION_NO_UNKNOWN_INTR_NOPS and do_unknown_interrupt_nops.
2236 (md_parse_option): Handle OPTION_UNKNOWN_INTR_NOPS and
2237 OPTION_NO_UNKNOWN_INTR_NOPS by setting do_unknown_interrupt_nops
2238 accordingly.
2239 (md_show_usage): Likewise.
2240 (md_shortopts): Add "mu" for OPTION_UNKNOWN_INTR_NOPS and
2241 "mU" for OPTION_NO_UNKNOWN_INTR_NOPS.
2242 (md_longopts): Likewise.
2243 (warn_eint_nop): Update comment.
2244 (warn_unsure_interrupt): Don't warn if prev_insn_is_nop or
2245 prev_insn_is_dint or we are assembling for 430 ISA.
2246 (msp430_operands): Only call warn_unsure_interrupt if
2247 do_unknown_interrupt_nops == TRUE.
2248 * testsuite/gas/msp430/nop-unknown-intr.s: New test source file.
2249 * testsuite/gas/msp430/nop-unknown-intr-430.d: New test.
2250 * testsuite/gas/msp430/nop-unknown-intr-430x.d: New test.
2251 * testsuite/gas/msp430/nop-unknown-intr-430x-ignore.d: New test.
2252 * testsuite/gas/msp430/nop-unknown-intr-430.l: Warning output for new
2253 test.
2254 * testsuite/gas/msp430/nop-unknown-intr-430x.l: Likewise.
2255 * testsuite/gas/msp430/msp430.exp: Add new tests to driver.
2256
fe7e91e7
AM
22572019-04-16 Alan Modra <amodra@gmail.com>
2258
2259 * testsuite/gas/all/weakref1.d: xfail nds32.
2260
a0fb9615
AM
22612019-04-16 Alan Modra <amodra@gmail.com>
2262
2263 * testsuite/gas/all/gas.exp: Remove ns32k xfails.
2264 * testsuite/gas/all/weakref1u.d: Don't run for ns32k-*-*.
2265
5bc11336
AM
22662019-04-16 Alan Modra <amodra@gmail.com>
2267
2268 * write.h: Don't include bit_fix.h.
2269 (struct fix): Rearrange some fields. Delete fx_im_disp and
2270 fx_bit_fixP. Use bitfields for fx_size and fx_pcrel_adjust.
2271 * write.c (fix_new_internal): Don't init fx_im_disp and fx_bit_fixP.
2272 (fixup_segment): Don't exclude overflow checks on fx_bit_fixP.
2273 (print_fixup): Don't print im_disp.
2274 * config/tc-cris.c (md_apply_fix): Remove tests of fx_bit_fixP
2275 and fx_im_disp.
2276 * config/tc-dlx.c (md_apply_fix): Remove wrong debug code. Set
2277 fx_no_overflow when fx_bit_fixP.
2278 * config/tc-dlx.h: Include bit_fix.h.
2279 (TC_FIX_TYPE, tc_fix_data, TC_INIT_FIX_DATA): Define.
2280 * config/tc-ns32k.c (fix_new_ns32k, fix_new_ns32k_exp): Set
2281 fx_no_overflow when bit_fixP.
2282 * config/tc-ns32k.h (TC_FIX_TYPE): Add fx_bit_fixP and fx_im_disp.
2283 (fix_im_disp, fix_bit_fixP): Adjust to suit.
2284 (TC_INIT_FIX_DATA, TC_FIX_DATA_PRINT): Likewise.
2285
90bd3c90
AM
22862019-04-16 Alan Modra <amodra@gmail.com>
2287
2288 * write.h (struct fix <fx_where>): Make unsigned.
2289 (fix_new, fix_at_start, fix_new_exp): Adjust prototypes.
2290 * write.c (fix_new, fix_new_exp, fix_at_start): Make "where" and
2291 "size" parameters unsigned long.
2292 (fix_new_internal): Likewise. Adjust error format string to suit.
2293 * config/tc-mips.c (md_convert_frag): Remove cast of fx_where.
2294 * config/tc-sparc.c (md_apply_fix): Likewise.
2295 * config/tc-score.c (s3_convert_frag): Adjust for unsigned fx_where.
2296 * config/tc-score7.c (s7_convert_frag): Likewise.
2297
871a6bd2
AM
22982019-04-16 Alan Modra <amodra@gmail.com>
2299
2300 * frags.h (struct frag <fr_fix>): Use unsigned type.
2301 * frags.c (frag_new): Assert that current size exceeds
2302 old_frags_var_max_size.
2303 * ehopt.c (get_cie_info): Adjust for unsigned fr_fix.
2304 * listing.c (calc_hex): Likewise.
2305 * write.c (cvt_frag_to_fill, write_relocs): Likewise.
2306 * config/tc-arc.c (md_convert_frag): Likewise.
2307 * config/tc-avr.c (avr_patch_gccisr_frag): Likewise.
2308 * config/tc-mips.c (md_convert_frag): Likewise.
2309 * config/tc-rl78.c (md_convert_frag): Likewise.
2310 * config/tc-rx.c (md_convert_frag): Likewise.
2311 * config/tc-sparc.c (md_apply_fix): Likewise.
2312 * config/tc-xtensa.c (next_instrs_are_b_retw): Likewise.
2313 (unrelaxed_frag_min_insn_count, unrelaxed_frag_has_b_j): Likewise.
2314
32c36c3c
AV
23152019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2316
2317 * config/tc-arm.c (parse_sys_vldr_vstr): New function.
2318 (OP_VLDR): New enum operand_parse_code enumerator.
2319 (parse_operands): Add logic for OP_VLDR.
2320 (do_t_vldr_vstr_sysreg): New function.
2321 (do_vldr_vstr): Likewise.
2322 (insns): Guard VLDR and VSTR by arm_ext_v4t for Thumb mode.
2323 (md_apply_fix): Add bound check for VLDR and VSTR co-processor offset.
2324 Add masking logic for BFD_RELOC_ARM_T32_VLDR_VSTR_OFF_IMM relocation.
2325 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add examples of bad
2326 uses of VLDR and VSTR.
2327 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error messages for
2328 above bad uses.
2329 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add examples of VLDR and
2330 VSTR valid uses.
2331 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add disassembly for the
2332 above examples.
2333
efd6b359
AV
23342019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2335
2336 * config/tc-arm.c (arm_typed_reg_parse): Fix typo in comment.
2337 (enum reg_list_els): New REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
2338 enumerators.
2339 (parse_vfp_reg_list): Add new partial_match parameter. Set
2340 *partial_match to TRUE if at least one element in the register list has
2341 matched. Add support for REGLIST_VFP_S_VPR and REGLIST_VFP_D_VPR
2342 register lists which expect VPR as last element in the list.
2343 (s_arm_unwind_save_vfp_armv6): Adapt call to parse_vfp_reg_list to new
2344 prototype.
2345 (s_arm_unwind_save_vfp): Likewise.
2346 (enum operand_parse_code): New OP_VRSDVLST enumerator.
2347 (parse_operands): Adapt call to parse_vfp_reg_list to new prototype.
2348 Handle new OP_VRSDVLST case.
2349 (do_t_vscclrm): New function.
2350 (insns): New entry for VSCCLRM instruction.
2351 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Add invalid VSCCLRM
2352 instructions.
2353 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Add error expectations
2354 for above instructions.
2355 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Add tests for VSCCLRM
2356 instruction.
2357 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Add expected disassembly
2358 for above instructions.
2359
4b5a202f
AV
23602019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2361
2362 * config/tc-arm.c (enum reg_list_els): Define earlier and add
2363 REGLIST_RN and REGLIST_CLRM enumerators.
2364 (parse_reg_list): Add etype parameter to distinguish between regular
2365 core register list and CLRM register list. Add logic to
2366 recognize CLRM register list.
2367 (parse_vfp_reg_list): Assert type is not for core register list.
2368 (s_arm_unwind_save_core): Update call to parse_reg_list to new
2369 prototype.
2370 (enum operand_parse_code): Declare OP_CLRMLST enumerator.
2371 (parse_operands): Update call to parse_reg_list to new prototype. Add
2372 logic for OP_CLRMLST.
2373 (encode_thumb2_ldmstm): Rename into ...
2374 (encode_thumb2_multi): This. Add do_io parameter. Add logic to
2375 encode CLRM and guard LDM/STM only code by do_io.
2376 (do_t_ldmstm): Adapt to use encode_thumb2_multi.
2377 (do_t_push_pop): Likewise.
2378 (do_t_clrm): New function.
2379 (insns): Define CLRM.
2380 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.d: New file.
2381 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.l: Likewise.
2382 * testsuite/gas/arm/archv8m_1m-cmse-main-bad.s: Likewise.
2383 * testsuite/gas/arm/archv8m_1m-cmse-main.d: Likewise.
2384 * testsuite/gas/arm/archv8m_1m-cmse-main.s: Likewise.
2385
60f993ce 23862019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 2387 Andre Vieira <andre.simoesdiasvieira@arm.com>
60f993ce
AV
2388
2389 * config/tc-arm.c (operand_parse_code): Add OP_LR and OP_oLR
2390 for the LR operand and optional LR operand.
2391 (parse_operands): Add switch cases for OP_LR and OP_oLR for
2392 both type checking and value checking.
2393 (encode_thumb32_addr_mode): New entries for DLS, WLS and LE.
2394 (v8_1_loop_reloc): New helper function for handling labels
2395 for the low overhead loop instructions.
2396 (do_t_loloop): New function to encode DLS, WLS and LE.
2397 (insns): New entries for WLS, DLS and LE.
2398 (md_pcrel_from_section): New switch case
2399 for BFD_RELOC_ARM_THUMB_LOOP12.
2400 (md_appdy_fix): Likewise.
2401 (tc_gen_reloc): Likewise.
2402 * testsuite/gas/arm/armv8_1-m-tloop.s: New.
2403 * testsuite/gas/arm/armv8_1-m-tloop.d: New.
2404 * testsuite/gas/arm/armv8_1-m-tloop-bad.s: New.
2405 * testsuite/gas/arm/armv8_1-m-tloop-bad.d: New.
2406 * testsuite/gas/arm/armv8_1-m-tloop-bad.l: New.
2407
f6b2b12d 24082019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 2409 Andre Vieira <andre.simoesdiasvieira@arm.com>
f6b2b12d
AV
2410
2411 * config/tc-arm.c (T16_32_TAB): New entriy for bfcsel.
2412 (do_t_v8_1_branch): New switch case for bfcsel.
2413 (toU): Define.
2414 (insns): New instruction for bfcsel.
2415 (md_pcrel_from_section): New switch case
2416 for BFD_RELOC_THUMB_PCREL_BFCSEL.
2417 (md_appdy_fix): Likewise
2418 (tc_gen_reloc): Likewise.
2419 * testsuite/gas/arm/armv8_1-m-bfcsel.d: New.
2420 * testsuite/gas/arm/armv8_1-m-bfcsel.s: New.
2421
1889da70
AV
24222019-04-15 Sudakshina Das <sudi.das@arm.com>
2423
2424 * config/tc-arm.c (md_pcrel_from_section): New switch case for
2425 BFD_RELOC_ARM_THUMB_BF13.
2426 (md_appdy_fix): Likewise.
2427 (tc_gen_reloc): Likewise.
2428
65d1bc05 24292019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 2430 Andre Vieira <andre.simoesdiasvieira@arm.com>
65d1bc05
AV
2431
2432 * config/tc-arm.c (T16_32_TAB): New entrie for bfl.
2433 (do_t_v8_1_branch): New switch case for bfl.
2434 (insns): New instruction for bfl.
2435 * testsuite/gas/arm/armv8_1-m-bfl.d: New.
2436 * testsuite/gas/arm/armv8_1-m-bfl.s: New.
2437 * testsuite/gas/arm/armv8_1-m-bfl-bad.s: New.
2438 * testsuite/gas/arm/armv8_1-m-bfl-bad.d: New.
2439 * testsuite/gas/arm/armv8_1-m-bfl-bad.l: New.
2440 * testsuite/gas/arm/armv8_1-m-bfl-rel.d: New.
2441 * testsuite/gas/arm/armv8_1-m-bfl-rel.s: New.
2442
1caf72a5
AV
24432019-04-15 Sudakshina Das <sudi.das@arm.com>
2444
2445 * config/tc-arm.c (md_pcrel_from_section): New switch case for
2446 BFD_RELOC_ARM_THUMB_BF19.
2447 (md_appdy_fix): Likewise.
2448 (tc_gen_reloc): Likewise.
2449
f1c7f421
AV
24502019-04-15 Sudakshina Das <sudi.das@arm.com>
2451
2452 * config/tc-arm.c (T16_32_TAB): New entries for bfx and bflx.
2453 (do_t_v8_1_branch): New switch cases for bfx and bflx.
2454 (insns): New instruction for bfx and bflx.
2455 * testsuite/gas/arm/armv8_1-m-bf-exchange.d: New.
2456 * testsuite/gas/arm/armv8_1-m-bf-exchange.s: New.
2457 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.s: New
2458 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.l: New
2459 * testsuite/gas/arm/armv8_1-m-bf-exchange-bad.d: New
2460
4389b29a 24612019-04-15 Sudakshina Das <sudi.das@arm.com>
8f02ae5b 2462 Andre Vieira <andre.simoesdiasvieira@arm.com>
4389b29a
AV
2463
2464 * config/tc-arm.c (T16_32_TAB): New entries for bf.
2465 (do_t_branch_future): New.
2466 (insns): New instruction for bf.
2467 * testsuite/gas/arm/armv8_1-m-bf.d: New.
2468 * testsuite/gas/arm/armv8_1-m-bf.s: New.
2469 * testsuite/gas/arm/armv8_1-m-bf-bad.s: New.
2470 * testsuite/gas/arm/armv8_1-m-bf-bad.l: New.
2471 * testsuite/gas/arm/armv8_1-m-bf-bad.d: New.
2472 * testsuite/gas/arm/armv8_1-m-bf-rel.d: New.
2473 * testsuite/gas/arm/armv8_1-m-bf-rel.s: New.
2474
e5d6e09e
AV
24752019-04-15 Sudakshina Das <sudi.das@arm.com>
2476
2477 * config/tc-arm.c (md_pcrel_from_section): New switch case for
2478 BFD_RELOC_ARM_THUMB_BF17.
2479 (md_appdy_fix): Likewise.
2480 (tc_gen_reloc): Likewise.
2481
e2b0ab59
AV
24822019-04-15 Sudakshina Das <sudi.das@arm.com>
2483
2484 * config/tc-arm.c (ARM_IT_MAX_RELOCS): New macro.
2485 (arm_it): Member reloc renamed relocs and updated to an array.
2486 Rest: Replace all occurrences of reloc to relocs[0].
2487
e12437dc
AV
24882019-04-15 Sudakshina Das <sudi.das@arm.com>
2489
2490 * config/tc-arm.c (md_pcrel_from_section): New switch case
2491 for BFD_RELOC_THUMB_PCREL_BRANCH5.
2492 (v8_1_branch_value_check): New function to check branch
2493 offsets.
2494 (md_appdy_fix): New switch case for
2495 BFD_RELOC_THUMB_PCREL_BRANCH5.
2496 (tc_gen_reloc): Likewise.
2497
e0991585
AV
24982019-04-15 Andre Vieira <andre.simoesdiasvieira@arm.com>
2499
2500 * config/tc-arm.c (do_neon_movhf): Remove fp-armv8 check.
2501 (armv8_1m_main_ext_table): New extension table.
2502 (arm_archs): Use the new extension table.
2503 * doc/c-arm.texi: Add missing arch and document new extensions.
2504 * testsuite/gas/arm/armv8.1-m.main-fp.d: New.
2505 * testsuite/gas/arm/armv8.1-m.main-fp-dp.d: New.
2506 * testsuite/gas/arm/armv8.1-m.main-hp.d: New.
2507
031254f2
AV
25082019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
2509
2510 * config/tc-arm.c (cpu_arch_ver): Add entry for Armv8.1-M Mainline
2511 Tag_CPU_arch build attribute value. Reindent.
2512 (get_aeabi_cpu_arch_from_fset): Update assert.
2513 (aeabi_set_public_attributes): Update assert for Tag_DIV_use logic.
2514 * testsuite/gas/arm/attr-march-armv8_1-m.main.d: New test.
2515
bdc8beb4
MF
25162019-04-09 Matthew Fortune <matthew.fortune@mips.com>
2517
2518 * config/tc-mips.c (mips_cpu_info_table): Add i6500. Update
2519 default ASEs for i6400.
2520 * doc/c-mips.texi (-march): Document i6500.
2521 * testsuite/gas/mips/elf_mach_i6400.d: New test.
2522 * testsuite/gas/mips/elf_mach_i6500.d: New test.
2523 * testsuite/gas/mips/mips.exp: Run the new tests.
2524
3315614d
MF
25252019-04-09 Matthew Fortune <matthew.fortune@mips.com>
2526
2527 * config/tc-mips.c (mips_set_options) <init_ase>: New field.
2528 (file_mips_opts, mips_opts) <init_ase>: Initialize new field.
2529 (file_mips_check_options): Propagate initial ASE settings.
2530 (mips_after_parse_args, parse_code_option): Track the initial
2531 ASE settings for a CPU.
2532 (s_mipsset): Restore the initial ASE settings when reverting
2533 to the default arch.
2534 * testsuite/gas/mips/elf_mach_p6600.d: New test.
2535 * testsuite/gas/mips/mips.exp: Run the new test.
2536
8114a5c5 25372019-04-12 John Darrington <john@darrington.wattle.id.au>
8f02ae5b 2538
8114a5c5
JD
2539 config/tc-s12z.h: Remove definition of macro TC_M68K
2540
d04ebfb8 25412019-04-01 John Darrington <john@darrington.wattle.id.au>
8f02ae5b 2542
d04ebfb8
JD
2543 config/tc-s12z.c: Use bfd_boolean where appropriate.
2544
c0b4cd46
MF
25452019-04-11 Max Filippov <jcmvbkbc@gmail.com>
2546
2547 * testsuite/gas/xtensa/loop-relax-2.d: New test definition.
2548 * testsuite/gas/xtensa/loop-relax.d: New test definition.
2549 * testsuite/gas/xtensa/loop-relax.s: New test source.
2550 * testsuite/gas/xtensa/text-section-literals-1a.d: New test
2551 definition.
2552 * testsuite/gas/xtensa/text-section-literals-2.d: New test
2553 definition.
2554 * testsuite/gas/xtensa/text-section-literals-2.s: New test
2555 source.
2556 * testsuite/gas/xtensa/text-section-literals-2a.d: New test
2557 definition.
2558 * testsuite/gas/xtensa/text-section-literals-3.d: New test
2559 definition.
2560 * testsuite/gas/xtensa/text-section-literals-3.s: New test
2561 source.
2562 * testsuite/gas/xtensa/text-section-literals-4.d: New test
2563 definition.
2564 * testsuite/gas/xtensa/text-section-literals-4.s: New test
2565 source.
2566 * testsuite/gas/xtensa/text-section-literals-4a.d: New test
2567 definition.
2568
6f2b7715
MF
25692019-04-11 Max Filippov <jcmvbkbc@gmail.com>
2570
2571 * testsuite/gas/xtensa/all.exp: Remove all expect-based
2572 tests and all explicit run_dump_test / run_list_test
2573 invocations. Add run_dump_tests for all .d files in the
2574 test subdirectory.
2575 * testsuite/gas/xtensa/entry_align.d: New test definition.
2576 * testsuite/gas/xtensa/entry_align.l: New test output.
2577 * testsuite/gas/xtensa/entry_misalign.d: New test definition.
2578 * testsuite/gas/xtensa/entry_misalign2.d: New test definition.
2579 * testsuite/gas/xtensa/j_too_far.d: New test definition.
2580 * testsuite/gas/xtensa/j_too_far.l: New test output.
2581 * testsuite/gas/xtensa/loop_align.d: New test definition.
2582 * testsuite/gas/xtensa/loop_misalign.d: New test definition.
2583 * testsuite/gas/xtensa/trampoline-2.d: New test definition.
2584 * testsuite/gas/xtensa/trampoline-2.l: Remove empty output.
2585 * testsuite/gas/xtensa/xtensa-err.exp: Use positive logic.
2586
f8aecf3c
MF
25872019-04-11 Max Filippov <jcmvbkbc@gmail.com>
2588
2589 * config/tc-xtensa.c (xtensa_literal_pseudo): Drop code that has
2590 no effect.
2591 (get_literal_pool_location): Only search for the literal pool
2592 when auto litpools is used, otherwise take one recorded in the
2593 tc_segment_info_data.
2594 (xtensa_assign_litpool_addresses): New function.
2595 (xtensa_move_literals): Don't duplicate 'literal pool location
2596 required...' error message. Call xtensa_assign_litpool_addresses.
2597
54879176
MF
25982019-04-11 Max Filippov <jcmvbkbc@gmail.com>
2599
2600 * config/tc-xtensa.c (xtensa_is_init_fini): Add declaration.
2601 (xtensa_mark_literal_pool_location): Don't add fill frag to literal
2602 section that records literal pool location.
2603 (md_begin): Call xtensa_mark_literal_pool_location when text
2604 section literals or auto litpools are used.
2605 (xtensa_elf_section_change_hook): Call
2606 xtensa_mark_literal_pool_location when text section literals or
2607 auto litpools are used, there's no literal pool location defined
2608 for the current section and it's not .init or .fini.
2609 * testsuite/gas/xtensa/auto-litpools-first1.d: Fix up addresses.
2610 * testsuite/gas/xtensa/auto-litpools-first2.d: Likewise.
2611 * testsuite/gas/xtensa/auto-litpools.d: Likewise.
2612
bd7ceb8d
SD
26132019-04-11 Sudakshina Das <sudi.das@arm.com>
2614
2615 * config/tc-aarch64.c (process_omitted_operand): Add case for
2616 AARCH64_OPND_Rt_SP.
2617 (parse_operands): Likewise.
2618 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Update tests.
2619 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
2620 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
2621 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
2622
e54010f1
SD
26232019-04-11 Sudakshina Das <sudi.das@arm.com>
2624
2625 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for ldgm and stgm.
2626 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
2627 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
2628 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
2629
a5def729
RO
26302019-04-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2631
2632 * config/tc-i386.c (need_plt32_p) [TE_SOLARIS]: Return FALSE.
2633 * testsuite/gas/i386/solaris/solaris.exp: New driver.
2634 * testsuite/gas/i386/solaris/reloc64.d,
2635 testsuite/gas/i386/solaris/x86-64-jump.d,
2636 testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
2637 testsuite/gas/i386/solaris/x86-64-mpx-branch-2.d,
2638 testsuite/gas/i386/solaris/x86-64-nop-3.d,
2639 testsuite/gas/i386/solaris/x86-64-nop-4.d,
2640 testsuite/gas/i386/solaris/x86-64-nop-5.d,
2641 testsuite/gas/i386/solaris/x86-64-relax-2.d,
2642 testsuite/gas/i386/solaris/x86-64-relax-3.d: New tests.
2643 * testsuite/gas/i386/reloc64.d,
2644 testsuite/gas/i386/x86-64-jump.d,
2645 testsuite/gas/i386/x86-64-mpx-branch-1.d,
2646 testsuite/gas/i386/x86-64-mpx-branch-2.d,
2647 testsuite/gas/i386/x86-64-nop-3.d,
2648 testsuite/gas/i386/x86-64-nop-4.d,
2649 testsuite/gas/i386/x86-64-nop-5.d,
2650 testsuite/gas/i386/x86-64-relax-2.d,
2651 testsuite/gas/i386/x86-64-relax-3.d: Skip on *-*-solaris*.
2652
12400dcc
AM
26532019-04-10 Alan Modra <amodra@gmail.com>
2654
2655 * config/te-cloudabi.h: New file.
2656 * config/tc-aarch64.c (aarch64_after_parse_args): Use TE_CLOUDABI
2657 rather than TARGET_OS to select cloudabi.
2658 * config/tc-i386.h (ELF_TARGET_FORMAT64): Define for TE_CLOUDABI.
2659 * configure.tgt (*-*-cloudabi*): Set em=cloudabi.
2660
7e96e219
RS
26612019-04-09 Robert Suchanek <robert.suchanek@mips.com>
2662
2663 * testsuite/gas/mips/mips.exp: Run hwr-names test.
2664 * testsuite/gas/mips/hwr-names.s: Add test cases for RDHWR with
2665 the SEL field.
2666 * testsuite/gas/mips/mipsr6@hwr-names.d: New file.
2667
462cac58
L
26682019-04-08 H.J. Lu <hongjiu.lu@intel.com>
2669
2670 * config/tc-i386.c (output_insn): Support
2671 GNU_PROPERTY_X86_ISA_1_AVX512_BF16.
2672 * testsuite/gas/i386/property-2.s: Add AVX512_BF16 test.
2673 * testsuite/gas/i386/property-2.d: Updated.
2674 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
2675
3ae61bb6
L
26762019-04-08 H.J. Lu <hongjiu.lu@intel.com>
2677
2678 * configure.tgt: Remove i386-*-kaos* and i386-*-chaos targets.
2679 * testsuite/gas/i386/i386.exp: Remove *-*-caos* and "*-*-kaos*
2680 check.
2681
4ef40579
L
26822019-04-05 H.J. Lu <hongjiu.lu@intel.com>
2683
2684 * testsuite/gas/i386/i386.exp: Run -mx86-used-note=yes tests.
2685 * testsuite/gas/i386/property-2.d: New file.
2686 * testsuite/gas/i386/property-2.s: Likewise.
2687 * testsuite/gas/i386/x86-64-property-2.d: Likewise.
2688
d6aab7a1
XG
26892019-04-05 Xuepeng Guo <xuepeng.guo@intel.com>
2690
2691 * config/tc-i386.c (cpu_arch): Add .avx512_bf16.
2692 (cpu_noarch): Add noavx512_bf16.
2693 * doc/c-i386.texi: Document avx512_bf16.
2694 * testsuite/gas/i386/avx512_bf16.d: New file.
2695 * testsuite/gas/i386/avx512_bf16.s: Likewise.
2696 * testsuite/gas/i386/avx512_bf16_vl-inval.l: Likewise.
2697 * testsuite/gas/i386/avx512_bf16_vl-inval.s: Likewise.
2698 * testsuite/gas/i386/avx512_bf16_vl.d: Likewise.
2699 * testsuite/gas/i386/avx512_bf16_vl.s: Likewise.
2700 * testsuite/gas/i386/x86-64-avx512_bf16.d: Likewise.
2701 * testsuite/gas/i386/x86-64-avx512_bf16.s: Likewise.
2702 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.l: Likesie.
2703 * testsuite/gas/i386/x86-64-avx512_bf16_vl-inval.s: Likewise.
2704 * testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Likewise.
2705 * testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Likewise.
2706 * testsuite/gas/i386/i386.exp: Add BF16 related tests.
2707
bec858ea
AM
27082019-04-05 Alan Modra <amodra@gmail.com>
2709
2710 * testsuite/gas/ppc/bc.s,
2711 * testsuite/gas/ppc/bcat.d,
2712 * testsuite/gas/ppc/bcaterr.d,
2713 * testsuite/gas/ppc/bcaterr.l,
2714 * testsuite/gas/ppc/bcy.d,
2715 * testsuite/gas/ppc/bcyerr.d,
2716 * testsuite/gas/ppc/bcyerr.l: New tests.
2717 * testsuite/gas/ppc/ppc.exp: Run them.
2718
c2b1c275
AM
27192019-04-05 Alan Modra <amodra@gmail.com>
2720
2721 * testsuite/gas/ppc/476.d: Remove trailing spaces.
2722 * testsuite/gas/ppc/a2.d: Likewise.
2723 * testsuite/gas/ppc/booke.d: Likewise.
2724 * testsuite/gas/ppc/booke_xcoff.d: Likewise.
2725 * testsuite/gas/ppc/e500.d: Likewise.
2726 * testsuite/gas/ppc/e500mc.d: Likewise.
2727 * testsuite/gas/ppc/e6500.d: Likewise.
2728 * testsuite/gas/ppc/htm.d: Likewise.
2729 * testsuite/gas/ppc/power6.d: Likewise.
2730 * testsuite/gas/ppc/power8.d: Likewise.
2731 * testsuite/gas/ppc/power9.d: Likewise.
2732 * testsuite/gas/ppc/vle.d: Likewise.
2733
aae9718e
PB
27342019-04-04 Peter Bergner <bergner@linux.ibm.com>
2735
2736 PR gas/24349
2737 * testsuite/gas/ppc/power8.s: (bdnztar, bdnztarl, bdztar, bdztarl,
2738 btar, btarl, bdnztar-, bdnztarl-, bdnztar+, bdnztarl+, bdztar-,
2739 bdztarl-, bdztar+, bdztarl+, bgetar, bnltar, bgetarl, bnltarl,
2740 bletar, bngtar, bletarl, bngtarl, bnetar, bnetarl, bnstar, bnutar,
2741 bnstarl, bnutarl, bgetar-, bnltar-, bgetarl-, bnltarl-, bletar-,
2742 bngtar-, bletarl-, bngtarl-, bnetar-, bnetarl-, bnstar-, bnutar-,
2743 bnstarl-, bnutarl-, bgetar+, bnltar+, bgetarl+, bnltarl+, bletar+,
2744 bngtar+, bletarl+, bngtarl+, bnetar+, bnetarl+, bnstar+, bnutar+,
2745 bnstarl+, bnutarl+, blttar, blttarl, bgttar, bgttarl, beqtar,
2746 beqtarl, bsotar, buntar, bsotarl, buntarl, blttar-, blttarl-,
2747 bgttar-, bgttarl-, beqtar-, beqtarl-, bsotar-, buntar-, bsotarl-,
2748 buntarl-, blttar+, blttarl+, bgttar+, bgttarl+, beqtar+, beqtarl+,
2749 bsotar+, buntar+, bsotarl+, buntarl+, bdnzftar, bdnzftarl, bdzftar,
2750 bdzftarl, bftar, bftarl, bftar-, bftarl-, bftar+, bftarl+, bdnzttar,
2751 bdnzttarl, bdzttar, bdzttarl, bttar, bttarl, bttar-, bttarl-, bttar+,
2752 bttarl+): Add tests of extended mnemonics.
2753 * testsuite/gas/ppc/power8.d: Likewise. Update previous bctar tests
2754 to expect new extended mnemonics.
2755 * testsuite/gas/ppc/a2.s: <bc, bc-, bc+, bcl, bcl-, bcl+>: Update test
2756 to not use illegal BO value. Use a more convenient BI value.
2757 * testsuite/gas/ppc/a2.d: Update tests for new expect output.
2758
403b0b61
MF
27592019-04-03 Max Filippov <jcmvbkbc@gmail.com>
2760
2761 * config/tc-xtensa.c (convert_frag_immed): Drop
2762 convert_frag_immed_finish_loop invocation.
2763 (convert_frag_immed_finish_loop): Drop declaration and
2764 definition.
2765 * config/xtensa-relax.c (widen_spec_list): Replace loop
2766 widening that uses addi/addmi with widening that uses l32r
2767 and const16.
2768
34ef62f4
AV
27692019-04-01 Andre Vieira <andre.simoesdiasvieira@arm.com>
2770
2771 * config/tc-arm.c (arm_ext_table): New struct type.
2772 (arm_arch_option_table): Add new 'arm_ext_table' field.
2773 (ARM_EXT,ARM_ADD,ARM_REMOVE, ALL_FP): New macros.
2774 (armv5te_ext_table, armv7ve_ext_table, armv7a_ext_table,
2775 armv7r_ext_table, armv7em_ext_table, armv8a_ext_table,
2776 armv81a_ext_table, armv82a_ext_table, armv84a_ext_table,
2777 armv85a_ext_table, armv8m_main_ext_table,
2778 armv8r_ext_table): New architecture extension tables.
2779 (ARM_ARCH_OPT): Add new default field.
2780 (ARM_ARCH_OPT2): New macro.
2781 (arm_archs): Extend some architectures with the new architecture
2782 extension tables mentioned above.
2783 (arm_extensions): Add DEPRECATED comment with instructions to
2784 use new table.
2785 (arm_parse_extension): Change to use new extension tables.
2786 (arm_parse_cpu): Don't change existing behavior.
2787 (arm_parse_arch): Change to use new extension tables.
2788 * doc/c-arm.texi: Document new architecture extensions.
2789 * testsuite/gas/arm/attr-mfpu-neon-fp16.d: Change test to use new
2790 extension option rather than -mfpu and change expected behaviour to
2791 sane outputs.
2792 * testsuite/gas/arm/armv8-2-fp16-scalar-bad-ext.d: New.
2793 * testsuite/gas/arm/armv8-2-fp16-scalar-ext.d: New.
2794 * testsuite/gas/arm/armv8-2-fp16-scalar-thumb-ext.d: New.
2795 * testsuite/gas/arm/armv8-2-fp16-simd-ext.d: New.
2796 * testsuite/gas/arm/armv8-2-fp16-simd-thumb-ext.d: New.
2797 * testsuite/gas/arm/armv8-2-fp16-simd-warning-ext.d: New.
2798 * testsuite/gas/arm/armv8-2-fp16-simd-warning-thumb-ext.d: New.
2799 * testsuite/gas/arm/armv8_2+rdma-ext.d: New.
2800 * testsuite/gas/arm/armv8_2-a-fp16-thumb2-ext.d: New.
2801 * testsuite/gas/arm/armv8_2-a-fp16_ext.d: New.
2802 * testsuite/gas/arm/armv8_3-a-fp-bad-ext.d: New.
2803 * testsuite/gas/arm/armv8_3-a-fp-ext.d: New.
2804 * testsuite/gas/arm/armv8_3-a-fp16-ext.d: New.
2805 * testsuite/gas/arm/armv8_3-a-simd-bad-ext.d: New.
2806 * testsuite/gas/arm/armv8_4-a-fp16-ext.d: New.
2807 * testsuite/gas/arm/armv8m.main+fp.d: New.
2808 * testsuite/gas/arm/armv8m.main+fp.dp.d: New.
2809 * testsuite/gas/arm/attr-ext-fpv5-d16.d: New.
2810 * testsuite/gas/arm/attr-ext-fpv5.d: New.
2811 * testsuite/gas/arm/attr-ext-idiv.d: New.
2812 * testsuite/gas/arm/attr-ext-mp.d: New.
2813 * testsuite/gas/arm/attr-ext-neon-fp16.d: New.
2814 * testsuite/gas/arm/attr-ext-neon-vfpv3.d: New.
2815 * testsuite/gas/arm/attr-ext-neon-vfpv4.d: New.
2816 * testsuite/gas/arm/attr-ext-sec.d: New.
2817 * testsuite/gas/arm/attr-ext-vfpv3-d16-fp16.d: New.
2818 * testsuite/gas/arm/attr-ext-vfpv3-d16.d: New.
2819 * testsuite/gas/arm/attr-ext-vfpv3-fp16.d: New.
2820 * testsuite/gas/arm/attr-ext-vfpv3.d: New.
2821 * testsuite/gas/arm/attr-ext-vfpv3xd-fp.d: New.
2822 * testsuite/gas/arm/attr-ext-vfpv3xd.d: New.
2823 * testsuite/gas/arm/attr-ext-vfpv4-d16.d: New.
2824 * testsuite/gas/arm/attr-ext-vfpv4-sp-d16.d: New.
2825 * testsuite/gas/arm/attr-ext-vfpv4.d: New.
2826 * testsuite/gas/arm/dotprod-mandatory-ext.d: New.
2827 * testsuite/gas/arm/fpv5-d16.s: New.
2828 * testsuite/gas/arm/fpv5-sp-d16.s: New.
2829
96a86c01
AM
28302019-03-28 Alan Modra <amodra@gmail.com>
2831
2832 PR 24390
2833 * testsuite/gas/ppc/476.d: Update mtfsb*.
2834 * testsuite/gas/ppc/a2.d: Likewise.
2835
86b0c8dd
AM
28362019-03-21 Alan Modra <amodra@gmail.com>
2837
2838 * emul.h (struct emulation): Delete strip_underscore.
2839 * emul-target.h (emul_strip_underscore): Don't define.
2840 (emul_struct_name): Update initialization.
2841
7553c869
AM
28422019-03-21 Alan Modra <amodra@gmail.com>
2843
2844 * config/tc-d10v.c (md_apply_fix): Apply BFD_RELOC_8.
2845 * config/tc-pdp11.c (md_apply_fix): Likewise.
2846 * config/tc-d30v.c (md_apply_fix): Don't emit errors for BFD_RELOC_8,
2847 BFD_RELOC_16, and BFD_RELOC_64.
2848 * testsuite/gas/all/gas.exp: Move target exclusions for forward
2849 test, but not cr16, to..
2850 * testsuite/gas/all/forward.d: ..here, with explanation. Remove
2851 d10v, d30v, and pdp11 xfails.
2852
392a5972
L
28532019-03-19 H.J. Lu <hongjiu.lu@intel.com>
2854
2855 * config/tc-i386.c (optimize_encoding): Don't check AVX for
2856 EVEX vector load/store optimization. Check both operands for
2857 ZMM register. Update EVEX vector load/store opcode check.
2858 Choose EVEX Disp8 over VEX Disp32.
2859 * testsuite/gas/i386/optimize-1.d: Updated.
2860 * testsuite/gas/i386/optimize-1a.d: Likewise.
2861 * testsuite/gas/i386/optimize-2.d: Likewise.
2862 * testsuite/gas/i386/optimize-4.d: Likewise.
2863 * testsuite/gas/i386/optimize-5.d: Likewise.
2864 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
2865 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
2866 * testsuite/gas/i386/x86-64-optimize-2b.d: Likewise.
2867 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
2868 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
2869 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
2870 * testsuite/gas/i386/optimize-1.s: Add ZMM register load
2871 test.
2872 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
2873
7b1d7ca1
L
28742019-03-19 H.J. Lu <hongjiu.lu@intel.com>
2875
2876 PR gas/24352
2877 * config/tc-i386.c (optimize_encoding): Check only
2878 cpu_arch_flags.bitfield.cpuavx512vl.
2879 * testsuite/gas/i386/i386.exp: Run x86-64-optimize-2b.
2880 * testsuite/gas/i386/x86-64-optimize-2.d: Revert the last
2881 change.
2882 * testsuite/gas/i386/x86-64-optimize-2b.d: New file.
2883 * testsuite/gas/i386/x86-64-optimize-2b.s: Likewise.
2884
89199bb5
L
28852019-03-19 H.J. Lu <hongjiu.lu@intel.com>
2886
2887 PR gas/24359
2888 * testsuite/gas/i386/i386.exp: Change optimize-6a, optimize-7,
2889 x86-64-optimize-7a and x86-64-optimize-8 tests to run_list_test.
2890 Remove optimize-6c and x86-64-optimize-7c tests.
2891 * testsuite/gas/i386/noavx-3.l: Updated.
2892 * testsuite/gas/i386/noavx-4.d: Likewise.
2893 * testsuite/gas/i386/noavx-5.d: Likewise.
2894 * testsuite/gas/i386/noavx-3.s: Add AVX512F tests.
2895 * testsuite/gas/i386/noavx-4.s: Remove AVX512F tests.
2896 * testsuite/gas/i386/nosse-5.s: Likewise.
2897 * testsuite/gas/i386/optimize-6a.d: Removed.
2898 * testsuite/gas/i386/optimize-6c.d: Likewise.
2899 * testsuite/gas/i386/optimize-7.d: Likewise.
2900 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
2901 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
2902 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
2903 * testsuite/gas/i386/optimize-6a.l: New file.
2904 * testsuite/gas/i386/optimize-6a.s: Likewise.
2905 * testsuite/gas/i386/optimize-7.l: Likewise.
2906 * testsuite/gas/i386/x86-64-optimize-7a.l: Likewise.
2907 * testsuite/gas/i386/x86-64-optimize-7a.s: Likewise.
2908 * testsuite/gas/i386/x86-64-optimize-8.l: Likewise.
2909
c6cdff46
AM
29102019-03-18 Alan Modra <amodra@gmail.com>
2911
2912 * config/m68k-parse.y (yylex): Use temp_ilp and restore_ilp.
af60449c
AM
2913 * as.c (macro_expr): Likewise.
2914 * macro.c (buffer_and_nest): Likewise.
2915 * read.c (temp_ilp): Remove FIXME.
c6cdff46 2916
a716e60c
L
29172019-03-18 H.J. Lu <hongjiu.lu@intel.com>
2918
2919 * testsuite/gas/i386/att-regs.d: Pass -O0 to assembler.
2920 * testsuite/gas/i386/avx512bw-intel.d: Likewise.
2921 * testsuite/gas/i386/avx512bw.d: Likewise.
2922 * testsuite/gas/i386/avx512f-intel.d: Likewise.
2923 * testsuite/gas/i386/avx512f.d: Likewise.
2924 * testsuite/gas/i386/disp32.d: Likewise.
2925 * testsuite/gas/i386/intel-regs.d: Likewise.
2926 * testsuite/gas/i386/pseudos.d: Likewise.
2927 * testsuite/gas/i386/x86-64-disp32.d: Likewise.
2928 * testsuite/gas/i386/x86-64-pseudos.d: Likewise.
2929
97ed31ae
L
29302019-03-18 H.J. Lu <hongjiu.lu@intel.com>
2931
2932 PR gas/24348
2933 * config/tc-i386.c (optimize_encoding): Encode 128-bit and
2934 256-bit EVEX vector register load/store instructions as VEX
2935 vector register load/store instructions for -O1.
2936 * doc/c-i386.texi: Update -O1 documentation.
2937 * testsuite/gas/i386/i386.exp: Run PR gas/24348 tests.
2938 * testsuite/gas/i386/optimize-1.s: Add tests for EVEX vector
2939 load/store instructions.
2940 * testsuite/gas/i386/optimize-2.s: Likewise.
2941 * testsuite/gas/i386/optimize-3.s: Likewise.
2942 * testsuite/gas/i386/optimize-5.s: Likewise.
2943 * testsuite/gas/i386/x86-64-optimize-2.s: Likewise.
2944 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
2945 * testsuite/gas/i386/x86-64-optimize-4.s: Likewise.
2946 * testsuite/gas/i386/x86-64-optimize-5.s: Likewise.
2947 * testsuite/gas/i386/x86-64-optimize-6.s: Likewise.
2948 * testsuite/gas/i386/optimize-1.d: Updated.
2949 * testsuite/gas/i386/optimize-2.d: Likewise.
2950 * testsuite/gas/i386/optimize-3.d: Likewise.
2951 * testsuite/gas/i386/optimize-4.d: Likewise.
2952 * testsuite/gas/i386/optimize-5.d: Likewise.
2953 * testsuite/gas/i386/x86-64-optimize-2.d: Likewise.
2954 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
2955 * testsuite/gas/i386/x86-64-optimize-4.d: Likewise.
2956 * testsuite/gas/i386/x86-64-optimize-5.d: Likewise.
2957 * testsuite/gas/i386/x86-64-optimize-6.d: Likewise.
2958 * testsuite/gas/i386/optimize-7.d: New file.
2959 * testsuite/gas/i386/optimize-7.s: Likewise.
2960 * testsuite/gas/i386/x86-64-optimize-8.d: Likewise.
2961 * testsuite/gas/i386/x86-64-optimize-8.s: Likewise.
2962
99112332
L
29632019-03-18 H.J. Lu <hongjiu.lu@intel.com>
2964
2965 * config/tc-i386.c (optimize_encoding): Encode 256-bit/512-bit
2966 VEX/EVEX vector register clearing instructions with 128-bit VEX
2967 vector register clearing instructions at -O1.
2968 * doc/c-i386.texi: Update -O1 and -O2 documentation.
2969 * testsuite/gas/i386/i386.exp: Run optimize-1a and
2970 x86-64-optimize-2a.
2971 * testsuite/gas/i386/optimize-1a.d: New file.
2972 * testsuite/gas/i386/x86-64-optimize-2a.d: Likewise.
2973
41fd2579
L
29742019-03-17 H.J. Lu <hongjiu.lu@intel.com>
2975
2976 PR gas/24353
2977 * config/tc-i386.c: Include <limits.h> if it exists and try
2978 including <sys/param.h> if we have it.
2979 (INT_MAX): Define if not defined.
2980 (md_parse_option): Set optimize to INT_MAX for -Os.
2981 * testsuite/gas/i386/optimize-2.s: Add a test.
2982 * testsuite/gas/i386/x86-64-optimize-3.s: Likewise.
2983 * testsuite/gas/i386/optimize-2.d: Updated.
2984 * testsuite/gas/i386/x86-64-optimize-3.d: Likewise.
2985
dd22218c
L
29862019-03-17 H.J. Lu <hongjiu.lu@intel.com>
2987
2988 PR gas/24352
2989 * config/tc-i386.c (optimize_encoding): Encode 512-bit EVEX
2990 with 128-bit VEX encoding only when AVX is enabled and with
2991 128-bit EVEX encoding only when AVX512VL is enabled.
2992 * testsuite/gas/i386/i386.exp: Run PR gas/24352 tests.
2993 * testsuite/gas/i386/optimize-6.s: New file.
2994 * testsuite/gas/i386/optimize-6a.d: Likewise.
2995 * testsuite/gas/i386/optimize-6b.d: Likewise.
2996 * testsuite/gas/i386/optimize-6c.d: Likewise.
2997 * testsuite/gas/i386/x86-64-optimize-7.s: Likewise.
2998 * testsuite/gas/i386/x86-64-optimize-7a.d: Likewise.
2999 * testsuite/gas/i386/x86-64-optimize-7b.d: Likewise.
3000 * testsuite/gas/i386/x86-64-optimize-7c.d: Likewise.
3001 * testsuite/gas/i386/x86-64-optimize-2.d: Updated.
3002
1c529385
LH
30032019-03-15 Li Hao <li.hao296@zte.com.cn>
3004
3005 PR 24308
3006 * config/tc-i386.c (parse_insn): Check mnemp before using it to
3007 determine if a suffix can be trimmed.
3008
204f543c
CE
30092019-03-13 Christian Eggers <ceggers@gmx.de>
3010
3011 * dwarf2dbg.c (out_set_addr): Align relocation within .debug_line.
3012
145c4477
CE
30132019-03-13 Christian Eggers <ceggers@gmx.de>
3014
3015 * dwarf2dbg.c (out_debug_line): Pad size of .debug_line section.
3016
5c4e5fe6
CE
30172019-03-13 Christian Eggers <ceggers@gmx.de>
3018
3019 * dwarf2dbg.c (out_debug_str): Use octets for .debug_string pointers.
3020
38c24f42
CE
30212019-03-13 Christian Eggers <ceggers@gmx.de>
3022
3023 * dwarf2dbg.c (out_debug_line): Use octets for .debug_line prologue.
3024
72354279
CE
30252019-03-13 Christian Eggers <ceggers@gmx.de>
3026
3027 * dwarf2dbg.c (out_debug_line): Use octets for dwarf2 headers.
3028 (out_debug_aranges, out_debug_info): Likewise.
3029
d18d1999
CE
30302019-03-13 Christian Eggers <ceggers@gmx.de>
3031
3032 * symbols.h (symbol_temp_new_now_octets): Declare.
3033 (symbol_set_value_now_octets, symbol_octets_p): Declare.
3034 * symbols.c (struct symbol_flags): New member sy_octets.
3035 (symbol_temp_new_now_octets): New function.
3036 (resolve_symbol_value): Return octets instead of bytes if
3037 sy_octets is set.
3038 (symbol_set_value_now_octets): New function.
3039 (symbol_octets_p): New function.
3040
71250b94
CE
30412019-03-13 Christian Eggers <ceggers@gmx.de>
3042
3043 * dwarf2dbg.c (dwarf2_emit_insn): Fix calculation of line info offset.
3044
0919bfe9
AK
30452019-03-12 Andreas Krebbel <krebbel@linux.ibm.com>
3046
3047 * testsuite/gas/s390/zarch-arch13.s: Adjust testcase to optable changes.
3048 * testsuite/gas/s390/zarch-arch13.d: Likewise.
3049
52d6f3ee
MM
30502019-02-27 Matthew Malcomson <matthew.malcomson@arm.com>
3051
3052 * testsuite/gas/aarch64/dotproduct.d: Use multiple "as" lines.
3053 * testsuite/gas/aarch64/dotproduct_armv8_4.d: Remove.
3054 * testsuite/gas/aarch64/dotproduct_armv8_4.s: Remove.
3055 * testsuite/gas/aarch64/illegal-dotproduct.d: Use multiple "as"
3056 lines.
3057 * testsuite/gas/aarch64/ldst-rcpc-armv8_2.d: Remove.
3058 * testsuite/gas/aarch64/ldst-rcpc.d: Use multiple "as" lines.
3059
a894d76a
AM
30602019-02-24 Alan Modra <amodra@gmail.com>
3061
3062 * config/tc-ppc.c (parse_tls_arg): Wrap in #ifdef OBJ_ELF.
3063
f616c36b
AM
30642019-02-24 Alan Modra <amodra@gmail.com>
3065
3066 PR 24144
3067 * config/obj-aout.c (obj_aout_frob_file_before_fix): Write to end
3068 of section to ensure file contents cover aligned section size.
3069
83f43c83
KT
30702019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3071
3072 * config/tc-arm.c (arm_cpus): Add neoverse-n1.
3073 * doc/c-arm.texi (-mcpu): Document neoverse-n1 value.
3074
516dbc44
KT
30752019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3076
3077 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-e1.
3078 * doc/c-aarch64.texi (-mcpu): Document neoverse-e1 value.
3079
38e75bf2
KT
30802019-02-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3081
3082 * config/tc-aarch64.c (aarch64_cpus): Add neoverse-n1.
3083 * doc/c-aarch64.texi (-mcpu): Document neoverse-n1 value.
3084
6f2117ba
PH
30852019-02-19 Paul Hua <paul.hua.gm@gmail.com>
3086
3087 * NEWS: Mention -m[no-]fix-loongson3-llsc.
3088 * configure.ac: Add --enable-mips-fix-loongson3-llsc.
3089 Define DEFAULT_MIPS_FIX_LOONGSON3_LLSC.
3090 * config.in: Regenerated.
3091 * configure: Likewise.
3092 * config/tc-mips.c (sync_insn, mips_fix_loongson3_llsc):
3093 New variables.
3094 (options): New OPTION_FIX_LOONGSON3_LLSC,
3095 OPTION_NO_FIX_LOONGSON3_LLSC.
3096 (md_longopts): Add -m[no-]fix-loongson3-llsc.
3097 (md_begin): Initialize sync insn.
3098 (fix_loongson3_llsc): New.
3099 (append_insn): Call fix_loongson3_llsc.
3100 (md_parse_option): Handle OPTION_FIX_LOONGSON3_LLSC,
3101 OPTION_NO_FIX_LOONGSON3_LLSC.
3102 (md_show_usage): Display -m[no-]fix-loongson3-llsc.
3103 * doc/c-mips.texi: Document -m[no-]fix-loongson3-llsc,
3104 --enable-mips-fix-loongson3-llsc=[yes|no].
3105
db222310
L
31062019-02-10 H.J. Lu <hongjiu.lu@intel.com>
3107
3108 PR gas/24165
3109 * frags.c (frag_var_init): Pass max_chars to TC_FRAG_INIT as
3110 max_bytes.
3111 * config/tc-aarch64.h (TC_FRAG_INIT): Add and pass max_bytes to
3112 aarch64_init_frag.
3113 * /config/tc-arm.h (TC_FRAG_INIT): And and pass max_bytes to
3114 arm_init_frag.
3115 * config/tc-avr.h (TC_FRAG_INIT): And and ignore max_bytes.
3116 * config/tc-ia64.h (TC_FRAG_INIT): Likewise.
3117 * config/tc-mmix.h (TC_FRAG_INIT): Likewise.
3118 * config/tc-nds32.h (TC_FRAG_INIT): Likewise.
3119 * config/tc-ns32k.h (TC_FRAG_INIT): Likewise.
3120 * config/tc-rl78.h (TC_FRAG_INIT): Likewise.
3121 * config/tc-rx.h (TC_FRAG_INIT): Likewise.
3122 * config/tc-score.h (TC_FRAG_INIT): Likewise.
3123 * config/tc-tic54x.h (TC_FRAG_INIT): Likewise.
3124 * config/tc-tic6x.h (TC_FRAG_INIT): Likewise.
3125 * config/tc-xtensa.h (TC_FRAG_INIT): Likewise.
3126 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Set to
3127 (alignment ? ((1 << alignment) - 1) : 1)
3128 (i386_tc_frag_data): Add max_bytes.
3129 (TC_FRAG_INIT): Add and track max_bytes.
3130 (HANDLE_ALIGN): Replace MAX_MEM_FOR_RS_ALIGN_CODE with
3131 fragP->tc_frag_data.max_bytes.
3132 * doc/internals.texi: Update TC_FRAG_TYPE with max_bytes.
3133
21820ebe
JW
31342019-02-08 Jim Wilson <jimw@sifive.com>
3135
3136 * config/tc-riscv.c (validate_riscv_insn) <'C'>: Add 'z' support.
3137 (riscv_ip) <'C'>: Add 'z' support.
3138
f7dd2fb2
TC
31392019-02-07 Tamar Christina <tamar.christina@arm.com>
3140
3141 * config/tc-arm.c (insns): Redefine THUMB_VARIANT and ARM_VARIANT for
3142 hlt to armv1.
3143 * testsuite/gas/arm/armv8a-automatic-hlt.d: Update TAGs
3144 * testsuite/gas/arm/hlt.d: New test.
3145 * testsuite/gas/arm/hlt.s: New test.
3146
bd756351
TC
31472019-02-07 Tamar Christina <tamar.christina@arm.com>
3148
3149 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.d: New test.
3150 * testsuite/gas/aarch64/undefined_advsimd_armv8_3.s: New test.
3151
6456d318
TC
31522019-02-07 Tamar Christina <tamar.christina@arm.com>
3153
3154 PR binutils/23212
3155 * testsuite/gas/aarch64/undefined_by_elem_sz_l.s: New test.
3156 * testsuite/gas/aarch64/undefined_by_elem_sz_l.d: New test.
3157
0e7e9601
EB
31582019-02-07 Eric Botcazou <ebotcazou@adacore.com>
3159
3160 * config/tc-visium.c (md_assemble) <mode_cad>: Align instruction on
3161 64-bit boundaries for the GR6.
3162 * testsuite/gas/visium/allinsn_gr6.s: Tweak.
3163 * testsuite/gas/visium/allinsn_gr6.d: Likewise.
3164 * testsuite/gas/visium/bra-1.d: New test.
3165 * testsuite/gas/visium/bra-1.s: Likewise.
3166 * testsuite/gas/visium/visium.exp: Run bra-1 test.
3167
c6f14c0d
JD
31682019-01-31 John Darrington <john@darrington.wattle.id.au>
3169
8f02ae5b 3170 * config/tc-s12z.c (lex_imm): Add new argument exp_o.
c6f14c0d
JD
3171 (emit_reloc): New function.
3172 (md_apply_fix): [BFD_RELOC_S12Z_OPR] Recognise that it
3173 can be either 2 bytes or 3 bytes long.
3174 * testsuite/gas/s12z/mov-imm-reloc.d: New file.
3175 * testsuite/gas/s12z/mov-imm-reloc.s: New file.
3176 * testsuite/gas/s12z/s12z.exp: Add them.
3177
91bae991
JD
31782019-01-31 John Darrington <john@darrington.wattle.id.au>
3179
3180 * config/tc-s12z.c (md_apply_fix): Fix incorrect limits.
3181 * testsuite/gas/s12z/pc-rel-bad.d: New file.
3182 * testsuite/gas/s12z/pc-rel-bad.l: New file.
3183 * testsuite/gas/s12z/pc-rel-bad.s: New file.
3184 * testsuite/gas/s12z/pc-rel-good.d: New file.
3185 * testsuite/gas/s12z/pc-rel-good.s: New file.
3186 * testsuite/gas/s12z/s12z.exp: Add them.
3187
1d4d8669
JD
31882019-01-31 John Darrington <john@darrington.wattle.id.au>
3189
3190 * config/tc-s12z.c (tfr): Emit warning if operands are the same.
3191 * testsuite/gas/s12z/exg.d: New test case.
3192 * testsuite/gas/s12z/exg.l: New file.
3193
8b3a46f9
JD
31942019-01-31 John Darrington <john@darrington.wattle.id.au>
3195
3196 * config/tc-s12z.c (lex_opr): Add a parameter to indicate whether
3197 immediate mode operands should be permitted.
3198 * testsuite/s12z/imm-dest.d: New file.
3199 * testsuite/s12z/imm-dest.l: New file.
3200 * testsuite/s12z/imm-dest.s: New file.
3201 * testsuite/s12z/s12z.exp: Add them.
3202
fc60b8c8
AK
32032019-01-31 Andreas Krebbel <krebbel@linux.ibm.com>
3204
3205 * config/tc-s390.c (s390_parse_cpu): New entry for arch13.
3206 * doc/c-s390.texi: Document arch13 march option.
3207 * testsuite/gas/s390/s390.exp: Run the arch13 related tests.
3208 * testsuite/gas/s390/zarch-arch13.d: New test.
3209 * testsuite/gas/s390/zarch-arch13.s: New test.
3210 * testsuite/gas/s390/zarch-z13.d: Expect the renamed mnemonics
3211 also for z13.
3212
3ca4a8ec
AM
32132019-01-31 Alan Modra <amodra@gmail.com>
3214
3215 * config/tc-alpha.c (md_apply_fix): Correct range checks for
3216 BFD_RELOC_ALPHA_NOP, BFD_RELOC_ALPHA_LDA, BFD_RELOC_ALPHA_BSR.
3217 * config/tc-arm.c (md_apply_fix): Use llabs rather than abs.
3218 * config/tc-csky.c (get_macro_reg_vals): Pass s to csky_show_error.
3219
75c1c971
MF
32202019-01-28 Max Filippov <jcmvbkbc@gmail.com>
3221
3222 * config/tc-xtensa.c (md_apply_fix): Mark fixups for constant
3223 symbols as done in md_apply_fix.
3224 * testsuite/gas/all/forward.d: Don't XFAIL for xtensa.
3225
2d151af7
NC
32262019-01-28 Nick Clifton <nickc@redhat.com>
3227
3228 * po/fr.po: Updated French translation.
3229 * po/ru.po: Updated Russian translation.
3230
e044973b
AM
32312019-01-28 Alan Modra <amodra@gmail.com>
3232
3233 * configure.ac (ac_checking): Set from bfd/development.sh
3234 development variable.
3235 * configure: Regenerate.
3236
e10620d3
TC
32372019-01-25 Sudakshina Das <sudi.das@arm.com>
3238
3239 * config/tc-aarch64.c (warn_unpredictable_ldst): Exempt
3240 stg, st2g, stzg and stz2g from Xt == Xn with writeback warning.
3241 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Change tests for
3242 stg, stzg, st2g and stz2g.
3243 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
3244 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
3245 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
3246
20a4ca55
SD
32472019-01-25 Sudakshina Das <sudi.das@arm.com>
3248
3249 * testsuite/gas/aarch64/armv8_5-a-memtag.d: New tests for stzgm.
3250 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
3251 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
3252 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
3253
550fd7bf
SD
32542019-01-25 Sudakshina Das <sudi.das@arm.com>
3255 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
3256
3257 * config/tc-aarch64.c (parse_address_main): Remove support for
3258 [base]! address expression.
3259 (parse_operands): Remove support for AARCH64_OPND_ADDR_SIMPLE_2.
3260 (warn_unpredictable_ldst): Remove support for ldstgv_indexed.
3261 * testsuite/gas/aarch64/armv8_5-a-memtag.d: Remove tests for ldgv
3262 and stgv.
3263 * testsuite/gas/aarch64/armv8_5-a-memtag.s: Likewise.
3264 * testsuite/gas/aarch64/illegal-memtag.l: Likewise.
3265 * testsuite/gas/aarch64/illegal-memtag.s: Likewise.
3266
10c172ba
WH
32672019-01-25 Wu Heng <wu.heng@zte.com.cn>
3268
3269 PR gas/23940
3270 * macro.c (getstring): Check array bound before accessing.
3271
0c56b5cf
AM
32722019-01-25 Alan Modra <amodra@gmail.com>
3273
3274 PR 20902
3275 PR 24125
3276 * read.c (stringer): Delete assertion.
3277
375cd423
NC
32782019-01-21 Nick Clifton <nickc@redhat.com>
3279
3280 * po/uk.po: Updated Ukranian translation.
3281
f48dfe41
NC
32822019-01-19 Nick Clifton <nickc@redhat.com>
3283
3284 * config.in: Regenerate.
3285 * configure: Regenerate.
3286 * po/gas.pot: Regenerate.
3287
f974f26c
NC
32882018-06-24 Nick Clifton <nickc@redhat.com>
3289
3290 2.32 branch created.
3291
dee3ee22
TC
32922019-01-17 Tamar Christina <tamar.christina@arm.com>
3293
3294 * testsuite/gas/arm/archv6t2-1-pe.d: New test.
3295 * testsuite/gas/arm/archv6t2-1.d: Skip pe.
3296 * testsuite/gas/arm/csdb.d: Skip pe.
3297 * testsuite/gas/arm/sb-thumb1-pe.d: New test.
3298 * testsuite/gas/arm/sb-thumb1.d: Skip pe.
3299 * testsuite/gas/arm/sb-thumb2-pe.d: New test.
3300 * testsuite/gas/arm/sb-thumb2.d: Skip pe.
3301 * testsuite/gas/arm/udf.d: Skip pe.
3302
a4bf3d07
JW
33032019-01-16 Kito Cheng <kito@andestech.com>
3304
3305 * testsuite/gas/riscv/attribute-empty.d: New.
3306
2dc8dd17
JW
33072019-01-16 Kito Cheng <kito@andestech.com>
3308 Nelson Chu <nelson@andestech.com>
3309
3310 * config/tc-riscv.c (DEFAULT_RISCV_ATTR): Define to 0 if not defined.
3311 (riscv_set_options): Add `arch_attr` field.
3312 (riscv_opts): Set default value for arch_attr.
3313 (riscv_write_out_arch_attr): New.
3314 (riscv_set_public_attributes): Likewise.
3315 (riscv_md_end): Likewise.
3316 (riscv_convert_symbolic_attribute): Likewise.
3317 (s_riscv_attribute): Likewise.
3318 (explicit_arch_attr): Likewise.
3319 (riscv_pseudo_table): Add .attribute to the table.
3320 (options): Add OPTION_ARCH_ATTR and OPTION_NO_ARCH_ATTR
3321 enumeration constants.
3322 (md_longopts): Add `march-attr' and `mno-arch-attr' options.
3323 (md_parse_option): Handle the new options.
3324 (md_show_usage): Document the `march-attr' option.
3325 * config/tc-riscv.h (md_end): Define as riscv_md_end
3326 (riscv_md_end): Declare.
3327 (CONVERT_SYMBOLIC_ATTRIBUTE): Define as
3328 riscv_convert_symbolic_attribute.
3329 (riscv_convert_symbolic_attribute): Declare.
3330 (start_assemble): Declare.
3331 * testsuite/gas/elf/elf.exp: Adjust test case for section2.e.
3332 * testsuite/gas/elf/section2.e-riscv: New.
3333 * testsuite/gas/riscv/attribute-01.d: New test
3334 * testsuite/gas/riscv/attribute-02.d: Likewise.
3335 * testsuite/gas/riscv/attribute-03.d: Likewise.
3336 * testsuite/gas/riscv/attribute-04.d: Likewise.
3337 * testsuite/gas/riscv/attribute-04.s: Likewise.
3338 * testsuite/gas/riscv/attribute-05.d: Likewise.
3339 * testsuite/gas/riscv/attribute-05.s: Likewise.
3340 * testsuite/gas/riscv/attribute-06.d: Likewise.
3341 * testsuite/gas/riscv/attribute-06.s: Likewise.
3342 * testsuite/gas/riscv/attribute-07.d: Likewise.
3343 * testsuite/gas/riscv/attribute-07.s: Likewise.
3344 * testsuite/gas/riscv/attribute-08.d: Likewise.
3345 * testsuite/gas/riscv/attribute-08.s: Likewise.
3346 * testsuite/gas/riscv/attribute-unknown.d: Likewise.
3347 * testsuite/gas/riscv/attribute-unknown.s: Likewise.
3348 * testsuite/gas/riscv/empty.l: Likewise.
3349 * doc/c-riscv.texi (.attribute): Add documentation.
3350 * configure.ac (--enable-default-riscv-attribute): New options.
3351 * configure: Re-generate.
3352 * config.in: Re-generate.
3353
d5dcaf1b
JD
33542019-01-16 John Darrington <john@darrington.wattle.id.au>
3355
e7b47f2e
JD
3356 * config/tc-s12z.c (lex_reg_name): Compare the length of the strings
3357 before the contents.
3358 * testsuite/gas/s12z/labels.d: New file.
3359 * testsuite/gas/s12z/labels.s: New file.
3360 * testsuite/gas/s12z/s12z.exp: Add them.
3361 * config/tc-s12z.c (tfr): Change as_bad to as_warn.
77fdb0e0 3362 Also fix message typo and semantics.
e7b47f2e 3363 * config/tc-s12z.c (emit_opr): Emit BFD_RELOC_S12Z_OPR instead of
d5dcaf1b
JD
3364 BFD_RELOC_24.
3365 * testsuite/gas/s12z/opr-indirect-expr.d: Expect R_S12Z_OPR instead
3366 of R_S12Z_EXT24.
3367
55e8aae7
SP
33682019-01-14 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
3369
3370 * config/tc-arm.c (arm_ext_v6k_v6t2): Define.
3371 (insns) [ARM_VARIANT]: Modified.
3372 (insns) [THUMB_VARIANT]: To implement few ARMv6K instructions
3373 in ARMv6T2 as well.
3374 * testsuite/gas/arm/archv6t2-1.d: New test.
3375 * testsuite/gas/arm/archv6t2-1.s: Likewise.
3376 * testsuite/gas/arm/archv6t2-2.d: Likewise.
3377
c7af41ec
AM
33782019-01-11 Alan Modra <amodra@gmail.com>
3379
3380 PR 23963
3381 * testsuite/gas/m68hc11/lbranch-dwarf2.d: Adjust for PR23963 change.
3382 * testsuite/gas/m68hc11/opers12-dwarf2.d: Likewise.
3383
12add40e
NC
33842019-01-10 Nick Clifton <nickc@redhat.com>
3385
3386 PR 23963
59aa9b0b
NC
3387 * testsuite/gas/mips/mips16-branch-absolute-1.d: Adjust for the
3388 fact that control characters are now displayed as escape
3389 sequences.
12add40e
NC
3390 * testsuite/gas/mips/mips16-e.d: Likewise.
3391 * testsuite/gas/mips/mips16-pcrel-0.d: Likewise.
3392 * testsuite/gas/mips/mips16-pcrel-1.d: Likewise.
3393 * testsuite/gas/mips/mips16-pcrel-delay-0.d: Likewise.
3394 * testsuite/gas/mips/mips16-pcrel-delay-1.d: Likewise.
3395 * testsuite/gas/mips/mips16-pcrel-n32-0.d: Likewise.
3396 * testsuite/gas/mips/mips16-pcrel-n32-1.d: Likewise.
3397 * testsuite/gas/mips/mips16-pcrel-n64-sym32-0.d: Likewise.
3398 * testsuite/gas/mips/mips16-pcrel-n64-sym32-1.d: Likewise.
3399 * testsuite/gas/mips/mips16e2@mips16-pcrel-0.d: Likewise.
3400 * testsuite/gas/mips/mips16e2@mips16-pcrel-1.d: Likewise.
3401 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-0.d: Likewise.
3402 * testsuite/gas/mips/mips16e2@mips16-pcrel-delay-1.d: Likewise.
3403 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-0.d: Likewise.
3404 * testsuite/gas/mips/mips16e2@mips16-pcrel-n32-1.d: Likewise.
3405 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-0.d:
3406 Likewise.
3407 * testsuite/gas/mips/mips16e2@mips16-pcrel-n64-sym32-1.d:
3408 Likewise.
3409 * testsuite/gas/mips/mipsel16-e.d: Likewise.
3410 * testsuite/gas/mips/mipsr6@msa.d: Likewise.
3411 * testsuite/gas/mips/mipsr6@relax-swap3.d: Likewise.
3412 * testsuite/gas/mips/r6-64-n32.d: Likewise.
3413 * testsuite/gas/mips/r6-64-n64.d: Likewise.
3414 * testsuite/gas/mips/r6-n32.d: Likewise.
3415 * testsuite/gas/mips/r6-n64.d: Likewise.
3416 * testsuite/gas/mips/r6.d: Likewise.
3417 * testsuite/gas/mips/tmips16-e.d: Likewise.
3418 * testsuite/gas/mips/tmipsel16-e.d: Likewise.
3419 * testsuite/gas/mn10300/relax.d: Likewise.
3420
39f286cd
JD
34212019-01-09 John Darrington <john@darrington.wattle.id.au>
3422
8f02ae5b 3423 * testsuite/gas/s12z/jsr.s: New case.
39f286cd
JD
3424 * testsuite/gas/s12z/jsr.d: New case.
3425
3107326d
AP
34262019-01-09 Andrew Paprocki <andrew@ishiboo.com>
3427
3428 * configure: Regenerate.
3429
c8fcc360
KT
34302019-01-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3431
3432 * config/tc-aarch64.c (aarch64_cpus): Add ares.
3433 * doc/c-aarch64.texi (-mcpu): Document ares value.
3434
171b8e19
AM
34352019-01-08 Alan Modra <amodra@gmail.com>
3436
3437 * testsuite/gas/rx/rx.exp: Create generated test source in
3438 current directory.
3439 * testsuite/gas/rx/Xtod.d, * testsuite/gas/rx/abs.d,
3440 * testsuite/gas/rx/adc.d, * testsuite/gas/rx/add.d,
3441 * testsuite/gas/rx/and.d, * testsuite/gas/rx/bclr.d,
3442 * testsuite/gas/rx/bcnd.d, * testsuite/gas/rx/bfmov.d,
3443 * testsuite/gas/rx/bmcnd.d, * testsuite/gas/rx/bnot.d,
3444 * testsuite/gas/rx/bra.d, * testsuite/gas/rx/brk.d,
3445 * testsuite/gas/rx/bset.d, * testsuite/gas/rx/bsr.d,
3446 * testsuite/gas/rx/btst.d, * testsuite/gas/rx/clrpsw.d,
3447 * testsuite/gas/rx/cmp.d, * testsuite/gas/rx/dabs.d,
3448 * testsuite/gas/rx/dadd.d, * testsuite/gas/rx/dbt.d,
3449 * testsuite/gas/rx/dcmp.d, * testsuite/gas/rx/ddiv.d,
3450 * testsuite/gas/rx/div.d, * testsuite/gas/rx/divu.d,
3451 * testsuite/gas/rx/dmov.d, * testsuite/gas/rx/dmul.d,
3452 * testsuite/gas/rx/dneg.d, * testsuite/gas/rx/dpopm.d,
3453 * testsuite/gas/rx/dpushm.d, * testsuite/gas/rx/dround.d,
3454 * testsuite/gas/rx/dsqrt.d, * testsuite/gas/rx/dsub.d,
3455 * testsuite/gas/rx/dtoX.d, * testsuite/gas/rx/emaca.d,
3456 * testsuite/gas/rx/emsba.d, * testsuite/gas/rx/emul.d,
3457 * testsuite/gas/rx/emula.d, * testsuite/gas/rx/emulu.d,
3458 * testsuite/gas/rx/fadd.d, * testsuite/gas/rx/fcmp.d,
3459 * testsuite/gas/rx/fdiv.d, * testsuite/gas/rx/fmul.d,
3460 * testsuite/gas/rx/fsqrt.d, * testsuite/gas/rx/fsub.d,
3461 * testsuite/gas/rx/ftoi.d, * testsuite/gas/rx/ftou.d,
3462 * testsuite/gas/rx/gprel.d, * testsuite/gas/rx/int.d,
3463 * testsuite/gas/rx/itof.d, * testsuite/gas/rx/jmp.d,
3464 * testsuite/gas/rx/jsr.d, * testsuite/gas/rx/machi.d,
3465 * testsuite/gas/rx/maclh.d, * testsuite/gas/rx/maclo.d,
3466 * testsuite/gas/rx/max.d, * testsuite/gas/rx/min.d,
3467 * testsuite/gas/rx/mov.d, * testsuite/gas/rx/movco.d,
3468 * testsuite/gas/rx/movli.d, * testsuite/gas/rx/movu.d,
3469 * testsuite/gas/rx/msbhi.d, * testsuite/gas/rx/msblh.d,
3470 * testsuite/gas/rx/msblo.d, * testsuite/gas/rx/mul.d,
3471 * testsuite/gas/rx/mulhi.d, * testsuite/gas/rx/mullh.d,
3472 * testsuite/gas/rx/mullo.d, * testsuite/gas/rx/mvfacgu.d,
3473 * testsuite/gas/rx/mvfachi.d, * testsuite/gas/rx/mvfaclo.d,
3474 * testsuite/gas/rx/mvfacmi.d, * testsuite/gas/rx/mvfc.d,
3475 * testsuite/gas/rx/mvfcp.d, * testsuite/gas/rx/mvfdc.d,
3476 * testsuite/gas/rx/mvfdr.d, * testsuite/gas/rx/mvtacgu.d,
3477 * testsuite/gas/rx/mvtachi.d, * testsuite/gas/rx/mvtaclo.d,
3478 * testsuite/gas/rx/mvtc.d, * testsuite/gas/rx/mvtcp.d,
3479 * testsuite/gas/rx/mvtdc.d, * testsuite/gas/rx/neg.d,
3480 * testsuite/gas/rx/nop.d, * testsuite/gas/rx/not.d,
3481 * testsuite/gas/rx/opecp.d, * testsuite/gas/rx/or.d,
3482 * testsuite/gas/rx/pop.d, * testsuite/gas/rx/popc.d,
3483 * testsuite/gas/rx/popm.d, * testsuite/gas/rx/push.d,
3484 * testsuite/gas/rx/pushc.d, * testsuite/gas/rx/pushm.d,
3485 * testsuite/gas/rx/r-bcc.d, * testsuite/gas/rx/r-bra.d,
3486 * testsuite/gas/rx/racl.d, * testsuite/gas/rx/racw.d,
3487 * testsuite/gas/rx/rdacl.d, * testsuite/gas/rx/rdacw.d,
3488 * testsuite/gas/rx/revl.d, * testsuite/gas/rx/revw.d,
3489 * testsuite/gas/rx/rmpa.d, * testsuite/gas/rx/rolc.d,
3490 * testsuite/gas/rx/rorc.d, * testsuite/gas/rx/rotl.d,
3491 * testsuite/gas/rx/rotr.d, * testsuite/gas/rx/round.d,
3492 * testsuite/gas/rx/rstr.d, * testsuite/gas/rx/rte.d,
3493 * testsuite/gas/rx/rtfi.d, * testsuite/gas/rx/rts.d,
3494 * testsuite/gas/rx/rtsd.d, * testsuite/gas/rx/sat.d,
3495 * testsuite/gas/rx/satr.d, * testsuite/gas/rx/save.d,
3496 * testsuite/gas/rx/sbb.d, * testsuite/gas/rx/sccnd.d,
3497 * testsuite/gas/rx/scmpu.d, * testsuite/gas/rx/setpsw.d,
3498 * testsuite/gas/rx/shar.d, * testsuite/gas/rx/shll.d,
3499 * testsuite/gas/rx/shlr.d, * testsuite/gas/rx/smovb.d,
3500 * testsuite/gas/rx/smovf.d, * testsuite/gas/rx/smovu.d,
3501 * testsuite/gas/rx/sstr.d, * testsuite/gas/rx/stnz.d,
3502 * testsuite/gas/rx/stz.d, * testsuite/gas/rx/sub.d,
3503 * testsuite/gas/rx/suntil.d, * testsuite/gas/rx/swhile.d,
3504 * testsuite/gas/rx/tst.d, * testsuite/gas/rx/utof.d,
3505 * testsuite/gas/rx/wait.d, * testsuite/gas/rx/xchg.d,
3506 * testsuite/gas/rx/xor.d: Add #source line.
3507
ef8df4ca
KT
35082019-01-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3509
3510 * config/tc-arm.c (arm_cpus): Add ares.
3511 * doc/c-arm.texi (-mcpu): Document ares value.
3512
6a25bee8
YS
35132019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
3514
3515 * config/rx-defs.h (rx_cpu_types): Add type RXV3 and RXV3FPU.
3516 (rx_bfield): Add prototype.
3517 (rx_post): Likewise.
3518 * config/rx-parse.y: Add v3 instructions and Double FPU registers.
3519 (DSIZE): Define.
3520 (POST): Define.
3521 (rx_check_v3): New. check v3 type.
3522 (rx_check_dfpu): New. check have double support.
3523 (double_condition_table): New. dcmp<cond> contiditon.
3524 (check_condition): Multiple condition support.
3525 (rx_lex): RXv3 instructions support.
3526 Add parse dcmp<cond> instruction and Double FPU registers.
3527 (immediate): Disable optimize in dmov #imm case.
3528 (displacement): Add double displacement in dmov instraction.
3529 * config/tc-rx.c (rx_use_conventional_section_names):
3530 Invert default value in rx-*-linux target.
3531 (cpu_type): Add additional ELF flags.
3532 (cpu_type_list): Add RXv3.
3533 (md_parse_option): Refer elf_flags from cpu_type_list.
3534 (md_show_usage): Add rxv3 and rxv3-dfpu.
3535 (rx_bytesT): Add post byte.
3536 (rx_bfield): New. generate bfmov / bfmovz "imm" field.
3537 (rx_post): New. Set instruction post byte.
3538 (md_assemble): Add post byte.
3539 doc/c-rx.texi: Add cpu types.
3540 * testsuite/gas/rx/Xtod.d: New.
3541 * testsuite/gas/rx/Xtod.sm: New.
3542 * testsuite/gas/rx/bfmov.d: New.
3543 * testsuite/gas/rx/bfmov.sm: New.
3544 * testsuite/gas/rx/dabs.d: New.
3545 * testsuite/gas/rx/dabs.sm: New.
3546 * testsuite/gas/rx/dadd.d: New.
3547 * testsuite/gas/rx/dadd.sm: New.
3548 * testsuite/gas/rx/dcmp.d: New.
3549 * testsuite/gas/rx/dcmp.sm: New.
3550 * testsuite/gas/rx/ddiv.d: New.
3551 * testsuite/gas/rx/ddiv.sm: New.
3552 * testsuite/gas/rx/dmov.d: New.
3553 * testsuite/gas/rx/dmov.sm: New.
3554 * testsuite/gas/rx/dmul.d: New.
3555 * testsuite/gas/rx/dmul.sm: New.
3556 * testsuite/gas/rx/dneg.d: New.
3557 * testsuite/gas/rx/dneg.sm: New.
3558 * testsuite/gas/rx/dpopm.d: New.
3559 * testsuite/gas/rx/dpopm.sm: New.
3560 * testsuite/gas/rx/dpushm.d: New.
3561 * testsuite/gas/rx/dpushm.sm: New.
3562 * testsuite/gas/rx/dround.d: New.
3563 * testsuite/gas/rx/dround.sm: New.
3564 * testsuite/gas/rx/dsqrt.d: New.
3565 * testsuite/gas/rx/dsqrt.sm: New.
3566 * testsuite/gas/rx/dsub.d: New.
3567 * testsuite/gas/rx/dsub.sm: New.
3568 * testsuite/gas/rx/dtoX.d: New.
3569 * testsuite/gas/rx/dtoX.sm: New.
3570 * testsuite/gas/rx/macros.inc: Add double FPU registers.
3571 * testsuite/gas/rx/mvfdc.d: New.
3572 * testsuite/gas/rx/mvfdc.sm: New.
3573 * testsuite/gas/rx/mvfdr.d: New.
3574 * testsuite/gas/rx/mvfdr.sm: New.
3575 * testsuite/gas/rx/mvtdc.d: New.
3576 * testsuite/gas/rx/mvtdc.sm: New.
3577 * testsuite/gas/rx/rstr.d: New.
3578 * testsuite/gas/rx/rstr.sm: New.
3579 * testsuite/gas/rx/rx.exp: Use rxv3-dfpu option.
3580 * testsuite/gas/rx/save.d: New.
3581 * testsuite/gas/rx/save.sm: New.
3582 * testsuite/gas/rx/xor.d: New.
3583 * testsuite/gas/rx/xor.sm: Add pattern.
3584
1b2ed39c
WH
35852019-01-04 Wu Heng <wu.heng@zte.com.cn>
3586
3587 PR 24010
3588 * macro.c (get_any_string): Check for end of input whilst scanning
3589 for separators.
3590
bdfb4455
WH
35912019-01-04 Wu Heng <wu.heng@zte.com.cn>
3592
3593 PR 24009
3594 * read.c (stringer): Fix handling of missing '>' character at end
3595 of <...> sequence.
3596
82704155
AM
35972019-01-01 Alan Modra <amodra@gmail.com>
3598
3599 Update year range in copyright notice of all files.
3600
d5c04e1b 3601For older changes see ChangeLog-2018
3499769a 3602\f
d5c04e1b 3603Copyright (C) 2019 Free Software Foundation, Inc.
3499769a
AM
3604
3605Copying and distribution of this file, with or without modification,
3606are permitted in any medium without royalty provided the copyright
3607notice and this notice are preserved.
3608
3609Local Variables:
3610mode: change-log
3611left-margin: 8
3612fill-column: 74
3613version-control: never
3614End:
This page took 0.366573 seconds and 4 git commands to generate.