x86: Don't disable SSE4a when disabling SSE4
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 91097845d467c6b8209bf7f38b2e84533924ff76..a148526c5ca5ff31b6bd1f6d7b8c86e11f009a19 100644 (file)
@@ -1,3 +1,462 @@
+2020-02-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_arch): Add .sse4a and nosse4a.  Restore
+       nosse4.
+       * doc/c-i386.texi: Document sse4a and nosse4a.
+
+2020-02-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * doc/c-i386.texi: Remove the old movsx and movzx documentation
+       for AT&T syntax.
+
+2020-02-14  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/25438
+       * config/tc-i386.c (md_assemble): Move movsx/movzx special
+       casing ...
+       (process_suffix): ... here. Consider just the first operand
+       initially.
+       (check_long_reg): Drop opcode 0x63 special case again.
+       * testsuite/gas/i386/i386.s, testsuite/gas/i386/iamcu-1.s,
+       testsuite/gas/i386/ilp32/x86-64.s, testsuite/gas/i386/x86_64.s:
+       Move ambiguous operand size tests ...
+       * testsuite/gas/i386/noreg16.s, testsuite/gas/i386/noreg32.s,
+       testsuite/gas/i386/noreg64.s: ... here.
+       * testsuite/gas/i386/i386.d, testsuite/gas/i386/i386-intel.d
+       testsuite/gas/i386/iamcu-1.d, testsuite/gas/i386/ilp32/x86-64.d,
+       testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
+       testsuite/gas/i386/movx16.l, testsuite/gas/i386/movx32.l,
+       testsuite/gas/i386/movx64.l, testsuite/gas/i386/noreg16.d,
+       testsuite/gas/i386/noreg32.d, testsuite/gas/i386/noreg64.d,
+       testsuite/gas/i386/x86-64-movsxd.d,
+       testsuite/gas/i386/x86-64-movsxd-intel.d,
+       testsuite/gas/i386/x86_64.d, testsuite/gas/i386/x86_64-intel.d:
+       Adjust expectations.    
+       * testsuite/gas/i386/movx16.s, testsuite/gas/i386/movx16.l,
+       testsuite/gas/i386/movx32.s, testsuite/gas/i386/movx32.l,
+       testsuite/gas/i386/movx64.s, testsuite/gas/i386/movx64.l: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2020-02-14  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (process_operands): Also skip segment
+       override prefix emission if it matches an already present one.
+       * testsuite/gas/i386/prefix32.s: Add double segment override
+       cases.
+       * testsuite/gas/i386/prefix32.l: Adjust expectations.
+
+2020-02-14  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (process_operands): Drop ineffectual segment
+       overrides when optimizing.
+       * testsuite/gas/i386/lea-optimize.d: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+
+2020-02-14  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (process_operands): Also check insn prefix
+       for ineffectual segment override warning. Don't cover possible
+       VEX/EVEX encoded insns there.
+       * testsuite/gas/i386/lea.s, testsuite/gas/i386/lea.d,
+       testsuite/gas/i386/lea.e: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+
+2020-02-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25438
+       * doc/c-i386.texi: Document movsx, movsxd and movzx for AT&T
+       syntax.
+
+2020-02-13  Fangrui Song   <maskray@google.com>
+           H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25551
+       * config/tc-i386.c (tc_i386_fix_adjustable): Don't check
+       BFD_RELOC_386_PLT32 nor BFD_RELOC_X86_64_PLT32.
+       * testsuite/gas/i386/i386.exp: Run relax-5 and x86-64-relax-4.
+       * testsuite/gas/i386/relax-5.d: New file.
+       * testsuite/gas/i386/relax-5.s: Likewise.
+       * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
+       * testsuite/gas/i386/x86-64-relax-4.s: Likewise.
+
+2020-02-13  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (cpu_noarch): Use CPU_ANY_SSE4_FLAGS in
+       "nosse4" entry.
+
+2020-02-12  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (avx512): New (at file scope), moved from
+       (check_VecOperands): ... here.
+       (process_suffix): Add [XYZ]MMword operand size handling.
+       * testsuite/gas/i386/avx512dq-inval.s: Add VFPCLASS tests.
+       * testsuite/gas/i386/noavx512-2.s: Add Intel syntax VFPCLASS
+       tests.
+       * testsuite/gas/i386/avx512dq-inval.l,
+       testsuite/gas/i386/noavx512-2.l: Adjust expectations.
+
+2020-02-12  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/24546
+       * config/tc-i386.c (match_template): Apply AMD64 check to 64-bit
+       code only.
+       * config/tc-i386-intel.c (i386_intel_operand): Also handle
+       CALL/JMP in O_tbyte_ptr case.
+       * doc/c-i386.texi: Mention far call and full pointer load ISA
+       differences.
+       * testsuite/gas/i386/x86-64-branch-3.s,
+       testsuite/gas/i386/x86-64-intel64.s: Add 64-bit far call cases.
+       * testsuite/gas/i386/x86-64-branch-3.d,
+       testsuite/gas/i386/x86-64-intel64.d: Adjust expectations.
+       * testsuite/gas/i386/x86-64-branch-5.l,
+       testsuite/gas/i386/x86-64-branch-5.s: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+
+2020-02-12  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/25438
+       * config/tc-i386.c (REGISTER_WARNINGS): Delete.
+       (check_byte_reg): Skip only source operand of CRC32. Drop Non-
+       64-bit-only warning.
+       (check_word_reg): Consistently error on mismatching register
+       size and suffix.
+       * testsuite/gas/i386/general.s: Replace dword GPR with word one
+       for movw. Replace suffix / GPR for orb.
+       * testsuite/gas/i386/inval.s: Add tests for movw with dword and
+       byte GPRs as well as ones for inb/outb with a word accumulator.
+       * testsuite/gas/i386/general.l, testsuite/gas/i386/intelbad.l,
+       testsuite/gas/i386/inval.l: Adjust expectations.
+
+2020-02-12  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (operand_type_register_match): Also fall
+       through initial two if()-s when the template allows for a GPR
+       operand. Adjust comment.
+
+2020-02-11  Jan Beulich  <jbeulich@suse.com>
+
+       (struct _i386_insn): New field "short_form".
+       (optimize_encoding): Drop setting of shortform field.
+       (process_suffix): Set i.short_form. Replace shortform use.
+       (process_operands): Replace shortform use.
+
+2020-02-11  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * config/tc-arm.c (vcx_handle_register_arguments): Remove `for`
+       loop initial declaration.
+
+2020-02-10  Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * config/tc-arm.c (NEON_MAX_TYPE_ELS): Increment to account for
+       instructions that can have 5 arguments.
+       (enum operand_parse_code): Add new operands.
+       (parse_operands): Account for new operands.
+       (S5): New macro.
+       (enum neon_shape_el): Introduce P suffixes for coprocessor.
+       (neon_select_shape): Account for P suffix.
+       (LOW1): Move macro to global position.
+       (HI4): Move macro to global position.
+       (vcx_assign_vec_d): New.
+       (vcx_assign_vec_m): New.
+       (vcx_assign_vec_n): New.
+       (enum vcx_reg_type): New.
+       (vcx_get_reg_type): New.
+       (vcx_size_pos): New.
+       (vcx_vec_pos): New.
+       (vcx_handle_shape): New.
+       (vcx_ensure_register_in_range): New.
+       (vcx_handle_register_arguments): New.
+       (vcx_handle_insn_block): New.
+       (vcx_handle_common_checks): New.
+       (do_vcx1): New.
+       (do_vcx2): New.
+       (do_vcx3): New.
+       * testsuite/gas/arm/cde-missing-fp.d: New test.
+       * testsuite/gas/arm/cde-missing-fp.l: New test.
+       * testsuite/gas/arm/cde-missing-mve.d: New test.
+       * testsuite/gas/arm/cde-missing-mve.l: New test.
+       * testsuite/gas/arm/cde-mve-or-neon.d: New test.
+       * testsuite/gas/arm/cde-mve-or-neon.s: New test.
+       * testsuite/gas/arm/cde-mve.s: New test.
+       * testsuite/gas/arm/cde-warnings.l:
+       * testsuite/gas/arm/cde-warnings.s:
+       * testsuite/gas/arm/cde.d:
+       * testsuite/gas/arm/cde.s:
+
+2020-02-10  Stam Markianos-Wright  <stam.markianos-wright@arm.com>
+           Matthew Malcomson  <matthew.malcomson@arm.com>
+
+       * config/tc-arm.c (arm_ext_cde*): New feature sets for each
+       CDE coprocessor that can be enabled.
+       (enum pred_instruction_type): New pred type.
+       (BAD_NO_VPT): New error message.
+       (BAD_CDE): New error message.
+       (BAD_CDE_COPROC): New error message.
+       (enum operand_parse_code): Add new immediate operands.
+       (parse_operands): Account for new immediate operands.
+       (check_cde_operand): New.
+       (cde_coproc_enabled): New.
+       (cde_coproc_pos): New.
+       (cde_handle_coproc): New.
+       (cxn_handle_predication): New.
+       (do_custom_instruction_1): New.
+       (do_custom_instruction_2): New.
+       (do_custom_instruction_3): New.
+       (do_cx1): New.
+       (do_cx1a): New.
+       (do_cx1d): New.
+       (do_cx1da): New.
+       (do_cx2): New.
+       (do_cx2a): New.
+       (do_cx2d): New.
+       (do_cx2da): New.
+       (do_cx3): New.
+       (do_cx3a): New.
+       (do_cx3d): New.
+       (do_cx3da): New.
+       (handle_pred_state): Define new IT block behaviour.
+       (insns): Add newn CX*{,d}{,a} instructions.
+       (CDE_EXTENSIONS,armv8m_main_ext_table,armv8_1m_main_ext_table):
+       Define new cdecp extension strings.
+       * doc/c-arm.texi: Document new cdecp extension arguments.
+       * testsuite/gas/arm/cde-scalar.d: New test.
+       * testsuite/gas/arm/cde-scalar.s: New test.
+       * testsuite/gas/arm/cde-warnings.d: New test.
+       * testsuite/gas/arm/cde-warnings.l: New test.
+       * testsuite/gas/arm/cde-warnings.s: New test.
+       * testsuite/gas/arm/cde.d: New test.
+       * testsuite/gas/arm/cde.s: New test.
+
+2020-02-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25516
+       * config/tc-i386.c (intel64): Renamed to ...
+       (isa64): This.
+       (match_template): Accept Intel64 only instruction by default.
+       (i386_displacement): Updated.
+       (md_parse_option): Updated.
+       * c-i386.texi: Update -mamd64/-mintel64 documentation.
+       * testsuite/gas/i386/i386.exp: Run x86-64-sysenter.  Pass
+       -mamd64 to x86-64-sysenter-amd.
+       * testsuite/gas/i386/x86-64-sysenter.d: New file.
+
+2020-02-10  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_change_section): Error for section
+       type, attr or entsize changes in assembly.
+       * testsuite/gas/elf/elf.exp: Pass -Z to gas for section5 test.
+       * testsuite/gas/elf/section5.l: Update.
+
+2020-02-10  Alan Modra  <amodra@gmail.com>
+
+       * output-file.c (output_file_close): Do a normal close when
+       flag_always_generate_output.
+       * write.c (write_object_file): Don't stop output when
+       flag_always_generate_output.
+
+2020-02-07  Sergey Belyashov  <sergey.belyashov@gmail.com>
+
+       PR 25469
+       * config/tc-z80.c: Add -gbz80 command line option to generate code
+       for the GameBoy Z80.  Add support for generating DWARF.
+       * config/tc-z80.h: Add support for DWARF debug information
+       generation.
+       * doc/c-z80.texi: Document new command line option.
+       * testsuite/gas/z80/gbz80_all.d: New file.
+       * testsuite/gas/z80/gbz80_all.s: New file.
+       * testsuite/gas/z80/z80.exp: Run the new tests.
+       * testsuite/gas/z80/z80n_all.d: New file.
+       * testsuite/gas/z80/z80n_all.s: New file.
+       * testsuite/gas/z80/z80n_reloc.d: New file.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25381
+       * config/obj-elf.c (get_section): Also check
+       linked_to_symbol_name.
+       (obj_elf_change_section): Also set map_head.linked_to_symbol_name.
+       (obj_elf_parse_section_letters): Handle the 'o' flag.
+       (build_group_lists): Renamed to ...
+       (build_additional_section_info): This.  Set elf_linked_to_section
+       from map_head.linked_to_symbol_name.
+       (elf_adjust_symtab): Updated.
+       * config/obj-elf.h (elf_section_match): Add linked_to_symbol_name.
+       * doc/as.texi: Document the 'o' flag.
+       * testsuite/gas/elf/elf.exp: Run PR gas/25381 tests.
+       * testsuite/gas/elf/section18.d: New file.
+       * testsuite/gas/elf/section18.s: Likewise.
+       * testsuite/gas/elf/section19.d: Likewise.
+       * testsuite/gas/elf/section19.s: Likewise.
+       * testsuite/gas/elf/section20.d: Likewise.
+       * testsuite/gas/elf/section20.s: Likewise.
+       * testsuite/gas/elf/section21.d: Likewise.
+       * testsuite/gas/elf/section21.l: Likewise.
+       * testsuite/gas/elf/section21.s: Likewise.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * NEWS: Mention x86 assembler options to align branches for
+       binutils 2.34.
+
+2020-02-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique
+       only for ELF targets.
+       * testsuite/gas/i386/unique.d: Don't xfail.
+       * testsuite/gas/i386/x86-64-unique.d: Likewise.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/i386/unique.d: xfail for non-elf targets.
+       * testsuite/gas/i386/x86-64-unique.d: Likewise.
+
+2020-02-06  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
+       xfail, and rename test.
+       * testsuite/gas/elf/section12b.d: Likewise.
+       * testsuite/gas/elf/section16a.d: Likewise.
+       * testsuite/gas/elf/section16b.d: Likewise.
+
+2020-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/25380
+       * config/obj-elf.c (section_match): Removed.
+       (get_section): Also match SEC_ASSEMBLER_SECTION_ID and
+       section_id.
+       (obj_elf_change_section): Replace info and group_name arguments
+       with match_p.  Also update the section ID and flags from match_p.
+       (obj_elf_section): Handle "unique,N".  Update call to
+       obj_elf_change_section.
+       * config/obj-elf.h (elf_section_match): New.
+       (obj_elf_change_section): Updated.
+       * config/tc-arm.c (start_unwind_section): Update call to
+       obj_elf_change_section.
+       * config/tc-ia64.c (obj_elf_vms_common): Likewise.
+       * config/tc-microblaze.c (microblaze_s_data): Likewise.
+       (microblaze_s_sdata): Likewise.
+       (microblaze_s_rdata): Likewise.
+       (microblaze_s_bss): Likewise.
+       * config/tc-mips.c (s_change_section): Likewise.
+       * config/tc-msp430.c (msp430_profiler): Likewise.
+       * config/tc-rx.c (parse_rx_section): Likewise.
+       * config/tc-tic6x.c (tic6x_start_unwind_section): Likewise.
+       * doc/as.texi: Document "unique,N" in .section directive.
+       * testsuite/gas/elf/elf.exp: Run "unique,N" tests.
+       * testsuite/gas/elf/section15.d: New file.
+       * testsuite/gas/elf/section15.s: Likewise.
+       * testsuite/gas/elf/section16.s: Likewise.
+       * testsuite/gas/elf/section16a.d: Likewise.
+       * testsuite/gas/elf/section16b.d: Likewise.
+       * testsuite/gas/elf/section17.d: Likewise.
+       * testsuite/gas/elf/section17.l: Likewise.
+       * testsuite/gas/elf/section17.s: Likewise.
+       * testsuite/gas/i386/unique.d: Likewise.
+       * testsuite/gas/i386/unique.s: Likewise.
+       * testsuite/gas/i386/x86-64-unique.d: Likewise.
+       * testsuite/gas/i386/i386.exp: Run unique and x86-64-unique.
+
+2020-02-02  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/elf/section13.s: Replace @nobits with %nobits.
+
+2020-02-01  Anthony Green  <green@moxielogic.com>
+
+       * config/tc-moxie.c (md_begin): Don't force big-endian mode.
+
+2020-01-31  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * config/tc-nios2.c (nios2_cons): Handle %gotoff as well as
+       %tls_ldo.
+
+2020-01-31  Andre Vieira  <andre.simoesdiasvieira@arm.com>
+
+       PR gas/25472
+       * config/tc-arm.c (armv8m_main_ext_table): Refactored +dsp adding.
+       (armv8_1m_main_ext_table): Refactored +dsp adding and enabled dsp for
+       +mve.
+       * testsuite/gas/arm/mve_dsp.d: New test.
+
+2020-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-s390.c (s390_elf_suffix): Return ELF_SUFFIX_NONE
+       rather than BFD_RELOC_NONE.
+
+2020-01-31  Srinath Parvathaneni  <srinath.parvathaneni@arm.com>
+
+       * config/tc-arm.c (fldmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2"
+       to support VLDMIA instruction for MVE.
+       (fldmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VLDMDB
+       instruction for MVE.
+       (fstmias): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMIA
+       instruction for MVE.
+       (fstmdbs): Moved inside "THUMB_VARIANT & arm_ext_v6t2" to support VSTMDB
+       instruction for MVE.
+       * testsuite/gas/arm/mve-ldst.d: New test.
+       * testsuite/gas/arm/mve-ldst.s: Likewise.
+
+2020-01-31  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+       * po/ru.po: Updated Russian translation.
+
+2020-01-31  Richard Sandiford  <richard.sandiford@arm.com>
+
+       * testsuite/gas/aarch64/sve-bfloat-movprfx.s: Use .h rather than
+       .s for the movprfx.
+       * testsuite/gas/aarch64/sve-bfloat-movprfx.d: Update accordingly.
+       * testsuite/gas/aarch64/sve-movprfx_28.d,
+       * testsuite/gas/aarch64/sve-movprfx_28.l,
+       * testsuite/gas/aarch64/sve-movprfx_28.s: New test.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (output_disp): Tighten base_opcode check.
+       * testsuite/gas/i386/got.s: Add LSL, MOVLPS, and BNDCN cases.
+       * testsuite/gas/i386/got-no-relax.d, testsuite/gas/i386/got.d:
+       Adjust expectations.
+
+2020-01-30  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * testsuite/gas/bpf/alu.d: Update expected opcode for `neg'.
+       * testsuite/gas/bpf/alu-be.d: Likewise.
+       * testsuite/gas/bpf/alu32.d: Likewise for `neg32'.
+       * testsuite/gas/bpf/alu32-be.d: Likewise.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-branch-2.s,
+       testsuite/gas/i386/x86-64-branch-4.s,
+       testsuite/gas/i386/x86-64-branch.s: Add RETW cases.
+       * testsuite/gas/i386/ilp32/x86-64-branch.d,
+       testsuite/gas/i386/x86-64-branch-2.d,
+       testsuite/gas/i386/x86-64-branch-4.l,
+       testsuite/gas/i386/x86-64-branch.d: Adjust expectations.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (process_suffix): .
+       testsuite/gas/i386/noreg64.s: Add IRET and LRET cases.
+       testsuite/gas/i386/x86-64-opcode.s: Add suffix to IRET and LRET.
+       Add LRETQ case.
+       testsuite/gas/i386/x86-64-suffix.s: Drop IRET case without
+       suffix.
+       testsuite/gas/i386/x86_64.s: Add RETF cases.
+       * testsuite/gas/i386/k1om.d, testsuite/gas/i386/l1om.d,
+       testsuite/gas/i386/noreg64.d, testsuite/gas/i386/noreg64.l,
+       testsuite/gas/i386/x86-64-opcode.d,
+       testsuite/gas/i386/x86-64-suffix-intel.d,
+       testsuite/gas/i386/x86-64-suffix.d,
+       testsuite/gas/i386/x86_64-intel.d
+       testsuite/gas/i386/x86_64.d: Adjust expectations.
+       * testsuite/gas/i386/x86-64-suffix.e,
+       testsuite/gas/i386/x86_64.e: New.
+
+2020-01-30  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (process_suffix): Redo and move FLDENV et al
+       special case.
+
 2020-01-27  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR binutils/25445
This page took 0.027273 seconds and 4 git commands to generate.