1 2020-02-17 Jan Beulich <jbeulich@suse.com>
4 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
5 [XYZ]MMWord memory operand ambiguity recognition logic (largely
7 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
9 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
10 * testsuite/gas/i386/avx512dq-inval.l,
11 testsuite/gas/i386/inval-avx.l,
12 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
13 * testsuite/gas/i386/avx512vl-ambig.s,
14 testsuite/gas/i386/avx512vl-ambig.l: New.
15 * testsuite/gas/i386/i386.exp: Run new test.
17 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
19 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
21 * doc/c-i386.texi: Document sse4a and nosse4a.
23 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
25 * doc/c-i386.texi: Remove the old movsx and movzx documentation
28 2020-02-14 Jan Beulich <jbeulich@suse.com>
31 * config/tc-i386.c (md_assemble): Move movsx/movzx special
33 (process_suffix): ... here. Consider just the first operand
35 (check_long_reg): Drop opcode 0x63 special case again.
36 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
37 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
38 Move ambiguous operand size tests ...
39 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
40 testsuite/gas/i386/noreg64.s: ... here.
41 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
42 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
43 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
44 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
45 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
46 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
47 testsuite/gas/i386/x86-64-movsxd.d,
48 testsuite/gas/i386/x86-64-movsxd-intel.d,
49 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
51 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
52 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
53 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
54 * testsuite/gas/i386/i386.exp: Run new tests.
56 2020-02-14 Jan Beulich <jbeulich@suse.com>
58 * config/tc-i386.c (process_operands): Also skip segment
59 override prefix emission if it matches an already present one.
60 * testsuite/gas/i386/prefix32.s: Add double segment override
62 * testsuite/gas/i386/prefix32.l: Adjust expectations.
64 2020-02-14 Jan Beulich <jbeulich@suse.com>
66 * config/tc-i386.c (process_operands): Drop ineffectual segment
67 overrides when optimizing.
68 * testsuite/gas/i386/lea-optimize.d: New.
69 * testsuite/gas/i386/i386.exp: Run new test.
71 2020-02-14 Jan Beulich <jbeulich@suse.com>
73 * config/tc-i386.c (process_operands): Also check insn prefix
74 for ineffectual segment override warning. Don't cover possible
75 VEX/EVEX encoded insns there.
76 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
77 testsuite/gas/i386/lea.e: New.
78 * testsuite/gas/i386/i386.exp: Run new test.
80 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
83 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
86 2020-02-13 Fangrui Song <maskray@google.com>
87 H.J. Lu <hongjiu.lu@intel.com>
90 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
91 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
92 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
93 * testsuite/gas/i386/relax-5.d: New file.
94 * testsuite/gas/i386/relax-5.s: Likewise.
95 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
96 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
98 2020-02-13 Jan Beulich <jbeulich@suse.com>
100 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
103 2020-02-12 Jan Beulich <jbeulich@suse.com>
105 * config/tc-i386.c (avx512): New (at file scope), moved from
106 (check_VecOperands): ... here.
107 (process_suffix): Add [XYZ]MMword operand size handling.
108 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
109 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
111 * testsuite/gas/i386/avx512dq-inval.l,
112 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
114 2020-02-12 Jan Beulich <jbeulich@suse.com>
117 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
119 * config/tc-i386-intel.c (i386_intel_operand): Also handle
120 CALL/JMP in O_tbyte_ptr case.
121 * doc/c-i386.texi: Mention far call and full pointer load ISA
123 * testsuite/gas/i386/x86-64-branch-3.s,
124 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
125 * testsuite/gas/i386/x86-64-branch-3.d,
126 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
127 * testsuite/gas/i386/x86-64-branch-5.l,
128 testsuite/gas/i386/x86-64-branch-5.s: New.
129 * testsuite/gas/i386/i386.exp: Run new test.
131 2020-02-12 Jan Beulich <jbeulich@suse.com>
134 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
135 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
137 (check_word_reg): Consistently error on mismatching register
139 * testsuite/gas/i386/general.s: Replace dword GPR with word one
140 for movw. Replace suffix / GPR for orb.
141 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
142 byte GPRs as well as ones for inb/outb with a word accumulator.
143 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
144 testsuite/gas/i386/inval.l: Adjust expectations.
146 2020-02-12 Jan Beulich <jbeulich@suse.com>
148 * config/tc-i386.c (operand_type_register_match): Also fall
149 through initial two if()-s when the template allows for a GPR
150 operand. Adjust comment.
152 2020-02-11 Jan Beulich <jbeulich@suse.com>
154 (struct _i386_insn): New field "short_form".
155 (optimize_encoding): Drop setting of shortform field.
156 (process_suffix): Set i.short_form. Replace shortform use.
157 (process_operands): Replace shortform use.
159 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
161 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
162 loop initial declaration.
164 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
166 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
167 instructions that can have 5 arguments.
168 (enum operand_parse_code): Add new operands.
169 (parse_operands): Account for new operands.
171 (enum neon_shape_el): Introduce P suffixes for coprocessor.
172 (neon_select_shape): Account for P suffix.
173 (LOW1): Move macro to global position.
174 (HI4): Move macro to global position.
175 (vcx_assign_vec_d): New.
176 (vcx_assign_vec_m): New.
177 (vcx_assign_vec_n): New.
178 (enum vcx_reg_type): New.
179 (vcx_get_reg_type): New.
182 (vcx_handle_shape): New.
183 (vcx_ensure_register_in_range): New.
184 (vcx_handle_register_arguments): New.
185 (vcx_handle_insn_block): New.
186 (vcx_handle_common_checks): New.
190 * testsuite/gas/arm/cde-missing-fp.d: New test.
191 * testsuite/gas/arm/cde-missing-fp.l: New test.
192 * testsuite/gas/arm/cde-missing-mve.d: New test.
193 * testsuite/gas/arm/cde-missing-mve.l: New test.
194 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
195 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
196 * testsuite/gas/arm/cde-mve.s: New test.
197 * testsuite/gas/arm/cde-warnings.l:
198 * testsuite/gas/arm/cde-warnings.s:
199 * testsuite/gas/arm/cde.d:
200 * testsuite/gas/arm/cde.s:
202 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
203 Matthew Malcomson <matthew.malcomson@arm.com>
205 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
206 CDE coprocessor that can be enabled.
207 (enum pred_instruction_type): New pred type.
208 (BAD_NO_VPT): New error message.
209 (BAD_CDE): New error message.
210 (BAD_CDE_COPROC): New error message.
211 (enum operand_parse_code): Add new immediate operands.
212 (parse_operands): Account for new immediate operands.
213 (check_cde_operand): New.
214 (cde_coproc_enabled): New.
215 (cde_coproc_pos): New.
216 (cde_handle_coproc): New.
217 (cxn_handle_predication): New.
218 (do_custom_instruction_1): New.
219 (do_custom_instruction_2): New.
220 (do_custom_instruction_3): New.
233 (handle_pred_state): Define new IT block behaviour.
234 (insns): Add newn CX*{,d}{,a} instructions.
235 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
236 Define new cdecp extension strings.
237 * doc/c-arm.texi: Document new cdecp extension arguments.
238 * testsuite/gas/arm/cde-scalar.d: New test.
239 * testsuite/gas/arm/cde-scalar.s: New test.
240 * testsuite/gas/arm/cde-warnings.d: New test.
241 * testsuite/gas/arm/cde-warnings.l: New test.
242 * testsuite/gas/arm/cde-warnings.s: New test.
243 * testsuite/gas/arm/cde.d: New test.
244 * testsuite/gas/arm/cde.s: New test.
246 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
249 * config/tc-i386.c (intel64): Renamed to ...
251 (match_template): Accept Intel64 only instruction by default.
252 (i386_displacement): Updated.
253 (md_parse_option): Updated.
254 * c-i386.texi: Update -mamd64/-mintel64 documentation.
255 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
256 -mamd64 to x86-64-sysenter-amd.
257 * testsuite/gas/i386/x86-64-sysenter.d: New file.
259 2020-02-10 Alan Modra <amodra@gmail.com>
261 * config/obj-elf.c (obj_elf_change_section): Error for section
262 type, attr or entsize changes in assembly.
263 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
264 * testsuite/gas/elf/section5.l: Update.
266 2020-02-10 Alan Modra <amodra@gmail.com>
268 * output-file.c (output_file_close): Do a normal close when
269 flag_always_generate_output.
270 * write.c (write_object_file): Don't stop output when
271 flag_always_generate_output.
273 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
276 * config/tc-z80.c: Add -gbz80 command line option to generate code
277 for the GameBoy Z80. Add support for generating DWARF.
278 * config/tc-z80.h: Add support for DWARF debug information
280 * doc/c-z80.texi: Document new command line option.
281 * testsuite/gas/z80/gbz80_all.d: New file.
282 * testsuite/gas/z80/gbz80_all.s: New file.
283 * testsuite/gas/z80/z80.exp: Run the new tests.
284 * testsuite/gas/z80/z80n_all.d: New file.
285 * testsuite/gas/z80/z80n_all.s: New file.
286 * testsuite/gas/z80/z80n_reloc.d: New file.
288 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
291 * config/obj-elf.c (get_section): Also check
292 linked_to_symbol_name.
293 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
294 (obj_elf_parse_section_letters): Handle the 'o' flag.
295 (build_group_lists): Renamed to ...
296 (build_additional_section_info): This. Set elf_linked_to_section
297 from map_head.linked_to_symbol_name.
298 (elf_adjust_symtab): Updated.
299 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
300 * doc/as.texi: Document the 'o' flag.
301 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
302 * testsuite/gas/elf/section18.d: New file.
303 * testsuite/gas/elf/section18.s: Likewise.
304 * testsuite/gas/elf/section19.d: Likewise.
305 * testsuite/gas/elf/section19.s: Likewise.
306 * testsuite/gas/elf/section20.d: Likewise.
307 * testsuite/gas/elf/section20.s: Likewise.
308 * testsuite/gas/elf/section21.d: Likewise.
309 * testsuite/gas/elf/section21.l: Likewise.
310 * testsuite/gas/elf/section21.s: Likewise.
312 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
314 * NEWS: Mention x86 assembler options to align branches for
317 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
319 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
320 only for ELF targets.
321 * testsuite/gas/i386/unique.d: Don't xfail.
322 * testsuite/gas/i386/x86-64-unique.d: Likewise.
324 2020-02-06 Alan Modra <amodra@gmail.com>
326 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
327 * testsuite/gas/i386/x86-64-unique.d: Likewise.
329 2020-02-06 Alan Modra <amodra@gmail.com>
331 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
332 xfail, and rename test.
333 * testsuite/gas/elf/section12b.d: Likewise.
334 * testsuite/gas/elf/section16a.d: Likewise.
335 * testsuite/gas/elf/section16b.d: Likewise.
337 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
340 * config/obj-elf.c (section_match): Removed.
341 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
343 (obj_elf_change_section): Replace info and group_name arguments
344 with match_p. Also update the section ID and flags from match_p.
345 (obj_elf_section): Handle "unique,N". Update call to
346 obj_elf_change_section.
347 * config/obj-elf.h (elf_section_match): New.
348 (obj_elf_change_section): Updated.
349 * config/tc-arm.c (start_unwind_section): Update call to
350 obj_elf_change_section.
351 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
352 * config/tc-microblaze.c (microblaze_s_data): Likewise.
353 (microblaze_s_sdata): Likewise.
354 (microblaze_s_rdata): Likewise.
355 (microblaze_s_bss): Likewise.
356 * config/tc-mips.c (s_change_section): Likewise.
357 * config/tc-msp430.c (msp430_profiler): Likewise.
358 * config/tc-rx.c (parse_rx_section): Likewise.
359 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
360 * doc/as.texi: Document "unique,N" in .section directive.
361 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
362 * testsuite/gas/elf/section15.d: New file.
363 * testsuite/gas/elf/section15.s: Likewise.
364 * testsuite/gas/elf/section16.s: Likewise.
365 * testsuite/gas/elf/section16a.d: Likewise.
366 * testsuite/gas/elf/section16b.d: Likewise.
367 * testsuite/gas/elf/section17.d: Likewise.
368 * testsuite/gas/elf/section17.l: Likewise.
369 * testsuite/gas/elf/section17.s: Likewise.
370 * testsuite/gas/i386/unique.d: Likewise.
371 * testsuite/gas/i386/unique.s: Likewise.
372 * testsuite/gas/i386/x86-64-unique.d: Likewise.
373 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
375 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
377 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
379 2020-02-01 Anthony Green <green@moxielogic.com>
381 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
383 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
385 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
388 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
391 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
392 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
394 * testsuite/gas/arm/mve_dsp.d: New test.
396 2020-01-31 Nick Clifton <nickc@redhat.com>
398 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
399 rather than BFD_RELOC_NONE.
401 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
403 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
404 to support VLDMIA instruction for MVE.
405 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
407 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
409 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
411 * testsuite/gas/arm/mve-ldst.d: New test.
412 * testsuite/gas/arm/mve-ldst.s: Likewise.
414 2020-01-31 Nick Clifton <nickc@redhat.com>
416 * po/fr.po: Updated French translation.
417 * po/ru.po: Updated Russian translation.
419 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
421 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
423 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
424 * testsuite/gas/aarch64/sve-movprfx_28.d,
425 * testsuite/gas/aarch64/sve-movprfx_28.l,
426 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
428 2020-01-30 Jan Beulich <jbeulich@suse.com>
430 * config/tc-i386.c (output_disp): Tighten base_opcode check.
431 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
432 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
435 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
437 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
438 * testsuite/gas/bpf/alu-be.d: Likewise.
439 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
440 * testsuite/gas/bpf/alu32-be.d: Likewise.
442 2020-01-30 Jan Beulich <jbeulich@suse.com>
444 * testsuite/gas/i386/x86-64-branch-2.s,
445 testsuite/gas/i386/x86-64-branch-4.s,
446 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
447 * testsuite/gas/i386/ilp32/x86-64-branch.d,
448 testsuite/gas/i386/x86-64-branch-2.d,
449 testsuite/gas/i386/x86-64-branch-4.l,
450 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
452 2020-01-30 Jan Beulich <jbeulich@suse.com>
454 * config/tc-i386.c (process_suffix): .
455 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
456 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
458 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
460 testsuite/gas/i386/x86_64.s: Add RETF cases.
461 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
462 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
463 testsuite/gas/i386/x86-64-opcode.d,
464 testsuite/gas/i386/x86-64-suffix-intel.d,
465 testsuite/gas/i386/x86-64-suffix.d,
466 testsuite/gas/i386/x86_64-intel.d
467 testsuite/gas/i386/x86_64.d: Adjust expectations.
468 * testsuite/gas/i386/x86-64-suffix.e,
469 testsuite/gas/i386/x86_64.e: New.
471 2020-01-30 Jan Beulich <jbeulich@suse.com>
473 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
476 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
479 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
481 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
482 differences. Document movslq and movsxd.
483 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
484 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
485 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
486 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
487 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
488 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
489 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
490 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
491 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
492 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
493 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
495 2020-01-27 Alan Modra <amodra@gmail.com>
497 * testsuite/gas/all/gas.exp: Replace case statements with switch
499 * testsuite/gas/elf/elf.exp: Likewise.
500 * testsuite/gas/macros/macros.exp: Likewise.
501 * testsuite/lib/gas-defs.exp: Likewise.
503 2020-01-27 Tamar Christina <tamar.christina@arm.com>
506 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
507 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
509 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
511 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
512 s exts must be known, so rename *ok* to *fail*.
513 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
514 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
515 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
517 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
518 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
520 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
523 * config/tc-i386.c (check_long_reg): Always disallow double word
524 suffix in mnemonic with word general register.
525 * testsuite/gas/i386/general.s: Replace word general register
526 with double word general register for movl.
527 * testsuite/gas/i386/inval.s: Add tests for movl with word general
529 * testsuite/gas/i386/general.l: Updated.
530 * testsuite/gas/i386/inval.l: Likewise.
532 2020-01-22 Alan Modra <amodra@gmail.com>
534 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
535 __tls_get_addr_desc and __tls_get_addr_opt.
537 2020-01-21 Jan Beulich <jbeulich@suse.com>
539 * testsuite/gas/i386/inval-crc32.s,
540 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
541 * testsuite/gas/i386/inval-crc32.l,
542 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
544 2020-01-21 Jan Beulich <jbeulich@suse.com>
546 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
547 generic code path. Deal with No_lSuf being set in a template.
548 * testsuite/gas/i386/inval-crc32.l,
549 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
550 instead of error(s) when operand size is ambiguous.
551 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
552 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
553 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
554 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
555 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
558 2020-01-21 Jan Beulich <jbeulich@suse.com>
560 * config/tc-i386.c (process_suffix): Drop SYSRET special case
561 and an intel_syntax check. Re-write lack-of-suffix processing
563 * doc/c-i386.texi: Document operand size defaults for suffix-
564 less AT&T syntax insns.
565 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
566 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
567 testsuite/gas/i386/x86-64-avx-scalar.s,
568 testsuite/gas/i386/x86-64-avx.s,
569 testsuite/gas/i386/x86-64-bundle.s,
570 testsuite/gas/i386/x86-64-intel64.s,
571 testsuite/gas/i386/x86-64-lock-1.s,
572 testsuite/gas/i386/x86-64-opcode.s,
573 testsuite/gas/i386/x86-64-sse2avx.s,
574 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
575 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
576 testsuite/gas/i386/x86-64-nops.s,
577 testsuite/gas/i386/x86-64-ptwrite.s,
578 testsuite/gas/i386/x86-64-simd.s,
579 testsuite/gas/i386/x86-64-sse-noavx.s,
580 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
582 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
583 testsuite/gas/i386/noreg64.s: Add further tests.
584 * testsuite/gas/i386/ilp32/x86-64-nops.d,
585 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
586 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
587 testsuite/gas/i386/sse-noavx.d,
588 testsuite/gas/i386/x86-64-intel64.d,
589 testsuite/gas/i386/x86-64-nops.d,
590 testsuite/gas/i386/x86-64-opcode.d,
591 testsuite/gas/i386/x86-64-ptwrite-intel.d,
592 testsuite/gas/i386/x86-64-ptwrite.d,
593 testsuite/gas/i386/x86-64-simd-intel.d,
594 testsuite/gas/i386/x86-64-simd-suffix.d,
595 testsuite/gas/i386/x86-64-simd.d,
596 testsuite/gas/i386/x86-64-sse-noavx.d
597 testsuite/gas/i386/x86-64-suffix.d,
598 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
599 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
600 testsuite/gas/i386/noreg64.l: New.
601 * testsuite/gas/i386/i386.exp: Run new tests.
603 2020-01-21 Jan Beulich <jbeulich@suse.com>
605 * testsuite/gas/i386/avx512_bf16_vl.s,
606 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
607 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
608 broadcast forms of VCVTNEPS2BF16.
609 * testsuite/gas/i386/avx512_bf16_vl.d,
610 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
612 2020-01-20 Nick Clifton <nickc@redhat.com>
614 * po/uk.po: Updated Ukranian translation.
616 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
619 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
620 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
622 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
623 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
624 R_X86_64_GOTPC32_TLSDESC relocation.
626 2020-01-18 Nick Clifton <nickc@redhat.com>
628 * configure: Regenerate.
629 * po/gas.pot: Regenerate.
631 2020-01-18 Nick Clifton <nickc@redhat.com>
633 Binutils 2.34 branch created.
635 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
637 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
638 with vex_encoding_vex.
639 (parse_insn): Likewise.
640 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
641 and {vex3} documentation.
642 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
644 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
646 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
649 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
650 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
651 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
652 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
653 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
654 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
656 2020-01-16 Jan Beulich <jbeulich@suse.com>
658 * config/tc-i386.c (match_template): Drop found_cpu_match local
661 2020-01-16 Jan Beulich <jbeulich@suse.com>
663 * testsuite/gas/i386/avx512dq-inval.l,
664 testsuite/gas/i386/avx512dq-inval.s: New.
665 * testsuite/gas/i386/i386.exp: Run new test.
667 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
669 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
670 relocations when the target is 430X, except when extracting part of an
672 (msp430_srcoperand): Adjust comment.
673 Initialize the expp member of the msp430_operand_s struct as
675 (msp430_dstoperand): Likewise.
676 * testsuite/gas/msp430/msp430.exp: Run new test.
677 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
678 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
680 2020-01-15 Alan Modra <amodra@gmail.com>
682 * configure.tgt: Add sparc-*-freebsd case.
684 2020-01-14 Lili Cui <lili.cui@intel.com>
686 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
687 * testsuite/gas/i386/align-branch-1b.d: Likewise.
688 * testsuite/gas/i386/align-branch-1c.d: Likewise.
689 * testsuite/gas/i386/align-branch-1d.d: Likewise.
690 * testsuite/gas/i386/align-branch-1e.d: Likewise.
691 * testsuite/gas/i386/align-branch-1f.d: Likewise.
692 * testsuite/gas/i386/align-branch-1g.d: Likewise.
693 * testsuite/gas/i386/align-branch-1h.d: Likewise.
694 * testsuite/gas/i386/align-branch-1i.d: Likewise.
695 * testsuite/gas/i386/align-branch-5.d: Likewise.
696 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
697 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
698 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
699 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
700 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
701 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
702 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
703 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
704 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
705 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
706 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
707 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
709 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
712 * config/tc-z80.c: Add support for half precision, single
713 precision and double precision floating point values.
714 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
715 * doc/as.texi: Add new z80 command line options.
716 * doc/c-z80.texi: Document new z80 command line options.
717 * testsuite/gas/z80/ez80_pref_dis.s: New test.
718 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
719 * testsuite/gas/z80/z80.exp: Run the new test.
720 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
721 * testsuite/gas/z80/fp_zeda32.d: Likewise.
722 * testsuite/gas/z80/strings.d: Update expected output.
724 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
726 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
729 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
731 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
733 * config/tc-arc.h: Add header if/defs.
734 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
736 2020-01-13 Alan Modra <amodra@gmail.com>
738 * testsuite/gas/wasm32/allinsn.d: Update expected output.
740 2020-01-13 Alan Modra <amodra@gmail.com>
742 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
745 2020-01-10 Alan Modra <amodra@gmail.com>
747 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
748 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
750 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
753 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
755 (emit_ld_r_r): Likewise.
756 (emit_ld_rr_m): Likewise.
757 (emit_ld_rr_nn): Likewise.
759 2020-01-09 Jan Beulich <jbeulich@suse.com>
761 * config/tc-i386.c (optimize_encoding): Add
762 is_any_vex_encoding() invocations. Drop respective
763 i.tm.extension_opcode == None checks.
765 2020-01-09 Jan Beulich <jbeulich@suse.com>
767 * config/tc-i386.c (md_assemble): Check RegRex is clear during
768 REX transformations. Correct comment indentation.
770 2020-01-09 Jan Beulich <jbeulich@suse.com>
772 * config/tc-i386.c (optimize_encoding): Generalize register
773 transformation for TEST optimization.
775 2020-01-09 Jan Beulich <jbeulich@suse.com>
777 * testsuite/gas/i386/x86-64-sysenter-amd.s,
778 testsuite/gas/i386/x86-64-sysenter-amd.d,
779 testsuite/gas/i386/x86-64-sysenter-amd.l,
780 testsuite/gas/i386/x86-64-sysenter-intel.d,
781 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
782 * testsuite/gas/i386/i386.exp: Run new tests.
784 2020-01-08 Nick Clifton <nickc@redhat.com>
787 * doc/as.texi (Align): Document the fact that all arguments can be
792 2020-01-08 Nick Clifton <nickc@redhat.com>
795 * config/obj-elf.c (obj_elf_section): Fail if the section name is
796 already defined as a different symbol type.
797 * testsuite/gas/elf/pr14891.s: New test source file.
798 * testsuite/gas/elf/pr14891.d: New test driver.
799 * testsuite/gas/elf/pr14891.s: New test expected error output.
800 * testsuite/gas/elf/elf.exp: Run the new test.
802 2020-01-08 Alan Modra <amodra@gmail.com>
804 * config/tc-z8k.c (md_begin): Make idx unsigned.
805 (get_specific): Likewise for this_index.
807 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
809 * onfig/tc-arc.c (parse_reloc_symbol): New function.
810 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
811 (md_operand): Set X_md to absent.
812 (arc_parse_name): Check for X_md.
814 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
817 * as.h (TC_STRING_ESCAPES): Provide a default definition.
818 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
820 * read.c (next_char_of_string): Likewise.
821 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
822 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
824 2020-01-03 Nick Clifton <nickc@redhat.com>
826 * po/sv.po: Updated Swedish translation.
828 2020-01-03 Jan Beulich <jbeulich@suse.com>
830 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
831 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
833 2020-01-03 Jan Beulich <jbeulich@suse.com>
835 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
836 by-element usdot. Add 64-bit form tests for by-element sudot.
837 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
839 2020-01-03 Jan Beulich <jbeulich@suse.com>
841 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
842 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
844 2020-01-03 Jan Beulich <jbeulich@suse.com>
846 * testsuite/gas/aarch64/f64mm.d,
847 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
849 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
851 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
852 support for assembler code generated by SDCC. Add new relocation
853 types. Add z80-elf target support.
854 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
855 labels. Local labels starts from ".L".
856 * NEWS: Mention the new support.
857 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
858 * testsuite/gas/all/fwdexp.s: Likewise.
859 * testsuite/gas/all/cond.l: Likewise.
860 * testsuite/gas/all/cond.s: Likewise.
861 * testsuite/gas/all/fwdexp.d: Likewise.
862 * testsuite/gas/all/fwdexp.s: Likewise.
863 * testsuite/gas/elf/section2.e-mips: Likewise.
864 * testsuite/gas/elf/section2.l: Likewise.
865 * testsuite/gas/elf/section2.s: Likewise.
866 * testsuite/gas/macros/app1.d: Likewise.
867 * testsuite/gas/macros/app1.s: Likewise.
868 * testsuite/gas/macros/app2.d: Likewise.
869 * testsuite/gas/macros/app2.s: Likewise.
870 * testsuite/gas/macros/app3.d: Likewise.
871 * testsuite/gas/macros/app3.s: Likewise.
872 * testsuite/gas/macros/app4.d: Likewise.
873 * testsuite/gas/macros/app4.s: Likewise.
874 * testsuite/gas/macros/app4b.s: Likewise.
875 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
876 * testsuite/gas/z80/z80.exp: Add new tests
877 * testsuite/gas/z80/dollar.d: New file.
878 * testsuite/gas/z80/dollar.s: New file.
879 * testsuite/gas/z80/ez80_adl_all.d: New file.
880 * testsuite/gas/z80/ez80_adl_all.s: New file.
881 * testsuite/gas/z80/ez80_adl_suf.d: New file.
882 * testsuite/gas/z80/ez80_isuf.s: New file.
883 * testsuite/gas/z80/ez80_z80_all.d: New file.
884 * testsuite/gas/z80/ez80_z80_all.s: New file.
885 * testsuite/gas/z80/ez80_z80_suf.d: New file.
886 * testsuite/gas/z80/r800_extra.d: New file.
887 * testsuite/gas/z80/r800_extra.s: New file.
888 * testsuite/gas/z80/r800_ii8.d: New file.
889 * testsuite/gas/z80/r800_z80_doc.d: New file.
890 * testsuite/gas/z80/z180.d: New file.
891 * testsuite/gas/z80/z180.s: New file.
892 * testsuite/gas/z80/z180_z80_doc.d: New file.
893 * testsuite/gas/z80/z80_doc.d: New file.
894 * testsuite/gas/z80/z80_doc.s: New file.
895 * testsuite/gas/z80/z80_ii8.d: New file.
896 * testsuite/gas/z80/z80_ii8.s: New file.
897 * testsuite/gas/z80/z80_in_f_c.d: New file.
898 * testsuite/gas/z80/z80_in_f_c.s: New file.
899 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
900 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
901 * testsuite/gas/z80/z80_out_c_0.d: New file.
902 * testsuite/gas/z80/z80_out_c_0.s: New file.
903 * testsuite/gas/z80/z80_reloc.d: New file.
904 * testsuite/gas/z80/z80_reloc.s: New file.
905 * testsuite/gas/z80/z80_sli.d: New file.
906 * testsuite/gas/z80/z80_sli.s: New file.
908 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
910 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
913 2020-01-01 Alan Modra <amodra@gmail.com>
915 Update year range in copyright notice of all files.
917 For older changes see ChangeLog-2019
919 Copyright (C) 2020 Free Software Foundation, Inc.
921 Copying and distribution of this file, with or without modification,
922 are permitted in any medium without royalty provided the copyright
923 notice and this notice are preserved.
929 version-control: never