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