RISC-V: Change -march parsing.
[binutils-gdb.git] / gas / ChangeLog
1 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
2
3 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
4 s exts must be known, so rename *ok* to *fail*.
5 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
6 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
7 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
8 above change.
9 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
10 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
11
12 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
13
14 PR gas/25438
15 * config/tc-i386.c (check_long_reg): Always disallow double word
16 suffix in mnemonic with word general register.
17 * testsuite/gas/i386/general.s: Replace word general register
18 with double word general register for movl.
19 * testsuite/gas/i386/inval.s: Add tests for movl with word general
20 register.
21 * testsuite/gas/i386/general.l: Updated.
22 * testsuite/gas/i386/inval.l: Likewise.
23
24 2020-01-22 Alan Modra <amodra@gmail.com>
25
26 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
27 __tls_get_addr_desc and __tls_get_addr_opt.
28
29 2020-01-21 Jan Beulich <jbeulich@suse.com>
30
31 * testsuite/gas/i386/inval-crc32.s,
32 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
33 * testsuite/gas/i386/inval-crc32.l,
34 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
35
36 2020-01-21 Jan Beulich <jbeulich@suse.com>
37
38 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
39 generic code path. Deal with No_lSuf being set in a template.
40 * testsuite/gas/i386/inval-crc32.l,
41 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
42 instead of error(s) when operand size is ambiguous.
43 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
44 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
45 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
46 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
47 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
48 Adjust expectations.
49
50 2020-01-21 Jan Beulich <jbeulich@suse.com>
51
52 * config/tc-i386.c (process_suffix): Drop SYSRET special case
53 and an intel_syntax check. Re-write lack-of-suffix processing
54 logic.
55 * doc/c-i386.texi: Document operand size defaults for suffix-
56 less AT&T syntax insns.
57 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
58 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
59 testsuite/gas/i386/x86-64-avx-scalar.s,
60 testsuite/gas/i386/x86-64-avx.s,
61 testsuite/gas/i386/x86-64-bundle.s,
62 testsuite/gas/i386/x86-64-intel64.s,
63 testsuite/gas/i386/x86-64-lock-1.s,
64 testsuite/gas/i386/x86-64-opcode.s,
65 testsuite/gas/i386/x86-64-sse2avx.s,
66 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
67 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
68 testsuite/gas/i386/x86-64-nops.s,
69 testsuite/gas/i386/x86-64-ptwrite.s,
70 testsuite/gas/i386/x86-64-simd.s,
71 testsuite/gas/i386/x86-64-sse-noavx.s,
72 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
73 insns.
74 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
75 testsuite/gas/i386/noreg64.s: Add further tests.
76 * testsuite/gas/i386/ilp32/x86-64-nops.d,
77 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
78 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
79 testsuite/gas/i386/sse-noavx.d,
80 testsuite/gas/i386/x86-64-intel64.d,
81 testsuite/gas/i386/x86-64-nops.d,
82 testsuite/gas/i386/x86-64-opcode.d,
83 testsuite/gas/i386/x86-64-ptwrite-intel.d,
84 testsuite/gas/i386/x86-64-ptwrite.d,
85 testsuite/gas/i386/x86-64-simd-intel.d,
86 testsuite/gas/i386/x86-64-simd-suffix.d,
87 testsuite/gas/i386/x86-64-simd.d,
88 testsuite/gas/i386/x86-64-sse-noavx.d
89 testsuite/gas/i386/x86-64-suffix.d,
90 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
91 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
92 testsuite/gas/i386/noreg64.l: New.
93 * testsuite/gas/i386/i386.exp: Run new tests.
94
95 2020-01-21 Jan Beulich <jbeulich@suse.com>
96
97 * testsuite/gas/i386/avx512_bf16_vl.s,
98 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
99 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
100 broadcast forms of VCVTNEPS2BF16.
101 * testsuite/gas/i386/avx512_bf16_vl.d,
102 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
103
104 2020-01-20 Nick Clifton <nickc@redhat.com>
105
106 * po/uk.po: Updated Ukranian translation.
107
108 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
109
110 PR ld/25416
111 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
112 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
113 x32 object.
114 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
115 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
116 R_X86_64_GOTPC32_TLSDESC relocation.
117
118 2020-01-18 Nick Clifton <nickc@redhat.com>
119
120 * configure: Regenerate.
121 * po/gas.pot: Regenerate.
122
123 2020-01-18 Nick Clifton <nickc@redhat.com>
124
125 Binutils 2.34 branch created.
126
127 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
128
129 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
130 with vex_encoding_vex.
131 (parse_insn): Likewise.
132 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
133 and {vex3} documentation.
134 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
135 {vex}.
136 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
137
138 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
139
140 PR 25376
141 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
142 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
143 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
144 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
145 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
146 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
147
148 2020-01-16 Jan Beulich <jbeulich@suse.com>
149
150 * config/tc-i386.c (match_template): Drop found_cpu_match local
151 variable.
152
153 2020-01-16 Jan Beulich <jbeulich@suse.com>
154
155 * testsuite/gas/i386/avx512dq-inval.l,
156 testsuite/gas/i386/avx512dq-inval.s: New.
157 * testsuite/gas/i386/i386.exp: Run new test.
158
159 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
160
161 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
162 relocations when the target is 430X, except when extracting part of an
163 expression.
164 (msp430_srcoperand): Adjust comment.
165 Initialize the expp member of the msp430_operand_s struct as
166 appropriate.
167 (msp430_dstoperand): Likewise.
168 * testsuite/gas/msp430/msp430.exp: Run new test.
169 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
170 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
171
172 2020-01-15 Alan Modra <amodra@gmail.com>
173
174 * configure.tgt: Add sparc-*-freebsd case.
175
176 2020-01-14 Lili Cui <lili.cui@intel.com>
177
178 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
179 * testsuite/gas/i386/align-branch-1b.d: Likewise.
180 * testsuite/gas/i386/align-branch-1c.d: Likewise.
181 * testsuite/gas/i386/align-branch-1d.d: Likewise.
182 * testsuite/gas/i386/align-branch-1e.d: Likewise.
183 * testsuite/gas/i386/align-branch-1f.d: Likewise.
184 * testsuite/gas/i386/align-branch-1g.d: Likewise.
185 * testsuite/gas/i386/align-branch-1h.d: Likewise.
186 * testsuite/gas/i386/align-branch-1i.d: Likewise.
187 * testsuite/gas/i386/align-branch-5.d: Likewise.
188 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
189 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
190 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
191 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
192 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
193 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
194 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
195 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
196 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
197 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
198 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
199 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
200
201 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
202
203 PR 25377
204 * config/tc-z80.c: Add support for half precision, single
205 precision and double precision floating point values.
206 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
207 * doc/as.texi: Add new z80 command line options.
208 * doc/c-z80.texi: Document new z80 command line options.
209 * testsuite/gas/z80/ez80_pref_dis.s: New test.
210 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
211 * testsuite/gas/z80/z80.exp: Run the new test.
212 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
213 * testsuite/gas/z80/fp_zeda32.d: Likewise.
214 * testsuite/gas/z80/strings.d: Update expected output.
215
216 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
217
218 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
219 dependency.
220
221 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
222
223 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
224 the CPU.
225 * config/tc-arc.h: Add header if/defs.
226 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
227
228 2020-01-13 Alan Modra <amodra@gmail.com>
229
230 * testsuite/gas/wasm32/allinsn.d: Update expected output.
231
232 2020-01-13 Alan Modra <amodra@gmail.com>
233
234 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
235 insertion.
236
237 2020-01-10 Alan Modra <amodra@gmail.com>
238
239 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
240 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
241
242 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
243
244 PR 25224
245 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
246 opcode byte values.
247 (emit_ld_r_r): Likewise.
248 (emit_ld_rr_m): Likewise.
249 (emit_ld_rr_nn): Likewise.
250
251 2020-01-09 Jan Beulich <jbeulich@suse.com>
252
253 * config/tc-i386.c (optimize_encoding): Add
254 is_any_vex_encoding() invocations. Drop respective
255 i.tm.extension_opcode == None checks.
256
257 2020-01-09 Jan Beulich <jbeulich@suse.com>
258
259 * config/tc-i386.c (md_assemble): Check RegRex is clear during
260 REX transformations. Correct comment indentation.
261
262 2020-01-09 Jan Beulich <jbeulich@suse.com>
263
264 * config/tc-i386.c (optimize_encoding): Generalize register
265 transformation for TEST optimization.
266
267 2020-01-09 Jan Beulich <jbeulich@suse.com>
268
269 * testsuite/gas/i386/x86-64-sysenter-amd.s,
270 testsuite/gas/i386/x86-64-sysenter-amd.d,
271 testsuite/gas/i386/x86-64-sysenter-amd.l,
272 testsuite/gas/i386/x86-64-sysenter-intel.d,
273 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
274 * testsuite/gas/i386/i386.exp: Run new tests.
275
276 2020-01-08 Nick Clifton <nickc@redhat.com>
277
278 PR 25284
279 * doc/as.texi (Align): Document the fact that all arguments can be
280 omitted.
281 (Balign): Likewise.
282 (P2align): Likewise.
283
284 2020-01-08 Nick Clifton <nickc@redhat.com>
285
286 PR 14891
287 * config/obj-elf.c (obj_elf_section): Fail if the section name is
288 already defined as a different symbol type.
289 * testsuite/gas/elf/pr14891.s: New test source file.
290 * testsuite/gas/elf/pr14891.d: New test driver.
291 * testsuite/gas/elf/pr14891.s: New test expected error output.
292 * testsuite/gas/elf/elf.exp: Run the new test.
293
294 2020-01-08 Alan Modra <amodra@gmail.com>
295
296 * config/tc-z8k.c (md_begin): Make idx unsigned.
297 (get_specific): Likewise for this_index.
298
299 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
300
301 * onfig/tc-arc.c (parse_reloc_symbol): New function.
302 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
303 (md_operand): Set X_md to absent.
304 (arc_parse_name): Check for X_md.
305
306 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
307
308 PR 25311
309 * as.h (TC_STRING_ESCAPES): Provide a default definition.
310 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
311 NO_STRING_ESCAPES.
312 * read.c (next_char_of_string): Likewise.
313 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
314 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
315
316 2020-01-03 Nick Clifton <nickc@redhat.com>
317
318 * po/sv.po: Updated Swedish translation.
319
320 2020-01-03 Jan Beulich <jbeulich@suse.com>
321
322 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
323 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
324
325 2020-01-03 Jan Beulich <jbeulich@suse.com>
326
327 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
328 by-element usdot. Add 64-bit form tests for by-element sudot.
329 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
330
331 2020-01-03 Jan Beulich <jbeulich@suse.com>
332
333 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
334 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
335
336 2020-01-03 Jan Beulich <jbeulich@suse.com>
337
338 * testsuite/gas/aarch64/f64mm.d,
339 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
340
341 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
342
343 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
344 support for assembler code generated by SDCC. Add new relocation
345 types. Add z80-elf target support.
346 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
347 labels. Local labels starts from ".L".
348 * NEWS: Mention the new support.
349 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
350 * testsuite/gas/all/fwdexp.s: Likewise.
351 * testsuite/gas/all/cond.l: Likewise.
352 * testsuite/gas/all/cond.s: Likewise.
353 * testsuite/gas/all/fwdexp.d: Likewise.
354 * testsuite/gas/all/fwdexp.s: Likewise.
355 * testsuite/gas/elf/section2.e-mips: Likewise.
356 * testsuite/gas/elf/section2.l: Likewise.
357 * testsuite/gas/elf/section2.s: Likewise.
358 * testsuite/gas/macros/app1.d: Likewise.
359 * testsuite/gas/macros/app1.s: Likewise.
360 * testsuite/gas/macros/app2.d: Likewise.
361 * testsuite/gas/macros/app2.s: Likewise.
362 * testsuite/gas/macros/app3.d: Likewise.
363 * testsuite/gas/macros/app3.s: Likewise.
364 * testsuite/gas/macros/app4.d: Likewise.
365 * testsuite/gas/macros/app4.s: Likewise.
366 * testsuite/gas/macros/app4b.s: Likewise.
367 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
368 * testsuite/gas/z80/z80.exp: Add new tests
369 * testsuite/gas/z80/dollar.d: New file.
370 * testsuite/gas/z80/dollar.s: New file.
371 * testsuite/gas/z80/ez80_adl_all.d: New file.
372 * testsuite/gas/z80/ez80_adl_all.s: New file.
373 * testsuite/gas/z80/ez80_adl_suf.d: New file.
374 * testsuite/gas/z80/ez80_isuf.s: New file.
375 * testsuite/gas/z80/ez80_z80_all.d: New file.
376 * testsuite/gas/z80/ez80_z80_all.s: New file.
377 * testsuite/gas/z80/ez80_z80_suf.d: New file.
378 * testsuite/gas/z80/r800_extra.d: New file.
379 * testsuite/gas/z80/r800_extra.s: New file.
380 * testsuite/gas/z80/r800_ii8.d: New file.
381 * testsuite/gas/z80/r800_z80_doc.d: New file.
382 * testsuite/gas/z80/z180.d: New file.
383 * testsuite/gas/z80/z180.s: New file.
384 * testsuite/gas/z80/z180_z80_doc.d: New file.
385 * testsuite/gas/z80/z80_doc.d: New file.
386 * testsuite/gas/z80/z80_doc.s: New file.
387 * testsuite/gas/z80/z80_ii8.d: New file.
388 * testsuite/gas/z80/z80_ii8.s: New file.
389 * testsuite/gas/z80/z80_in_f_c.d: New file.
390 * testsuite/gas/z80/z80_in_f_c.s: New file.
391 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
392 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
393 * testsuite/gas/z80/z80_out_c_0.d: New file.
394 * testsuite/gas/z80/z80_out_c_0.s: New file.
395 * testsuite/gas/z80/z80_reloc.d: New file.
396 * testsuite/gas/z80/z80_reloc.s: New file.
397 * testsuite/gas/z80/z80_sli.d: New file.
398 * testsuite/gas/z80/z80_sli.s: New file.
399
400 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
401
402 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
403 REGLIST_RN.
404
405 2020-01-01 Alan Modra <amodra@gmail.com>
406
407 Update year range in copyright notice of all files.
408
409 For older changes see ChangeLog-2019
410 \f
411 Copyright (C) 2020 Free Software Foundation, Inc.
412
413 Copying and distribution of this file, with or without modification,
414 are permitted in any medium without royalty provided the copyright
415 notice and this notice are preserved.
416
417 Local Variables:
418 mode: change-log
419 left-margin: 8
420 fill-column: 74
421 version-control: never
422 End: