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