1 2020-02-19 Nelson Chu <nelson.chu@sifive.com>
3 * testsuite/gas/riscv/c-add-addi.d: New testcase.
4 * testsuite/gas/riscv/c-add-addi.s: Likewise.
6 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
9 * config/tc-z80.c (md_parse_option): Do not use an underscore
10 prefix for local labels in SDCC compatability mode.
11 (z80_start_line_hook): Remove SDCC dollar label support.
12 * testsuite/gas/z80/sdcc.d: Update expected disassembly.
13 * testsuite/gas/z80/sdcc.s: Likewise.
15 2020-02-19 Sergey Belyashov <sergey.belyashov@gmail.com>
18 * config/tc-z80.c: Add -march option.
19 * doc/as.texi: Update Z80 documentation.
20 * doc/c-z80.texi: Likewise.
21 * testsuite/gas/z80/ez80_adl_all.d: Update command line.
22 * testsuite/gas/z80/ez80_adl_suf.d: Likewise.
23 * testsuite/gas/z80/ez80_pref_dis.d: Likewise.
24 * testsuite/gas/z80/ez80_z80_all.d: Likewise.
25 * testsuite/gas/z80/ez80_z80_suf.d: Likewise.
26 * testsuite/gas/z80/gbz80_all.d: Likewise.
27 * testsuite/gas/z80/r800_extra.d: Likewise.
28 * testsuite/gas/z80/r800_ii8.d: Likewise.
29 * testsuite/gas/z80/r800_z80_doc.d: Likewise.
30 * testsuite/gas/z80/sdcc.d: Likewise.
31 * testsuite/gas/z80/z180.d: Likewise.
32 * testsuite/gas/z80/z180_z80_doc.d: Likewise.
33 * testsuite/gas/z80/z80_doc.d: Likewise.
34 * testsuite/gas/z80/z80_ii8.d: Likewise.
35 * testsuite/gas/z80/z80_in_f_c.d: Likewise.
36 * testsuite/gas/z80/z80_op_ii_ld.d: Likewise.
37 * testsuite/gas/z80/z80_out_c_0.d: Likewise.
38 * testsuite/gas/z80/z80_sli.d: Likewise.
39 * testsuite/gas/z80/z80n_all.d: Likewise.
40 * testsuite/gas/z80/z80n_reloc.d: Likewise.
42 2020-02-19 H.J. Lu <hongjiu.lu@intel.com>
44 * config/tc-i386.c (output_insn): Mark cvtpi2ps and cvtpi2pd
45 with GNU_PROPERTY_X86_FEATURE_2_MMX.
46 * testsuite/gas/i386/i386.exp: Run property-3 and
48 * testsuite/gas/i386/property-3.d: New file.
49 * testsuite/gas/i386/property-3.s: Likewise.
50 * testsuite/gas/i386/x86-64-property-3.d: Likewise.
52 2020-02-17 H.J. Lu <hongjiu.lu@intel.com>
54 * config/tc-i386.c (cpu_arch): Add .popcnt.
55 * doc/c-i386.texi: Remove abm and .abm. Add popcnt and .popcnt.
56 Add a tab before @samp{.sse4a}.
58 2020-02-17 Jan Beulich <jbeulich@suse.com>
60 * config/tc-i386.c (process_suffix): Don't try to guess a suffix
61 for AddrPrefixOpReg templates. Combine the two pieces of
62 addrprefixopreg handling. Reject 16-bit address reg in 64-bit
65 2020-02-17 Jan Beulich <jbeulich@suse.com>
68 * config/tc-i386.c (md_assemble): Also suppress operand
69 swapping for MONITOR{,X} and MWAIT{,X}.
70 * testsuite/gas/i386/sse3.s, testsuite/gas/i386/x86-64-sse3.s:
71 Add Intel syntax monitor/mwait tests.
72 * testsuite/gas/i386/sse3.d, testsuite/gas/i386/x86-64-sse3.d:
74 *testsuite/gas/i386/sse3-intel.d,
75 testsuite/gas/i386/x86-64-sse3-intel.d: New.
76 * testsuite/gas/i386/i386.exp: Run new tests.
78 2020-02-17 Jan Beulich <jbeulich@suse.com>
81 * config/tc-i386.c (process_suffix): Re-work Intel-syntax
82 [XYZ]MMWord memory operand ambiguity recognition logic (largely
84 * testsuite/gas/i386/avx512dq-inval.s: Add vcvtqq2ps/vcvtuqq2ps
86 * testsuite/gas/i386/inval-avx512f.s: Also test vcvtneps2bf16.
87 * testsuite/gas/i386/avx512dq-inval.l,
88 testsuite/gas/i386/inval-avx.l,
89 testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
90 * testsuite/gas/i386/avx512vl-ambig.s,
91 testsuite/gas/i386/avx512vl-ambig.l: New.
92 * testsuite/gas/i386/i386.exp: Run new test.
94 2020-02-16 H.J. Lu <hongjiu.lu@intel.com>
96 * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a. Restore
98 * doc/c-i386.texi: Document sse4a and nosse4a.
100 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
102 * doc/c-i386.texi: Remove the old movsx and movzx documentation
105 2020-02-14 Jan Beulich <jbeulich@suse.com>
108 * config/tc-i386.c (md_assemble): Move movsx/movzx special
110 (process_suffix): ... here. Consider just the first operand
112 (check_long_reg): Drop opcode 0x63 special case again.
113 * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
114 testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
115 Move ambiguous operand size tests ...
116 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
117 testsuite/gas/i386/noreg64.s: ... here.
118 * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
119 testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
120 testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
121 testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
122 testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
123 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
124 testsuite/gas/i386/x86-64-movsxd.d,
125 testsuite/gas/i386/x86-64-movsxd-intel.d,
126 testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
128 * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
129 testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
130 testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
131 * testsuite/gas/i386/i386.exp: Run new tests.
133 2020-02-14 Jan Beulich <jbeulich@suse.com>
135 * config/tc-i386.c (process_operands): Also skip segment
136 override prefix emission if it matches an already present one.
137 * testsuite/gas/i386/prefix32.s: Add double segment override
139 * testsuite/gas/i386/prefix32.l: Adjust expectations.
141 2020-02-14 Jan Beulich <jbeulich@suse.com>
143 * config/tc-i386.c (process_operands): Drop ineffectual segment
144 overrides when optimizing.
145 * testsuite/gas/i386/lea-optimize.d: New.
146 * testsuite/gas/i386/i386.exp: Run new test.
148 2020-02-14 Jan Beulich <jbeulich@suse.com>
150 * config/tc-i386.c (process_operands): Also check insn prefix
151 for ineffectual segment override warning. Don't cover possible
152 VEX/EVEX encoded insns there.
153 * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
154 testsuite/gas/i386/lea.e: New.
155 * testsuite/gas/i386/i386.exp: Run new test.
157 2020-02-14 H.J. Lu <hongjiu.lu@intel.com>
160 * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
163 2020-02-13 Fangrui Song <maskray@google.com>
164 H.J. Lu <hongjiu.lu@intel.com>
167 * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
168 BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
169 * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
170 * testsuite/gas/i386/relax-5.d: New file.
171 * testsuite/gas/i386/relax-5.s: Likewise.
172 * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
173 * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
175 2020-02-13 Jan Beulich <jbeulich@suse.com>
177 * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
180 2020-02-12 Jan Beulich <jbeulich@suse.com>
182 * config/tc-i386.c (avx512): New (at file scope), moved from
183 (check_VecOperands): ... here.
184 (process_suffix): Add [XYZ]MMword operand size handling.
185 * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
186 * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
188 * testsuite/gas/i386/avx512dq-inval.l,
189 testsuite/gas/i386/noavx512-2.l: Adjust expectations.
191 2020-02-12 Jan Beulich <jbeulich@suse.com>
194 * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
196 * config/tc-i386-intel.c (i386_intel_operand): Also handle
197 CALL/JMP in O_tbyte_ptr case.
198 * doc/c-i386.texi: Mention far call and full pointer load ISA
200 * testsuite/gas/i386/x86-64-branch-3.s,
201 testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
202 * testsuite/gas/i386/x86-64-branch-3.d,
203 testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
204 * testsuite/gas/i386/x86-64-branch-5.l,
205 testsuite/gas/i386/x86-64-branch-5.s: New.
206 * testsuite/gas/i386/i386.exp: Run new test.
208 2020-02-12 Jan Beulich <jbeulich@suse.com>
211 * config/tc-i386.c (REGISTER_WARNINGS): Delete.
212 (check_byte_reg): Skip only source operand of CRC32. Drop Non-
214 (check_word_reg): Consistently error on mismatching register
216 * testsuite/gas/i386/general.s: Replace dword GPR with word one
217 for movw. Replace suffix / GPR for orb.
218 * testsuite/gas/i386/inval.s: Add tests for movw with dword and
219 byte GPRs as well as ones for inb/outb with a word accumulator.
220 * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
221 testsuite/gas/i386/inval.l: Adjust expectations.
223 2020-02-12 Jan Beulich <jbeulich@suse.com>
225 * config/tc-i386.c (operand_type_register_match): Also fall
226 through initial two if()-s when the template allows for a GPR
227 operand. Adjust comment.
229 2020-02-11 Jan Beulich <jbeulich@suse.com>
231 (struct _i386_insn): New field "short_form".
232 (optimize_encoding): Drop setting of shortform field.
233 (process_suffix): Set i.short_form. Replace shortform use.
234 (process_operands): Replace shortform use.
236 2020-02-11 Matthew Malcomson <matthew.malcomson@arm.com>
238 * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
239 loop initial declaration.
241 2020-02-10 Matthew Malcomson <matthew.malcomson@arm.com>
243 * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
244 instructions that can have 5 arguments.
245 (enum operand_parse_code): Add new operands.
246 (parse_operands): Account for new operands.
248 (enum neon_shape_el): Introduce P suffixes for coprocessor.
249 (neon_select_shape): Account for P suffix.
250 (LOW1): Move macro to global position.
251 (HI4): Move macro to global position.
252 (vcx_assign_vec_d): New.
253 (vcx_assign_vec_m): New.
254 (vcx_assign_vec_n): New.
255 (enum vcx_reg_type): New.
256 (vcx_get_reg_type): New.
259 (vcx_handle_shape): New.
260 (vcx_ensure_register_in_range): New.
261 (vcx_handle_register_arguments): New.
262 (vcx_handle_insn_block): New.
263 (vcx_handle_common_checks): New.
267 * testsuite/gas/arm/cde-missing-fp.d: New test.
268 * testsuite/gas/arm/cde-missing-fp.l: New test.
269 * testsuite/gas/arm/cde-missing-mve.d: New test.
270 * testsuite/gas/arm/cde-missing-mve.l: New test.
271 * testsuite/gas/arm/cde-mve-or-neon.d: New test.
272 * testsuite/gas/arm/cde-mve-or-neon.s: New test.
273 * testsuite/gas/arm/cde-mve.s: New test.
274 * testsuite/gas/arm/cde-warnings.l:
275 * testsuite/gas/arm/cde-warnings.s:
276 * testsuite/gas/arm/cde.d:
277 * testsuite/gas/arm/cde.s:
279 2020-02-10 Stam Markianos-Wright <stam.markianos-wright@arm.com>
280 Matthew Malcomson <matthew.malcomson@arm.com>
282 * config/tc-arm.c (arm_ext_cde*): New feature sets for each
283 CDE coprocessor that can be enabled.
284 (enum pred_instruction_type): New pred type.
285 (BAD_NO_VPT): New error message.
286 (BAD_CDE): New error message.
287 (BAD_CDE_COPROC): New error message.
288 (enum operand_parse_code): Add new immediate operands.
289 (parse_operands): Account for new immediate operands.
290 (check_cde_operand): New.
291 (cde_coproc_enabled): New.
292 (cde_coproc_pos): New.
293 (cde_handle_coproc): New.
294 (cxn_handle_predication): New.
295 (do_custom_instruction_1): New.
296 (do_custom_instruction_2): New.
297 (do_custom_instruction_3): New.
310 (handle_pred_state): Define new IT block behaviour.
311 (insns): Add newn CX*{,d}{,a} instructions.
312 (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
313 Define new cdecp extension strings.
314 * doc/c-arm.texi: Document new cdecp extension arguments.
315 * testsuite/gas/arm/cde-scalar.d: New test.
316 * testsuite/gas/arm/cde-scalar.s: New test.
317 * testsuite/gas/arm/cde-warnings.d: New test.
318 * testsuite/gas/arm/cde-warnings.l: New test.
319 * testsuite/gas/arm/cde-warnings.s: New test.
320 * testsuite/gas/arm/cde.d: New test.
321 * testsuite/gas/arm/cde.s: New test.
323 2020-02-10 H.J. Lu <hongjiu.lu@intel.com>
326 * config/tc-i386.c (intel64): Renamed to ...
328 (match_template): Accept Intel64 only instruction by default.
329 (i386_displacement): Updated.
330 (md_parse_option): Updated.
331 * c-i386.texi: Update -mamd64/-mintel64 documentation.
332 * testsuite/gas/i386/i386.exp: Run x86-64-sysenter. Pass
333 -mamd64 to x86-64-sysenter-amd.
334 * testsuite/gas/i386/x86-64-sysenter.d: New file.
336 2020-02-10 Alan Modra <amodra@gmail.com>
338 * config/obj-elf.c (obj_elf_change_section): Error for section
339 type, attr or entsize changes in assembly.
340 * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
341 * testsuite/gas/elf/section5.l: Update.
343 2020-02-10 Alan Modra <amodra@gmail.com>
345 * output-file.c (output_file_close): Do a normal close when
346 flag_always_generate_output.
347 * write.c (write_object_file): Don't stop output when
348 flag_always_generate_output.
350 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
353 * config/tc-z80.c: Add -gbz80 command line option to generate code
354 for the GameBoy Z80. Add support for generating DWARF.
355 * config/tc-z80.h: Add support for DWARF debug information
357 * doc/c-z80.texi: Document new command line option.
358 * testsuite/gas/z80/gbz80_all.d: New file.
359 * testsuite/gas/z80/gbz80_all.s: New file.
360 * testsuite/gas/z80/z80.exp: Run the new tests.
361 * testsuite/gas/z80/z80n_all.d: New file.
362 * testsuite/gas/z80/z80n_all.s: New file.
363 * testsuite/gas/z80/z80n_reloc.d: New file.
365 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
368 * config/obj-elf.c (get_section): Also check
369 linked_to_symbol_name.
370 (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
371 (obj_elf_parse_section_letters): Handle the 'o' flag.
372 (build_group_lists): Renamed to ...
373 (build_additional_section_info): This. Set elf_linked_to_section
374 from map_head.linked_to_symbol_name.
375 (elf_adjust_symtab): Updated.
376 * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
377 * doc/as.texi: Document the 'o' flag.
378 * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
379 * testsuite/gas/elf/section18.d: New file.
380 * testsuite/gas/elf/section18.s: Likewise.
381 * testsuite/gas/elf/section19.d: Likewise.
382 * testsuite/gas/elf/section19.s: Likewise.
383 * testsuite/gas/elf/section20.d: Likewise.
384 * testsuite/gas/elf/section20.s: Likewise.
385 * testsuite/gas/elf/section21.d: Likewise.
386 * testsuite/gas/elf/section21.l: Likewise.
387 * testsuite/gas/elf/section21.s: Likewise.
389 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
391 * NEWS: Mention x86 assembler options to align branches for
394 2020-02-06 H.J. Lu <hongjiu.lu@intel.com>
396 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
397 only for ELF targets.
398 * testsuite/gas/i386/unique.d: Don't xfail.
399 * testsuite/gas/i386/x86-64-unique.d: Likewise.
401 2020-02-06 Alan Modra <amodra@gmail.com>
403 * testsuite/gas/i386/unique.d: xfail for non-elf targets.
404 * testsuite/gas/i386/x86-64-unique.d: Likewise.
406 2020-02-06 Alan Modra <amodra@gmail.com>
408 * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
409 xfail, and rename test.
410 * testsuite/gas/elf/section12b.d: Likewise.
411 * testsuite/gas/elf/section16a.d: Likewise.
412 * testsuite/gas/elf/section16b.d: Likewise.
414 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
417 * config/obj-elf.c (section_match): Removed.
418 (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
420 (obj_elf_change_section): Replace info and group_name arguments
421 with match_p. Also update the section ID and flags from match_p.
422 (obj_elf_section): Handle "unique,N". Update call to
423 obj_elf_change_section.
424 * config/obj-elf.h (elf_section_match): New.
425 (obj_elf_change_section): Updated.
426 * config/tc-arm.c (start_unwind_section): Update call to
427 obj_elf_change_section.
428 * config/tc-ia64.c (obj_elf_vms_common): Likewise.
429 * config/tc-microblaze.c (microblaze_s_data): Likewise.
430 (microblaze_s_sdata): Likewise.
431 (microblaze_s_rdata): Likewise.
432 (microblaze_s_bss): Likewise.
433 * config/tc-mips.c (s_change_section): Likewise.
434 * config/tc-msp430.c (msp430_profiler): Likewise.
435 * config/tc-rx.c (parse_rx_section): Likewise.
436 * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
437 * doc/as.texi: Document "unique,N" in .section directive.
438 * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
439 * testsuite/gas/elf/section15.d: New file.
440 * testsuite/gas/elf/section15.s: Likewise.
441 * testsuite/gas/elf/section16.s: Likewise.
442 * testsuite/gas/elf/section16a.d: Likewise.
443 * testsuite/gas/elf/section16b.d: Likewise.
444 * testsuite/gas/elf/section17.d: Likewise.
445 * testsuite/gas/elf/section17.l: Likewise.
446 * testsuite/gas/elf/section17.s: Likewise.
447 * testsuite/gas/i386/unique.d: Likewise.
448 * testsuite/gas/i386/unique.s: Likewise.
449 * testsuite/gas/i386/x86-64-unique.d: Likewise.
450 * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
452 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
454 * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
456 2020-02-01 Anthony Green <green@moxielogic.com>
458 * config/tc-moxie.c (md_begin): Don't force big-endian mode.
460 2020-01-31 Sandra Loosemore <sandra@codesourcery.com>
462 * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
465 2020-01-31 Andre Vieira <andre.simoesdiasvieira@arm.com>
468 * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
469 (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
471 * testsuite/gas/arm/mve_dsp.d: New test.
473 2020-01-31 Nick Clifton <nickc@redhat.com>
475 * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
476 rather than BFD_RELOC_NONE.
478 2020-01-31 Srinath Parvathaneni <srinath.parvathaneni@arm.com>
480 * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
481 to support VLDMIA instruction for MVE.
482 (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
484 (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
486 (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
488 * testsuite/gas/arm/mve-ldst.d: New test.
489 * testsuite/gas/arm/mve-ldst.s: Likewise.
491 2020-01-31 Nick Clifton <nickc@redhat.com>
493 * po/fr.po: Updated French translation.
494 * po/ru.po: Updated Russian translation.
496 2020-01-31 Richard Sandiford <richard.sandiford@arm.com>
498 * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
500 * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
501 * testsuite/gas/aarch64/sve-movprfx_28.d,
502 * testsuite/gas/aarch64/sve-movprfx_28.l,
503 * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
505 2020-01-30 Jan Beulich <jbeulich@suse.com>
507 * config/tc-i386.c (output_disp): Tighten base_opcode check.
508 * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
509 * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
512 2020-01-30 Jose E. Marchesi <jose.marchesi@oracle.com>
514 * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
515 * testsuite/gas/bpf/alu-be.d: Likewise.
516 * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
517 * testsuite/gas/bpf/alu32-be.d: Likewise.
519 2020-01-30 Jan Beulich <jbeulich@suse.com>
521 * testsuite/gas/i386/x86-64-branch-2.s,
522 testsuite/gas/i386/x86-64-branch-4.s,
523 testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
524 * testsuite/gas/i386/ilp32/x86-64-branch.d,
525 testsuite/gas/i386/x86-64-branch-2.d,
526 testsuite/gas/i386/x86-64-branch-4.l,
527 testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
529 2020-01-30 Jan Beulich <jbeulich@suse.com>
531 * config/tc-i386.c (process_suffix): .
532 testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
533 testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
535 testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
537 testsuite/gas/i386/x86_64.s: Add RETF cases.
538 * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
539 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
540 testsuite/gas/i386/x86-64-opcode.d,
541 testsuite/gas/i386/x86-64-suffix-intel.d,
542 testsuite/gas/i386/x86-64-suffix.d,
543 testsuite/gas/i386/x86_64-intel.d
544 testsuite/gas/i386/x86_64.d: Adjust expectations.
545 * testsuite/gas/i386/x86-64-suffix.e,
546 testsuite/gas/i386/x86_64.e: New.
548 2020-01-30 Jan Beulich <jbeulich@suse.com>
550 * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
553 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
556 * config/tc-i386.c (check_long_reg): Also convert to QWORD for
558 * doc/c-i386.texi: Add a node for AMD64 vs. Intel64 ISA
559 differences. Document movslq and movsxd.
560 * testsuite/gas/i386/i386.exp: Run PR binutils/25445 tests.
561 * testsuite/gas/i386/x86-64-movsxd-intel.d: New file.
562 * testsuite/gas/i386/x86-64-movsxd-intel64-intel.d: Likewise.
563 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.l: Likewise.
564 * testsuite/gas/i386/x86-64-movsxd-intel64-inval.s: Likewise.
565 * testsuite/gas/i386/x86-64-movsxd-intel64.d: Likewise.
566 * testsuite/gas/i386/x86-64-movsxd-intel64.s: Likewise.
567 * testsuite/gas/i386/x86-64-movsxd-inval.l: Likewise.
568 * testsuite/gas/i386/x86-64-movsxd-inval.s: Likewise.
569 * testsuite/gas/i386/x86-64-movsxd.d: Likewise.
570 * testsuite/gas/i386/x86-64-movsxd.s: Likewise.
572 2020-01-27 Alan Modra <amodra@gmail.com>
574 * testsuite/gas/all/gas.exp: Replace case statements with switch
576 * testsuite/gas/elf/elf.exp: Likewise.
577 * testsuite/gas/macros/macros.exp: Likewise.
578 * testsuite/lib/gas-defs.exp: Likewise.
580 2020-01-27 Tamar Christina <tamar.christina@arm.com>
583 * testsuite/gas/aarch64/armv8_4-a.d: Add cfinv.
584 * testsuite/gas/aarch64/armv8_4-a.s: Likewise.
586 2020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
588 * testsuite/gas/riscv/march-ok-s.d: sx is no longer valid and
589 s exts must be known, so rename *ok* to *fail*.
590 * testsuite/gas/riscv/march-ok-sx.d: Likewise.
591 * testsuite/gas/riscv/march-ok-s-with-version: Likewise.
592 * testsuite/gas/riscv/march-fail-s.l: Expected error messages for
594 * testsuite/gas/riscv/march-fail-sx.l: Likewise.
595 * testsuite/gas/riscv/march-fail-sx-with-version.l: Likewise.
597 2020-01-22 H.J. Lu <hongjiu.lu@intel.com>
600 * config/tc-i386.c (check_long_reg): Always disallow double word
601 suffix in mnemonic with word general register.
602 * testsuite/gas/i386/general.s: Replace word general register
603 with double word general register for movl.
604 * testsuite/gas/i386/inval.s: Add tests for movl with word general
606 * testsuite/gas/i386/general.l: Updated.
607 * testsuite/gas/i386/inval.l: Likewise.
609 2020-01-22 Alan Modra <amodra@gmail.com>
611 * config/tc-ppc.c (parse_tls_arg): Handle tls arg for
612 __tls_get_addr_desc and __tls_get_addr_opt.
614 2020-01-21 Jan Beulich <jbeulich@suse.com>
616 * testsuite/gas/i386/inval-crc32.s,
617 testsuite/gas/i386/x86-64-inval-crc32.s: Add alignment directive.
618 * testsuite/gas/i386/inval-crc32.l,
619 testsuite/gas/i386/x86-64-inval-crc32.l: Adjust expectations.
621 2020-01-21 Jan Beulich <jbeulich@suse.com>
623 * config/tc-i386.c (process_suffix): Merge CRC32 handling into
624 generic code path. Deal with No_lSuf being set in a template.
625 * testsuite/gas/i386/inval-crc32.l,
626 testsuite/gas/i386/x86-64-inval-crc32.l: Expect warning(s)
627 instead of error(s) when operand size is ambiguous.
628 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
629 testsuite/gas/i386/noreg64.s: Add CRC32 tests.
630 * testsuite/gas/i386/noreg16.d, testsuite/gas/i386/noreg16.l,
631 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg32.l,
632 testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l:
635 2020-01-21 Jan Beulich <jbeulich@suse.com>
637 * config/tc-i386.c (process_suffix): Drop SYSRET special case
638 and an intel_syntax check. Re-write lack-of-suffix processing
640 * doc/c-i386.texi: Document operand size defaults for suffix-
641 less AT&T syntax insns.
642 * testsuite/gas/i386/bundle.s, testsuite/gas/i386/lock-1.s,
643 testsuite/gas/i386/opcode.s, testsuite/gas/i386/sse3.s,
644 testsuite/gas/i386/x86-64-avx-scalar.s,
645 testsuite/gas/i386/x86-64-avx.s,
646 testsuite/gas/i386/x86-64-bundle.s,
647 testsuite/gas/i386/x86-64-intel64.s,
648 testsuite/gas/i386/x86-64-lock-1.s,
649 testsuite/gas/i386/x86-64-opcode.s,
650 testsuite/gas/i386/x86-64-sse2avx.s,
651 testsuite/gas/i386/x86-64-sse3.s: Add missing suffixes.
652 * testsuite/gas/i386/nops.s, testsuite/gas/i386/sse-noavx.s,
653 testsuite/gas/i386/x86-64-nops.s,
654 testsuite/gas/i386/x86-64-ptwrite.s,
655 testsuite/gas/i386/x86-64-simd.s,
656 testsuite/gas/i386/x86-64-sse-noavx.s,
657 testsuite/gas/i386/x86-64-suffix.s: Drop bogus suffix-less
659 * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
660 testsuite/gas/i386/noreg64.s: Add further tests.
661 * testsuite/gas/i386/ilp32/x86-64-nops.d,
662 testsuite/gas/i386/nops.d, testsuite/gas/i386/noreg16.d,
663 testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
664 testsuite/gas/i386/sse-noavx.d,
665 testsuite/gas/i386/x86-64-intel64.d,
666 testsuite/gas/i386/x86-64-nops.d,
667 testsuite/gas/i386/x86-64-opcode.d,
668 testsuite/gas/i386/x86-64-ptwrite-intel.d,
669 testsuite/gas/i386/x86-64-ptwrite.d,
670 testsuite/gas/i386/x86-64-simd-intel.d,
671 testsuite/gas/i386/x86-64-simd-suffix.d,
672 testsuite/gas/i386/x86-64-simd.d,
673 testsuite/gas/i386/x86-64-sse-noavx.d
674 testsuite/gas/i386/x86-64-suffix.d,
675 testsuite/gas/i386/x86-64-suffix-intel.d: Adjust expectations.
676 * testsuite/gas/i386/noreg16.l, testsuite/gas/i386/noreg32.l,
677 testsuite/gas/i386/noreg64.l: New.
678 * testsuite/gas/i386/i386.exp: Run new tests.
680 2020-01-21 Jan Beulich <jbeulich@suse.com>
682 * testsuite/gas/i386/avx512_bf16_vl.s,
683 testsuite/gas/i386/x86-64-avx512_bf16_vl.s: Add broadcast forms
684 of VCVTNEPS2BF16{X,Y}. Add operand-size less Intel syntax
685 broadcast forms of VCVTNEPS2BF16.
686 * testsuite/gas/i386/avx512_bf16_vl.d,
687 testsuite/gas/i386/x86-64-avx512_bf16_vl.d: Adjust expectations.
689 2020-01-20 Nick Clifton <nickc@redhat.com>
691 * po/uk.po: Updated Ukranian translation.
693 2020-01-20 H.J. Lu <hongjiu.lu@intel.com>
696 * config/tc-i386.c (output_insn): Add a dummy REX_OPCODE prefix
697 for lea with R_X86_64_GOTPC32_TLSDESC relocation when generating
699 * testsuite/gas/i386/ilp32/x32-tls.d: Updated.
700 * testsuite/gas/i386/ilp32/x32-tls.s: Add tests for lea with
701 R_X86_64_GOTPC32_TLSDESC relocation.
703 2020-01-18 Nick Clifton <nickc@redhat.com>
705 * configure: Regenerate.
706 * po/gas.pot: Regenerate.
708 2020-01-18 Nick Clifton <nickc@redhat.com>
710 Binutils 2.34 branch created.
712 2020-01-17 H.J. Lu <hongjiu.lu@intel.com>
714 * config/tc-i386.c (_i386_insn): Replace vex_encoding_vex2
715 with vex_encoding_vex.
716 (parse_insn): Likewise.
717 * doc/c-i386.texi: Replace {vex2} with {vex}. Update {vex}
718 and {vex3} documentation.
719 * testsuite/gas/i386/pseudos.s: Replace 3 {vex2} tests with
721 * testsuite/gas/i386/x86-64-pseudos.s: Likewise.
723 2020-01-16 Andre Vieira <andre.simoesdiasvieira@arm.com>
726 * config/tc-arm.c (mve_ext, mve_fp_ext): Use CORE_HIGH.
727 (armv8_1m_main_ext_table): Use CORE_HIGH for mve.
728 * testsuite/arm/armv8_1-m-fpu-mve-1.s: New.
729 * testsuite/arm/armv8_1-m-fpu-mve-1.d: New.
730 * testsuite/arm/armv8_1-m-fpu-mve-2.s: New.
731 * testsuite/arm/armv8_1-m-fpu-mve-2.d: New.
733 2020-01-16 Jan Beulich <jbeulich@suse.com>
735 * config/tc-i386.c (match_template): Drop found_cpu_match local
738 2020-01-16 Jan Beulich <jbeulich@suse.com>
740 * testsuite/gas/i386/avx512dq-inval.l,
741 testsuite/gas/i386/avx512dq-inval.s: New.
742 * testsuite/gas/i386/i386.exp: Run new test.
744 2020-01-15 Jozef Lawrynowicz <jozef.l@mittosystems.com>
746 * config/tc-msp430.c (CHECK_RELOC_MSP430): Always generate 430X
747 relocations when the target is 430X, except when extracting part of an
749 (msp430_srcoperand): Adjust comment.
750 Initialize the expp member of the msp430_operand_s struct as
752 (msp430_dstoperand): Likewise.
753 * testsuite/gas/msp430/msp430.exp: Run new test.
754 * testsuite/gas/msp430/reloc-lo-430x.d: New test.
755 * testsuite/gas/msp430/reloc-lo-430x.s: New test.
757 2020-01-15 Alan Modra <amodra@gmail.com>
759 * configure.tgt: Add sparc-*-freebsd case.
761 2020-01-14 Lili Cui <lili.cui@intel.com>
763 * testsuite/gas/i386/align-branch-1a.d: Updated for Darwin.
764 * testsuite/gas/i386/align-branch-1b.d: Likewise.
765 * testsuite/gas/i386/align-branch-1c.d: Likewise.
766 * testsuite/gas/i386/align-branch-1d.d: Likewise.
767 * testsuite/gas/i386/align-branch-1e.d: Likewise.
768 * testsuite/gas/i386/align-branch-1f.d: Likewise.
769 * testsuite/gas/i386/align-branch-1g.d: Likewise.
770 * testsuite/gas/i386/align-branch-1h.d: Likewise.
771 * testsuite/gas/i386/align-branch-1i.d: Likewise.
772 * testsuite/gas/i386/align-branch-5.d: Likewise.
773 * testsuite/gas/i386/x86-64-align-branch-1a.d: Likewise.
774 * testsuite/gas/i386/x86-64-align-branch-1b.d: Likewise.
775 * testsuite/gas/i386/x86-64-align-branch-1c.d: Likewise.
776 * testsuite/gas/i386/x86-64-align-branch-1d.d: Likewise.
777 * testsuite/gas/i386/x86-64-align-branch-1e.d: Likewise.
778 * testsuite/gas/i386/x86-64-align-branch-1f.d: Likewise.
779 * testsuite/gas/i386/x86-64-align-branch-1g.d: Likewise.
780 * testsuite/gas/i386/x86-64-align-branch-1h.d: Likewise.
781 * testsuite/gas/i386/x86-64-align-branch-1i.d: Likewise.
782 * testsuite/gas/i386/x86-64-align-branch-5.d: Likewise.
783 * testsuite/gas/i386/i386.exp: Skip x86-64-align-branch-2a,
784 x86-64-align-branch-2b and x86-64-align-branch-2c on Darwin.
786 2020-01-14 Sergey Belyashov <sergey.belyashov@gmail.com>
789 * config/tc-z80.c: Add support for half precision, single
790 precision and double precision floating point values.
791 * config/tc-z80.h b/gas/config/tc-z80.h: Disable string escapes.
792 * doc/as.texi: Add new z80 command line options.
793 * doc/c-z80.texi: Document new z80 command line options.
794 * testsuite/gas/z80/ez80_pref_dis.s: New test.
795 * testsuite/gas/z80/ez80_pref_dis.d: New test driver.
796 * testsuite/gas/z80/z80.exp: Run the new test.
797 * testsuite/gas/z80/fp_math48.d: Use correct command line option.
798 * testsuite/gas/z80/fp_zeda32.d: Likewise.
799 * testsuite/gas/z80/strings.d: Update expected output.
801 2020-01-13 Matthew Malcomson <matthew.malcomson@arm.com>
803 * config/tc-aarch64.c (f64mm, f32mm): Add sve as a feature
806 2020-01-13 Claudiu Zissulescu <claziss@gmail.com>
808 * config/tc-arc.c (arc_select_cpu): Re-init the bfd if we change
810 * config/tc-arc.h: Add header if/defs.
811 * testsuite/gas/arc/pseudos.d: Improve matching pattern.
813 2020-01-13 Alan Modra <amodra@gmail.com>
815 * testsuite/gas/wasm32/allinsn.d: Update expected output.
817 2020-01-13 Alan Modra <amodra@gmail.com>
819 * config/tc-tic4x.c (tic4x_operands_match): Correct tic3x trap
822 2020-01-10 Alan Modra <amodra@gmail.com>
824 * testsuite/gas/elf/pr14891.s: Don't start directives in first column.
825 * testsuite/gas/elf/pr21661.d: Don't run on hpux.
827 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
830 * config/tc-z80.c (emit_ld_m_rr): Use integer types when checking
832 (emit_ld_r_r): Likewise.
833 (emit_ld_rr_m): Likewise.
834 (emit_ld_rr_nn): Likewise.
836 2020-01-09 Jan Beulich <jbeulich@suse.com>
838 * config/tc-i386.c (optimize_encoding): Add
839 is_any_vex_encoding() invocations. Drop respective
840 i.tm.extension_opcode == None checks.
842 2020-01-09 Jan Beulich <jbeulich@suse.com>
844 * config/tc-i386.c (md_assemble): Check RegRex is clear during
845 REX transformations. Correct comment indentation.
847 2020-01-09 Jan Beulich <jbeulich@suse.com>
849 * config/tc-i386.c (optimize_encoding): Generalize register
850 transformation for TEST optimization.
852 2020-01-09 Jan Beulich <jbeulich@suse.com>
854 * testsuite/gas/i386/x86-64-sysenter-amd.s,
855 testsuite/gas/i386/x86-64-sysenter-amd.d,
856 testsuite/gas/i386/x86-64-sysenter-amd.l,
857 testsuite/gas/i386/x86-64-sysenter-intel.d,
858 testsuite/gas/i386/x86-64-sysenter-mixed.d: New.
859 * testsuite/gas/i386/i386.exp: Run new tests.
861 2020-01-08 Nick Clifton <nickc@redhat.com>
864 * doc/as.texi (Align): Document the fact that all arguments can be
869 2020-01-08 Nick Clifton <nickc@redhat.com>
872 * config/obj-elf.c (obj_elf_section): Fail if the section name is
873 already defined as a different symbol type.
874 * testsuite/gas/elf/pr14891.s: New test source file.
875 * testsuite/gas/elf/pr14891.d: New test driver.
876 * testsuite/gas/elf/pr14891.s: New test expected error output.
877 * testsuite/gas/elf/elf.exp: Run the new test.
879 2020-01-08 Alan Modra <amodra@gmail.com>
881 * config/tc-z8k.c (md_begin): Make idx unsigned.
882 (get_specific): Likewise for this_index.
884 2020-01-07 Claudiu Zissulescu <claziss@synopsys.com>
886 * onfig/tc-arc.c (parse_reloc_symbol): New function.
887 (tokenize_arguments): Clean up, use parse_reloc_symbol function.
888 (md_operand): Set X_md to absent.
889 (arc_parse_name): Check for X_md.
891 2020-01-03 Sergey Belyashov <sergey.belyashov@gmail.com>
894 * as.h (TC_STRING_ESCAPES): Provide a default definition.
895 * app.c (do_scrub_chars): Use TC_STRING_ESCAPES instead of
897 * read.c (next_char_of_string): Likewise.
898 * config/tc-ppc.h (TC_STRING_ESCAPES): Define.
899 * config/tc-z80.h (TC_STRING_ESCAPES): Define.
901 2020-01-03 Nick Clifton <nickc@redhat.com>
903 * po/sv.po: Updated Swedish translation.
905 2020-01-03 Jan Beulich <jbeulich@suse.com>
907 * testsuite/gas/aarch64/f64mm.s: Scale index of LD1RO{H,W,D}.
908 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
910 2020-01-03 Jan Beulich <jbeulich@suse.com>
912 * testsuite/gas/aarch64/i8mm.s: Add 128-bit form tests for
913 by-element usdot. Add 64-bit form tests for by-element sudot.
914 * testsuite/gas/aarch64/i8mm.d: Adjust expectations.
916 2020-01-03 Jan Beulich <jbeulich@suse.com>
918 * testsuite/gas/aarch64/f64mm.s: Drop 'i' from uzip<n>.
919 * testsuite/gas/aarch64/f64mm.d: Adjust expectations.
921 2020-01-03 Jan Beulich <jbeulich@suse.com>
923 * testsuite/gas/aarch64/f64mm.d,
924 testsuite/gas/aarch64/sve-movprfx-mm.d: Adjust expectations.
926 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
928 * config/tc-z80.c: Add new architectures: Z180 and eZ80. Add
929 support for assembler code generated by SDCC. Add new relocation
930 types. Add z80-elf target support.
931 * config/tc-z80.h: Add z80-elf target support. Enable dollar local
932 labels. Local labels starts from ".L".
933 * NEWS: Mention the new support.
934 * testsuite/gas/all/fwdexp.d: Fix failure due to symbol conflict.
935 * testsuite/gas/all/fwdexp.s: Likewise.
936 * testsuite/gas/all/cond.l: Likewise.
937 * testsuite/gas/all/cond.s: Likewise.
938 * testsuite/gas/all/fwdexp.d: Likewise.
939 * testsuite/gas/all/fwdexp.s: Likewise.
940 * testsuite/gas/elf/section2.e-mips: Likewise.
941 * testsuite/gas/elf/section2.l: Likewise.
942 * testsuite/gas/elf/section2.s: Likewise.
943 * testsuite/gas/macros/app1.d: Likewise.
944 * testsuite/gas/macros/app1.s: Likewise.
945 * testsuite/gas/macros/app2.d: Likewise.
946 * testsuite/gas/macros/app2.s: Likewise.
947 * testsuite/gas/macros/app3.d: Likewise.
948 * testsuite/gas/macros/app3.s: Likewise.
949 * testsuite/gas/macros/app4.d: Likewise.
950 * testsuite/gas/macros/app4.s: Likewise.
951 * testsuite/gas/macros/app4b.s: Likewise.
952 * testsuite/gas/z80/suffix.d: Fix failure on ELF target.
953 * testsuite/gas/z80/z80.exp: Add new tests
954 * testsuite/gas/z80/dollar.d: New file.
955 * testsuite/gas/z80/dollar.s: New file.
956 * testsuite/gas/z80/ez80_adl_all.d: New file.
957 * testsuite/gas/z80/ez80_adl_all.s: New file.
958 * testsuite/gas/z80/ez80_adl_suf.d: New file.
959 * testsuite/gas/z80/ez80_isuf.s: New file.
960 * testsuite/gas/z80/ez80_z80_all.d: New file.
961 * testsuite/gas/z80/ez80_z80_all.s: New file.
962 * testsuite/gas/z80/ez80_z80_suf.d: New file.
963 * testsuite/gas/z80/r800_extra.d: New file.
964 * testsuite/gas/z80/r800_extra.s: New file.
965 * testsuite/gas/z80/r800_ii8.d: New file.
966 * testsuite/gas/z80/r800_z80_doc.d: New file.
967 * testsuite/gas/z80/z180.d: New file.
968 * testsuite/gas/z80/z180.s: New file.
969 * testsuite/gas/z80/z180_z80_doc.d: New file.
970 * testsuite/gas/z80/z80_doc.d: New file.
971 * testsuite/gas/z80/z80_doc.s: New file.
972 * testsuite/gas/z80/z80_ii8.d: New file.
973 * testsuite/gas/z80/z80_ii8.s: New file.
974 * testsuite/gas/z80/z80_in_f_c.d: New file.
975 * testsuite/gas/z80/z80_in_f_c.s: New file.
976 * testsuite/gas/z80/z80_op_ii_ld.d: New file.
977 * testsuite/gas/z80/z80_op_ii_ld.s: New file.
978 * testsuite/gas/z80/z80_out_c_0.d: New file.
979 * testsuite/gas/z80/z80_out_c_0.s: New file.
980 * testsuite/gas/z80/z80_reloc.d: New file.
981 * testsuite/gas/z80/z80_reloc.s: New file.
982 * testsuite/gas/z80/z80_sli.d: New file.
983 * testsuite/gas/z80/z80_sli.s: New file.
985 2020-01-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
987 * config/tc-arm.c (parse_reg_list): Use REG_TYPE_RN instead of
990 2020-01-01 Alan Modra <amodra@gmail.com>
992 Update year range in copyright notice of all files.
994 For older changes see ChangeLog-2019
996 Copyright (C) 2020 Free Software Foundation, Inc.
998 Copying and distribution of this file, with or without modification,
999 are permitted in any medium without royalty provided the copyright
1000 notice and this notice are preserved.
1006 version-control: never