1 2020-02-21 Alan Modra <amodra@gmail.com>
3 * config/tc-pdp11.c (md_apply_fix): Handle BFD_RELOC_32.
4 (tc_gen_reloc): Only give a BAD_CASE assertion on pcrel relocs.
6 2020-02-21 Alan Modra <amodra@gmail.com>
9 * config/obj-aout.c (obj_aout_frob_file_before_fix): Don't loop
10 on section size adjustment, instead perform another write if
11 exec header size is larger than section size.
13 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
15 * doc/c-riscv.texi: Add the doc entries for -march-attr/
16 -mno-arch-attr command line options.
18 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
20 * testsuite/gas/riscv/c-add-addi.d: New testcase.
21 * testsuite/gas/riscv/c-add-addi.s: Likewise.
23 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
26 * config/tc-z80.c (md_parse_option): Do not use an underscore
27 prefix for local labels in SDCC compatability mode.
28 (z80_start_line_hook): Remove SDCC dollar label support.
29 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
30 * testsuite/gas/z80/sdcc.s: Likewise.
32 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
35 * config/tc-z80.c: Add -march option.
36 * doc/as.texi: Update Z80 documentation.
37 * doc/c-z80.texi: Likewise.
38 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
39 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
40 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
41 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
42 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
43 * testsuite/gas/z80/gbz80_all.d: Likewise.
44 * testsuite/gas/z80/r800_extra.d: Likewise.
45 * testsuite/gas/z80/r800_ii8.d: Likewise.
46 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
47 * testsuite/gas/z80/sdcc.d: Likewise.
48 * testsuite/gas/z80/z180.d: Likewise.
49 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
50 * testsuite/gas/z80/z80_doc.d: Likewise.
51 * testsuite/gas/z80/z80_ii8.d: Likewise.
52 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
53 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
54 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
55 * testsuite/gas/z80/z80_sli.d: Likewise.
56 * testsuite/gas/z80/z80n_all.d: Likewise.
57 * testsuite/gas/z80/z80n_reloc.d: Likewise.
59 2020-02-19 H.J. Lu <hongjiu.lu@intel.com>
61 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
62 with GNU_PROPERTY_X86_FEATURE_2_MMX.
63 * testsuite/gas/i386/i386.exp: Run property-3 and
65 * testsuite/gas/i386/property-3.d: New file.
66 * testsuite/gas/i386/property-3.s: Likewise.
67 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
69 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
71 * config/tc-i386.c (cpu_arch): Add .popcnt.
72 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
73 Add a tab before @samp{.sse4a}.
75 2020-02-17 Jan Beulich <jbeulich@suse.com>
77 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
78 for AddrPrefixOpReg templates. Combine the two pieces of
79 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
82 2020-02-17 Jan Beulich <jbeulich@suse.com>
85 * config/tc-i386.c (md_assemble): Also suppress operand
86 swapping for MONITOR{,X} and MWAIT{,X}.
87 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
88 Add Intel syntax monitor/mwait tests.
89 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
91 *testsuite/gas/i386/sse3-intel.d,
92 testsuite/gas/i386/x86-64-sse3-intel.d: New.
93 * testsuite/gas/i386/i386.exp: Run new tests.
95 2020-02-17 Jan Beulich <jbeulich@suse.com>
98 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
99 [XYZ]MMWord memory operand ambiguity recognition logic (largely
101 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
103 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
104 * testsuite/gas/i386/avx512dq-inval.l,
105 testsuite/gas/i386/inval-avx.l,
106 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
107 * testsuite/gas/i386/avx512vl-ambig.s,
108 testsuite/gas/i386/avx512vl-ambig.l: New.
109 * testsuite/gas/i386/i386.exp: Run new test.
111 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
113 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
115 * doc/c-i386.texi: Document sse4a and nosse4a.
117 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
119 * doc/c-i386.texi: Remove the old movsx and movzx documentation
122 2020-02-14 Jan Beulich <jbeulich@suse.com>
125 * config/tc-i386.c (md_assemble): Move movsx/movzx special
127 (process_suffix): ... here. Consider just the first operand
129 (check_long_reg): Drop opcode 0x63 special case again.
130 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
131 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
132 Move ambiguous operand size tests ...
133 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
134 testsuite/gas/i386/noreg64.s: ... here.
135 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
136 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
137 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
138 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
139 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
140 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
141 testsuite/gas/i386/x86-64-movsxd.d,
142 testsuite/gas/i386/x86-64-movsxd-intel.d,
143 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
145 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
146 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
147 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
148 * testsuite/gas/i386/i386.exp: Run new tests.
150 2020-02-14 Jan Beulich <jbeulich@suse.com>
152 * config/tc-i386.c (process_operands): Also skip segment
153 override prefix emission if it matches an already present one.
154 * testsuite/gas/i386/prefix32.s: Add double segment override
156 * testsuite/gas/i386/prefix32.l: Adjust expectations.
158 2020-02-14 Jan Beulich <jbeulich@suse.com>
160 * config/tc-i386.c (process_operands): Drop ineffectual segment
161 overrides when optimizing.
162 * testsuite/gas/i386/lea-optimize.d: New.
163 * testsuite/gas/i386/i386.exp: Run new test.
165 2020-02-14 Jan Beulich <jbeulich@suse.com>
167 * config/tc-i386.c (process_operands): Also check insn prefix
168 for ineffectual segment override warning. Don't cover possible
169 VEX/EVEX encoded insns there.
170 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
171 testsuite/gas/i386/lea.e: New.
172 * testsuite/gas/i386/i386.exp: Run new test.
174 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
177 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
180 2020-02-13 Fangrui Song <maskray@google.com>
181 H.J. Lu <hongjiu.lu@intel.com>
184 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
185 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
186 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
187 * testsuite/gas/i386/relax-5.d: New file.
188 * testsuite/gas/i386/relax-5.s: Likewise.
189 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
190 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
192 2020-02-13 Jan Beulich <jbeulich@suse.com>
194 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
197 2020-02-12 Jan Beulich <jbeulich@suse.com>
199 * config/tc-i386.c (avx512): New (at file scope), moved from
200 (check_VecOperands): ... here.
201 (process_suffix): Add [XYZ]MMword operand size handling.
202 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
203 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
205 * testsuite/gas/i386/avx512dq-inval.l,
206 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
208 2020-02-12 Jan Beulich <jbeulich@suse.com>
211 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
213 * config/tc-i386-intel.c (i386_intel_operand): Also handle
214 CALL/JMP in O_tbyte_ptr case.
215 * doc/c-i386.texi: Mention far call and full pointer load ISA
217 * testsuite/gas/i386/x86-64-branch-3.s,
218 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
219 * testsuite/gas/i386/x86-64-branch-3.d,
220 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
221 * testsuite/gas/i386/x86-64-branch-5.l,
222 testsuite/gas/i386/x86-64-branch-5.s: New.
223 * testsuite/gas/i386/i386.exp: Run new test.
225 2020-02-12 Jan Beulich <jbeulich@suse.com>
228 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
229 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
231 (check_word_reg): Consistently error on mismatching register
233 * testsuite/gas/i386/general.s: Replace dword GPR with word one
234 for movw. Replace suffix / GPR for orb.
235 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
236 byte GPRs as well as ones for inb/outb with a word accumulator.
237 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
238 testsuite/gas/i386/inval.l: Adjust expectations.
240 2020-02-12 Jan Beulich <jbeulich@suse.com>
242 * config/tc-i386.c (operand_type_register_match): Also fall
243 through initial two if()-s when the template allows for a GPR
244 operand. Adjust comment.
246 2020-02-11 Jan Beulich <jbeulich@suse.com>
248 (struct _i386_insn): New field "short_form".
249 (optimize_encoding): Drop setting of shortform field.
250 (process_suffix): Set i.short_form. Replace shortform use.
251 (process_operands): Replace shortform use.
253 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
255 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
256 loop initial declaration.
258 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
260 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
261 instructions that can have 5 arguments.
262 (enum operand_parse_code): Add new operands.
263 (parse_operands): Account for new operands.
265 (enum neon_shape_el): Introduce P suffixes for coprocessor.
266 (neon_select_shape): Account for P suffix.
267 (LOW1): Move macro to global position.
268 (HI4): Move macro to global position.
269 (vcx_assign_vec_d): New.
270 (vcx_assign_vec_m): New.
271 (vcx_assign_vec_n): New.
272 (enum vcx_reg_type): New.
273 (vcx_get_reg_type): New.
276 (vcx_handle_shape): New.
277 (vcx_ensure_register_in_range): New.
278 (vcx_handle_register_arguments): New.
279 (vcx_handle_insn_block): New.
280 (vcx_handle_common_checks): New.
284 * testsuite/gas/arm/cde-missing-fp.d: New test.
285 * testsuite/gas/arm/cde-missing-fp.l: New test.
286 * testsuite/gas/arm/cde-missing-mve.d: New test.
287 * testsuite/gas/arm/cde-missing-mve.l: New test.
288 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
289 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
290 * testsuite/gas/arm/cde-mve.s: New test.
291 * testsuite/gas/arm/cde-warnings.l:
292 * testsuite/gas/arm/cde-warnings.s:
293 * testsuite/gas/arm/cde.d:
294 * testsuite/gas/arm/cde.s:
296 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
297 Matthew Malcomson <matthew.malcomson@arm.com>
299 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
300 CDE coprocessor that can be enabled.
301 (enum pred_instruction_type): New pred type.
302 (BAD_NO_VPT): New error message.
303 (BAD_CDE): New error message.
304 (BAD_CDE_COPROC): New error message.
305 (enum operand_parse_code): Add new immediate operands.
306 (parse_operands): Account for new immediate operands.
307 (check_cde_operand): New.
308 (cde_coproc_enabled): New.
309 (cde_coproc_pos): New.
310 (cde_handle_coproc): New.
311 (cxn_handle_predication): New.
312 (do_custom_instruction_1): New.
313 (do_custom_instruction_2): New.
314 (do_custom_instruction_3): New.
327 (handle_pred_state): Define new IT block behaviour.
328 (insns): Add newn CX*{,d}{,a} instructions.
329 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
330 Define new cdecp extension strings.
331 * doc/c-arm.texi: Document new cdecp extension arguments.
332 * testsuite/gas/arm/cde-scalar.d: New test.
333 * testsuite/gas/arm/cde-scalar.s: New test.
334 * testsuite/gas/arm/cde-warnings.d: New test.
335 * testsuite/gas/arm/cde-warnings.l: New test.
336 * testsuite/gas/arm/cde-warnings.s: New test.
337 * testsuite/gas/arm/cde.d: New test.
338 * testsuite/gas/arm/cde.s: New test.
340 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
343 * config/tc-i386.c (intel64): Renamed to ...
345 (match_template): Accept Intel64 only instruction by default.
346 (i386_displacement): Updated.
347 (md_parse_option): Updated.
348 * c-i386.texi: Update -mamd64/-mintel64 documentation.
349 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
350 -mamd64 to x86-64-sysenter-amd.
351 * testsuite/gas/i386/x86-64-sysenter.d: New file.
353 2020-02-10 Alan Modra <amodra@gmail.com>
355 * config/obj-elf.c (obj_elf_change_section): Error for section
356 type, attr or entsize changes in assembly.
357 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
358 * testsuite/gas/elf/section5.l: Update.
360 2020-02-10 Alan Modra <amodra@gmail.com>
362 * output-file.c (output_file_close): Do a normal close when
363 flag_always_generate_output.
364 * write.c (write_object_file): Don't stop output when
365 flag_always_generate_output.
367 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
370 * config/tc-z80.c: Add -gbz80 command line option to generate code
371 for the GameBoy Z80. Add support for generating DWARF.
372 * config/tc-z80.h: Add support for DWARF debug information
374 * doc/c-z80.texi: Document new command line option.
375 * testsuite/gas/z80/gbz80_all.d: New file.
376 * testsuite/gas/z80/gbz80_all.s: New file.
377 * testsuite/gas/z80/z80.exp: Run the new tests.
378 * testsuite/gas/z80/z80n_all.d: New file.
379 * testsuite/gas/z80/z80n_all.s: New file.
380 * testsuite/gas/z80/z80n_reloc.d: New file.
382 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
385 * config/obj-elf.c (get_section): Also check
386 linked_to_symbol_name.
387 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
388 (obj_elf_parse_section_letters): Handle the 'o' flag.
389 (build_group_lists): Renamed to ...
390 (build_additional_section_info): This. Set elf_linked_to_section
391 from map_head.linked_to_symbol_name.
392 (elf_adjust_symtab): Updated.
393 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
394 * doc/as.texi: Document the 'o' flag.
395 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
396 * testsuite/gas/elf/section18.d: New file.
397 * testsuite/gas/elf/section18.s: Likewise.
398 * testsuite/gas/elf/section19.d: Likewise.
399 * testsuite/gas/elf/section19.s: Likewise.
400 * testsuite/gas/elf/section20.d: Likewise.
401 * testsuite/gas/elf/section20.s: Likewise.
402 * testsuite/gas/elf/section21.d: Likewise.
403 * testsuite/gas/elf/section21.l: Likewise.
404 * testsuite/gas/elf/section21.s: Likewise.
406 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
408 * NEWS: Mention x86 assembler options to align branches for
411 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
413 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
414 only for ELF targets.
415 * testsuite/gas/i386/unique.d: Don't xfail.
416 * testsuite/gas/i386/x86-64-unique.d: Likewise.
418 2020-02-06 Alan Modra <amodra@gmail.com>
420 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
421 * testsuite/gas/i386/x86-64-unique.d: Likewise.
423 2020-02-06 Alan Modra <amodra@gmail.com>
425 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
426 xfail, and rename test.
427 * testsuite/gas/elf/section12b.d: Likewise.
428 * testsuite/gas/elf/section16a.d: Likewise.
429 * testsuite/gas/elf/section16b.d: Likewise.
431 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
434 * config/obj-elf.c (section_match): Removed.
435 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
437 (obj_elf_change_section): Replace info and group_name arguments
438 with match_p. Also update the section ID and flags from match_p.
439 (obj_elf_section): Handle "unique,N". Update call to
440 obj_elf_change_section.
441 * config/obj-elf.h (elf_section_match): New.
442 (obj_elf_change_section): Updated.
443 * config/tc-arm.c (start_unwind_section): Update call to
444 obj_elf_change_section.
445 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
446 * config/tc-microblaze.c (microblaze_s_data): Likewise.
447 (microblaze_s_sdata): Likewise.
448 (microblaze_s_rdata): Likewise.
449 (microblaze_s_bss): Likewise.
450 * config/tc-mips.c (s_change_section): Likewise.
451 * config/tc-msp430.c (msp430_profiler): Likewise.
452 * config/tc-rx.c (parse_rx_section): Likewise.
453 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
454 * doc/as.texi: Document "unique,N" in .section directive.
455 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
456 * testsuite/gas/elf/section15.d: New file.
457 * testsuite/gas/elf/section15.s: Likewise.
458 * testsuite/gas/elf/section16.s: Likewise.
459 * testsuite/gas/elf/section16a.d: Likewise.
460 * testsuite/gas/elf/section16b.d: Likewise.
461 * testsuite/gas/elf/section17.d: Likewise.
462 * testsuite/gas/elf/section17.l: Likewise.
463 * testsuite/gas/elf/section17.s: Likewise.
464 * testsuite/gas/i386/unique.d: Likewise.
465 * testsuite/gas/i386/unique.s: Likewise.
466 * testsuite/gas/i386/x86-64-unique.d: Likewise.
467 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
469 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
471 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
473 2020-02-01 Anthony Green <green@moxielogic.com>
475 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
477 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
479 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
482 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
485 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
486 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
488 * testsuite/gas/arm/mve_dsp.d: New test.
490 2020-01-31 Nick Clifton <nickc@redhat.com>
492 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
493 rather than BFD_RELOC_NONE.
495 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
497 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
498 to support VLDMIA instruction for MVE.
499 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
501 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
503 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
505 * testsuite/gas/arm/mve-ldst.d: New test.
506 * testsuite/gas/arm/mve-ldst.s: Likewise.
508 2020-01-31 Nick Clifton <nickc@redhat.com>
510 * po/fr.po: Updated French translation.
511 * po/ru.po: Updated Russian translation.
513 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
515 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
517 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
518 * testsuite/gas/aarch64/sve-movprfx_28.d,
519 * testsuite/gas/aarch64/sve-movprfx_28.l,
520 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
522 2020-01-30 Jan Beulich <jbeulich@suse.com>
524 * config/tc-i386.c (output_disp): Tighten base_opcode check.
525 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
526 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
529 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
531 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
532 * testsuite/gas/bpf/alu-be.d: Likewise.
533 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
534 * testsuite/gas/bpf/alu32-be.d: Likewise.
536 2020-01-30 Jan Beulich <jbeulich@suse.com>
538 * testsuite/gas/i386/x86-64-branch-2.s,
539 testsuite/gas/i386/x86-64-branch-4.s,
540 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
541 * testsuite/gas/i386/ilp32/x86-64-branch.d,
542 testsuite/gas/i386/x86-64-branch-2.d,
543 testsuite/gas/i386/x86-64-branch-4.l,
544 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
546 2020-01-30 Jan Beulich <jbeulich@suse.com>
548 * config/tc-i386.c (process_suffix): .
549 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
550 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
552 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
554 testsuite/gas/i386/x86_64.s: Add RETF cases.
555 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
556 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
557 testsuite/gas/i386/x86-64-opcode.d,
558 testsuite/gas/i386/x86-64-suffix-intel.d,
559 testsuite/gas/i386/x86-64-suffix.d,
560 testsuite/gas/i386/x86_64-intel.d
561 testsuite/gas/i386/x86_64.d: Adjust expectations.
562 * testsuite/gas/i386/x86-64-suffix.e,
563 testsuite/gas/i386/x86_64.e: New.
565 2020-01-30 Jan Beulich <jbeulich@suse.com>
567 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
570 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
573 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
575 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
576 differences. Document movslq and movsxd.
577 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
578 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
579 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
580 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
581 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
582 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
583 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
584 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
585 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
586 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
587 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
589 2020-01-27 Alan Modra <amodra@gmail.com>
591 * testsuite/gas/all/gas.exp: Replace case statements with switch
593 * testsuite/gas/elf/elf.exp: Likewise.
594 * testsuite/gas/macros/macros.exp: Likewise.
595 * testsuite/lib/gas-defs.exp: Likewise.
597 2020-01-27 Tamar Christina <tamar.christina@arm.com>
600 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
601 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
603 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
605 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
606 s exts must be known, so rename *ok* to *fail*.
607 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
608 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
609 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
611 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
612 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
614 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
617 * config/tc-i386.c (check_long_reg): Always disallow double word
618 suffix in mnemonic with word general register.
619 * testsuite/gas/i386/general.s: Replace word general register
620 with double word general register for movl.
621 * testsuite/gas/i386/inval.s: Add tests for movl with word general
623 * testsuite/gas/i386/general.l: Updated.
624 * testsuite/gas/i386/inval.l: Likewise.
626 2020-01-22 Alan Modra <amodra@gmail.com>
628 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
629 __tls_get_addr_desc and __tls_get_addr_opt.
631 2020-01-21 Jan Beulich <jbeulich@suse.com>
633 * testsuite/gas/i386/inval-crc32.s,
634 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
635 * testsuite/gas/i386/inval-crc32.l,
636 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
638 2020-01-21 Jan Beulich <jbeulich@suse.com>
640 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
641 generic code path. Deal with No_lSuf being set in a template.
642 * testsuite/gas/i386/inval-crc32.l,
643 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
644 instead of error(s) when operand size is ambiguous.
645 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
646 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
647 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
648 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
649 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
652 2020-01-21 Jan Beulich <jbeulich@suse.com>
654 * config/tc-i386.c (process_suffix): Drop SYSRET special case
655 and an intel_syntax check. Re-write lack-of-suffix processing
657 * doc/c-i386.texi: Document operand size defaults for suffix-
658 less AT&T syntax insns.
659 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
660 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
661 testsuite/gas/i386/x86-64-avx-scalar.s,
662 testsuite/gas/i386/x86-64-avx.s,
663 testsuite/gas/i386/x86-64-bundle.s,
664 testsuite/gas/i386/x86-64-intel64.s,
665 testsuite/gas/i386/x86-64-lock-1.s,
666 testsuite/gas/i386/x86-64-opcode.s,
667 testsuite/gas/i386/x86-64-sse2avx.s,
668 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
669 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
670 testsuite/gas/i386/x86-64-nops.s,
671 testsuite/gas/i386/x86-64-ptwrite.s,
672 testsuite/gas/i386/x86-64-simd.s,
673 testsuite/gas/i386/x86-64-sse-noavx.s,
674 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
676 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
677 testsuite/gas/i386/noreg64.s: Add further tests.
678 * testsuite/gas/i386/ilp32/x86-64-nops.d,
679 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
680 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
681 testsuite/gas/i386/sse-noavx.d,
682 testsuite/gas/i386/x86-64-intel64.d,
683 testsuite/gas/i386/x86-64-nops.d,
684 testsuite/gas/i386/x86-64-opcode.d,
685 testsuite/gas/i386/x86-64-ptwrite-intel.d,
686 testsuite/gas/i386/x86-64-ptwrite.d,
687 testsuite/gas/i386/x86-64-simd-intel.d,
688 testsuite/gas/i386/x86-64-simd-suffix.d,
689 testsuite/gas/i386/x86-64-simd.d,
690 testsuite/gas/i386/x86-64-sse-noavx.d
691 testsuite/gas/i386/x86-64-suffix.d,
692 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
693 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
694 testsuite/gas/i386/noreg64.l: New.
695 * testsuite/gas/i386/i386.exp: Run new tests.
697 2020-01-21 Jan Beulich <jbeulich@suse.com>
699 * testsuite/gas/i386/avx512_bf16_vl.s,
700 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
701 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
702 broadcast forms of VCVTNEPS2BF16.
703 * testsuite/gas/i386/avx512_bf16_vl.d,
704 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
706 2020-01-20 Nick Clifton <nickc@redhat.com>
708 * po/uk.po: Updated Ukranian translation.
710 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
713 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
714 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
716 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
717 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
718 R_X86_64_GOTPC32_TLSDESC relocation.
720 2020-01-18 Nick Clifton <nickc@redhat.com>
722 * configure: Regenerate.
723 * po/gas.pot: Regenerate.
725 2020-01-18 Nick Clifton <nickc@redhat.com>
727 Binutils 2.34 branch created.
729 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
731 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
732 with vex_encoding_vex.
733 (parse_insn): Likewise.
734 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
735 and {vex3} documentation.
736 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
738 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
740 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
743 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
744 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
745 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
746 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
747 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
748 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
750 2020-01-16 Jan Beulich <jbeulich@suse.com>
752 * config/tc-i386.c (match_template): Drop found_cpu_match local
755 2020-01-16 Jan Beulich <jbeulich@suse.com>
757 * testsuite/gas/i386/avx512dq-inval.l,
758 testsuite/gas/i386/avx512dq-inval.s: New.
759 * testsuite/gas/i386/i386.exp: Run new test.
761 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
763 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
764 relocations when the target is 430X, except when extracting part of an
766 (msp430_srcoperand): Adjust comment.
767 Initialize the expp member of the msp430_operand_s struct as
769 (msp430_dstoperand): Likewise.
770 * testsuite/gas/msp430/msp430.exp: Run new test.
771 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
772 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
774 2020-01-15 Alan Modra <amodra@gmail.com>
776 * configure.tgt: Add sparc-*-freebsd case.
778 2020-01-14 Lili Cui <lili.cui@intel.com>
780 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
781 * testsuite/gas/i386/align-branch-1b.d: Likewise.
782 * testsuite/gas/i386/align-branch-1c.d: Likewise.
783 * testsuite/gas/i386/align-branch-1d.d: Likewise.
784 * testsuite/gas/i386/align-branch-1e.d: Likewise.
785 * testsuite/gas/i386/align-branch-1f.d: Likewise.
786 * testsuite/gas/i386/align-branch-1g.d: Likewise.
787 * testsuite/gas/i386/align-branch-1h.d: Likewise.
788 * testsuite/gas/i386/align-branch-1i.d: Likewise.
789 * testsuite/gas/i386/align-branch-5.d: Likewise.
790 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
791 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
792 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
793 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
794 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
795 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
796 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
797 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
798 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
799 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
800 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
801 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
803 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
806 * config/tc-z80.c: Add support for half precision, single
807 precision and double precision floating point values.
808 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
809 * doc/as.texi: Add new z80 command line options.
810 * doc/c-z80.texi: Document new z80 command line options.
811 * testsuite/gas/z80/ez80_pref_dis.s: New test.
812 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
813 * testsuite/gas/z80/z80.exp: Run the new test.
814 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
815 * testsuite/gas/z80/fp_zeda32.d: Likewise.
816 * testsuite/gas/z80/strings.d: Update expected output.
818 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
820 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
823 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
825 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
827 * config/tc-arc.h: Add header if/defs.
828 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
830 2020-01-13 Alan Modra <amodra@gmail.com>
832 * testsuite/gas/wasm32/allinsn.d: Update expected output.
834 2020-01-13 Alan Modra <amodra@gmail.com>
836 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
839 2020-01-10 Alan Modra <amodra@gmail.com>
841 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
842 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
844 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
847 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
849 (emit_ld_r_r): Likewise.
850 (emit_ld_rr_m): Likewise.
851 (emit_ld_rr_nn): Likewise.
853 2020-01-09 Jan Beulich <jbeulich@suse.com>
855 * config/tc-i386.c (optimize_encoding): Add
856 is_any_vex_encoding() invocations. Drop respective
857 i.tm.extension_opcode == None checks.
859 2020-01-09 Jan Beulich <jbeulich@suse.com>
861 * config/tc-i386.c (md_assemble): Check RegRex is clear during
862 REX transformations. Correct comment indentation.
864 2020-01-09 Jan Beulich <jbeulich@suse.com>
866 * config/tc-i386.c (optimize_encoding): Generalize register
867 transformation for TEST optimization.
869 2020-01-09 Jan Beulich <jbeulich@suse.com>
871 * testsuite/gas/i386/x86-64-sysenter-amd.s,
872 testsuite/gas/i386/x86-64-sysenter-amd.d,
873 testsuite/gas/i386/x86-64-sysenter-amd.l,
874 testsuite/gas/i386/x86-64-sysenter-intel.d,
875 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
876 * testsuite/gas/i386/i386.exp: Run new tests.
878 2020-01-08 Nick Clifton <nickc@redhat.com>
881 * doc/as.texi (Align): Document the fact that all arguments can be
886 2020-01-08 Nick Clifton <nickc@redhat.com>
889 * config/obj-elf.c (obj_elf_section): Fail if the section name is
890 already defined as a different symbol type.
891 * testsuite/gas/elf/pr14891.s: New test source file.
892 * testsuite/gas/elf/pr14891.d: New test driver.
893 * testsuite/gas/elf/pr14891.s: New test expected error output.
894 * testsuite/gas/elf/elf.exp: Run the new test.
896 2020-01-08 Alan Modra <amodra@gmail.com>
898 * config/tc-z8k.c (md_begin): Make idx unsigned.
899 (get_specific): Likewise for this_index.
901 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
903 * onfig/tc-arc.c (parse_reloc_symbol): New function.
904 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
905 (md_operand): Set X_md to absent.
906 (arc_parse_name): Check for X_md.
908 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
911 * as.h (TC_STRING_ESCAPES): Provide a default definition.
912 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
914 * read.c (next_char_of_string): Likewise.
915 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
916 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
918 2020-01-03 Nick Clifton <nickc@redhat.com>
920 * po/sv.po: Updated Swedish translation.
922 2020-01-03 Jan Beulich <jbeulich@suse.com>
924 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
925 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
927 2020-01-03 Jan Beulich <jbeulich@suse.com>
929 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
930 by-element usdot. Add 64-bit form tests for by-element sudot.
931 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
933 2020-01-03 Jan Beulich <jbeulich@suse.com>
935 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
936 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
938 2020-01-03 Jan Beulich <jbeulich@suse.com>
940 * testsuite/gas/aarch64/f64mm.d,
941 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
943 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
945 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
946 support for assembler code generated by SDCC. Add new relocation
947 types. Add z80-elf target support.
948 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
949 labels. Local labels starts from ".L".
950 * NEWS: Mention the new support.
951 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
952 * testsuite/gas/all/fwdexp.s: Likewise.
953 * testsuite/gas/all/cond.l: Likewise.
954 * testsuite/gas/all/cond.s: Likewise.
955 * testsuite/gas/all/fwdexp.d: Likewise.
956 * testsuite/gas/all/fwdexp.s: Likewise.
957 * testsuite/gas/elf/section2.e-mips: Likewise.
958 * testsuite/gas/elf/section2.l: Likewise.
959 * testsuite/gas/elf/section2.s: Likewise.
960 * testsuite/gas/macros/app1.d: Likewise.
961 * testsuite/gas/macros/app1.s: Likewise.
962 * testsuite/gas/macros/app2.d: Likewise.
963 * testsuite/gas/macros/app2.s: Likewise.
964 * testsuite/gas/macros/app3.d: Likewise.
965 * testsuite/gas/macros/app3.s: Likewise.
966 * testsuite/gas/macros/app4.d: Likewise.
967 * testsuite/gas/macros/app4.s: Likewise.
968 * testsuite/gas/macros/app4b.s: Likewise.
969 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
970 * testsuite/gas/z80/z80.exp: Add new tests
971 * testsuite/gas/z80/dollar.d: New file.
972 * testsuite/gas/z80/dollar.s: New file.
973 * testsuite/gas/z80/ez80_adl_all.d: New file.
974 * testsuite/gas/z80/ez80_adl_all.s: New file.
975 * testsuite/gas/z80/ez80_adl_suf.d: New file.
976 * testsuite/gas/z80/ez80_isuf.s: New file.
977 * testsuite/gas/z80/ez80_z80_all.d: New file.
978 * testsuite/gas/z80/ez80_z80_all.s: New file.
979 * testsuite/gas/z80/ez80_z80_suf.d: New file.
980 * testsuite/gas/z80/r800_extra.d: New file.
981 * testsuite/gas/z80/r800_extra.s: New file.
982 * testsuite/gas/z80/r800_ii8.d: New file.
983 * testsuite/gas/z80/r800_z80_doc.d: New file.
984 * testsuite/gas/z80/z180.d: New file.
985 * testsuite/gas/z80/z180.s: New file.
986 * testsuite/gas/z80/z180_z80_doc.d: New file.
987 * testsuite/gas/z80/z80_doc.d: New file.
988 * testsuite/gas/z80/z80_doc.s: New file.
989 * testsuite/gas/z80/z80_ii8.d: New file.
990 * testsuite/gas/z80/z80_ii8.s: New file.
991 * testsuite/gas/z80/z80_in_f_c.d: New file.
992 * testsuite/gas/z80/z80_in_f_c.s: New file.
993 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
994 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
995 * testsuite/gas/z80/z80_out_c_0.d: New file.
996 * testsuite/gas/z80/z80_out_c_0.s: New file.
997 * testsuite/gas/z80/z80_reloc.d: New file.
998 * testsuite/gas/z80/z80_reloc.s: New file.
999 * testsuite/gas/z80/z80_sli.d: New file.
1000 * testsuite/gas/z80/z80_sli.s: New file.
1002 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
1004 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
1007 2020-01-01 Alan Modra <amodra@gmail.com>
1009 Update year range in copyright notice of all files.
1011 For older changes see ChangeLog-2019
1013 Copyright (C) 2020 Free Software Foundation, Inc.
1015 Copying and distribution of this file, with or without modification,
1016 are permitted in any medium without royalty provided the copyright
1017 notice and this notice are preserved.
1023 version-control: never