Fix Unreasonable arch and cpu conflict warning for ther CSky architecture.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index e107e990fa380c7393616108edce6a34805ef868..fdbba0e5bb9e55e6a6db2071e11c9289d6dfca87 100644 (file)
@@ -1,3 +1,338 @@
+2020-07-21  Cooper Qu  <cooper.qu@linux.alibaba.com>
+
+       * config/tc-csky.c (md_begin): Fix tests of arch and mach flags.
+
+2020-07-21  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/evex-no-scale-32.d,
+       testsuite/gas/i386/evex-no-scale-64.d: Add #source and #pass.
+       * testsuite/gas/i386/evex-no-scale-32.s,
+       testsuite/gas/i386/evex-no-scale-64.s: Rename / fold into ...
+       * testsuite/gas/i386/evex-no-scale.s: ... this. Use .struct
+       instead of .section.
+       * testsuite/gas/i386/i386.exp: Move above tests out of ELF-
+       specific section.
+
+2020-07-21  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * config/tc-mips.c (prev_reloc_op_frag): Remove variable.
+       (my_getSmallExpression): Adjust accordingly.
+
+2020-07-20  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/4572
+       * config/tc-i386.c (i386_comment_chars): Drop TE_I386AIX from
+       conditional around it.
+       (md_begin): Insert backslash into operand_chars[] when slash is
+       a comment character.
+       * config/tc-i386-intel.c (i386_operator): Recognize \/, \%, and
+       \* as operators when / may be a comment character.
+       * testsuite/gas/i386/svr4.s, testsuite/gas/i386/svr4.d: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+
+2020-07-20  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/4572
+       * app.c (last_char): Drop TC_ARM conditional around it.
+       (struct app_save): Drop TC_ARM conditional around last_char.
+       (app_push, app_pop): Drop TC_ARM conditional from last_char
+       accesses.
+       (do_scrub_chars): Likewise. Drop TC_ARM conditional from
+       backslash-precedes-comment-character check.
+
+2020-07-20  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (frag_opcode_byte): New.
+       (output_branch): Emit error when in absolute section.
+       (output_jump, output_insn): Use frag_opcode_byte. Handle being
+       in absolute section.
+       (output_interseg_jump, output_disp, output_imm): Handle being in
+       absolute section.
+       * testsuite/gas/i386/sizing.s,
+       testsuite/gas/i386/sizing32.d,
+       testsuite/gas/i386/sizing64.d: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2020-07-20  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/i386.exp: Include *-*-vxworks alongside
+       is_elf_format as applicable; merely exclude iamcu tests.
+
+2020-07-19  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26263
+       * config/tc-i386.c (i386_validate_fix): Change PLT32 reloc
+       against section to PC32 reloc.
+       * testsuite/gas/i386/relax-5.d: Updated.
+       * testsuite/gas/i386/x86-64-relax-4.d: Likewise.
+
+2020-07-15  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26237
+       * testsuite/gas/i386/evex-no-scale-64.d: Updated.
+       * testsuite/gas/i386/addr32.d: Likewise.
+       * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-addr32.d: Likewise.
+
+2020-07-15  Nick Clifton  <nickc@redhat.com>
+
+       * write.c (create_note_reloc): Add desc2_size parameter.  Zero out
+       the addend field of REL relocations.  Store the full addend into
+       the note for REL relocations.
+
+2020-07-15  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-stack.s: Adjust 32-bit push
+       immediate.
+       * testsuite/gas/i386/x86-64-stack-intel.d,
+       testsuite/gas/i386/x86-64-stack-suffix.d,
+       testsuite/gas/i386/x86-64-stack.d: Adjust expectations.
+
+2020-07-15  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/disassem.d,
+       testsuite/gas/i386/ilp32/x86-64-branch.d,
+       testsuite/gas/i386/intel.d, testsuite/gas/i386/jump16.d,
+       testsuite/gas/i386/lfence-load.d, testsuite/gas/i386/noreg16.d,
+       testsuite/gas/i386/noreg32.d,
+       testsuite/gas/i386/noreg64-rex64.d,
+       testsuite/gas/i386/noreg64.d, testsuite/gas/i386/notrack.d,
+       testsuite/gas/i386/opcode.d,
+       testsuite/gas/i386/solaris/x86-64-branch-2.d,
+       testsuite/gas/i386/solaris/x86-64-jump.d,
+       testsuite/gas/i386/solaris/x86-64-mpx-branch-1.d,
+       testsuite/gas/i386/solaris/x86-64-nop-3.d,
+       testsuite/gas/i386/solaris/x86-64-nop-4.d,
+       testsuite/gas/i386/solaris/x86-64-nop-5.d,
+       testsuite/gas/i386/solaris/x86-64-relax-2.d,
+       testsuite/gas/i386/solaris/x86-64-relax-3.d,
+       testsuite/gas/i386/x86-64-align-branch-1a.d,
+       testsuite/gas/i386/x86-64-align-branch-1b.d,
+       testsuite/gas/i386/x86-64-align-branch-1c.d,
+       testsuite/gas/i386/x86-64-align-branch-1d.d,
+       testsuite/gas/i386/x86-64-align-branch-1e.d,
+       testsuite/gas/i386/x86-64-align-branch-1f.d,
+       testsuite/gas/i386/x86-64-align-branch-1g.d,
+       testsuite/gas/i386/x86-64-align-branch-1h.d,
+       testsuite/gas/i386/x86-64-align-branch-1i.d,
+       testsuite/gas/i386/x86-64-align-branch-2a.d,
+       testsuite/gas/i386/x86-64-align-branch-2b.d,
+       testsuite/gas/i386/x86-64-align-branch-2c.d,
+       testsuite/gas/i386/x86-64-align-branch-3.d,
+       testsuite/gas/i386/x86-64-align-branch-4a.d,
+       testsuite/gas/i386/x86-64-align-branch-4b.d,
+       testsuite/gas/i386/x86-64-align-branch-5.d,
+       testsuite/gas/i386/x86-64-align-branch-6.d,
+       testsuite/gas/i386/x86-64-branch-2.d,
+       testsuite/gas/i386/x86-64-branch-3.d,
+       testsuite/gas/i386/x86-64-branch.d,
+       testsuite/gas/i386/x86-64-disassem.d,
+       testsuite/gas/i386/x86-64-disp32.d,
+       testsuite/gas/i386/x86-64-gotpcrel-no-relax.d,
+       testsuite/gas/i386/x86-64-gotpcrel.d,
+       testsuite/gas/i386/x86-64-ifunc.d,
+       testsuite/gas/i386/x86-64-jump.d,
+       testsuite/gas/i386/x86-64-lfence-byte.d,
+       testsuite/gas/i386/x86-64-lfence-indbr-a.d,
+       testsuite/gas/i386/x86-64-lfence-indbr-b.d,
+       testsuite/gas/i386/x86-64-lfence-indbr-c.d,
+       testsuite/gas/i386/x86-64-lfence-load.d,
+       testsuite/gas/i386/x86-64-lfence-ret-a.d,
+       testsuite/gas/i386/x86-64-lfence-ret-b.d,
+       testsuite/gas/i386/x86-64-lfence-ret-c.d,
+       testsuite/gas/i386/x86-64-lfence-ret-d.d,
+       testsuite/gas/i386/x86-64-lfence-ret-e.d,
+       testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d,
+       testsuite/gas/i386/x86-64-mpx-branch-1.d,
+       testsuite/gas/i386/x86-64-mpx.d,
+       testsuite/gas/i386/x86-64-nop-3.d,
+       testsuite/gas/i386/x86-64-nop-4.d,
+       testsuite/gas/i386/x86-64-nop-5.d,
+       testsuite/gas/i386/x86-64-nops-7.d,
+       testsuite/gas/i386/x86-64-notrack.d,
+       testsuite/gas/i386/x86-64-opcode.d,
+       testsuite/gas/i386/x86-64-relax-2.d,
+       testsuite/gas/i386/x86-64-relax-3.d,
+       testsuite/gas/i386/x86-64-relax-4.d,
+       testsuite/gas/i386/x86-64-rtm.d,
+       testsuite/gas/i386/x86-64-stack.d,
+       testsuite/gas/i386/x86-64-unique.d,
+       testsuite/gas/i386/x86_64-intel.d: Adjust expectations.
+
+2020-07-14  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/26237
+       * testsuite/gas/i386/addr32.s: Add tests for 32-bit wrapped around
+       address.
+       * testsuite/gas/i386/x86-64-addr32.s: Likewise.
+       * testsuite/gas/i386/addr32.d: Updated.
+       * testsuite/gas/i386/x86-64-addr32-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-addr32.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-addr32-intel.d: Likewise.
+       * testsuite/gas/i386/ilp32/x86-64-addr32.d: Likewise.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/intel.s: Use dr<N> instead of db<N>.
+       * testsuite/gas/i386/intel-intel.d: Disambiguate name.
+       * testsuite/gas/i386/intel.d,
+       testsuite/gas/i386/opcode-intel.d: Adjust expectations.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/prefix.d: Adjust expectations.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-avx-intel.d,
+       testsuite/gas/i386/x86-64-sse4_2-intel.d: Adjust expectations.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/movbe-suffix.d,
+       testsuite/gas/i386/x86-64-movbe-suffix.d: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/crc32-suffix.d,
+       testsuite/gas/i386/x86-64-crc32-suffix.d: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+       * testsuite/gas/i386/arch-10-bdver1.d,
+       testsuite/gas/i386/arch-10-bdver2.d,
+       testsuite/gas/i386/arch-10-bdver3.d,
+       testsuite/gas/i386/arch-10-bdver4.d,
+       testsuite/gas/i386/arch-10-btver1.d,
+       testsuite/gas/i386/arch-10-btver2.d,
+       testsuite/gas/i386/arch-10-lzcnt.d,
+       testsuite/gas/i386/arch-10-prefetchw.d,
+       testsuite/gas/i386/arch-10.d, testsuite/gas/i386/arch-2.d,
+       testsuite/gas/i386/arch-3.d, testsuite/gas/i386/arch-5.d,
+       testsuite/gas/i386/arch-6.d, testsuite/gas/i386/crc32.d,
+       testsuite/gas/i386/sse-noavx.d, testsuite/gas/i386/sse4_2.d,
+       testsuite/gas/i386/x86-64-arch-2-bdver1.d,
+       testsuite/gas/i386/x86-64-arch-2-bdver2.d,
+       testsuite/gas/i386/x86-64-arch-2-bdver3.d,
+       testsuite/gas/i386/x86-64-arch-2-bdver4.d,
+       testsuite/gas/i386/x86-64-arch-2-btver1.d,
+       testsuite/gas/i386/x86-64-arch-2-btver2.d,
+       testsuite/gas/i386/x86-64-arch-2-lzcnt.d,
+       testsuite/gas/i386/x86-64-arch-2-prefetchw.d,
+       testsuite/gas/i386/x86-64-arch-2.d,
+       testsuite/gas/i386/x86-64-crc32.d,
+       testsuite/gas/i386/x86-64-pseudos.d,
+       testsuite/gas/i386/x86-64-sse-noavx.d,
+       testsuite/gas/i386/x86-64-sse4_2.d: Adjust expectations.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
+       ModR/M-encoded byte register cases.
+       * testsuite/gas/i386/x86-64-pseudos.d,
+       testsuite/gas/i386/x86-64-reg-intel.d,
+       testsuite/gas/i386/x86-64-reg.d: Adjust expectations.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/x86-64-pseudos.s: Add empty-REX tests for
+       not-ModR/M-encoded byte register cases.
+       * testsuite/gas/i386/x86-64-pseudos.d: Adjust expectations.
+
+2020-07-14  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/ilp32/x86-64-arch-1.d,
+       testsuite/gas/i386/ilp32/x86-64-arch-2.d,
+       testsuite/gas/i386/ilp32/x86-64-avx-intel.d,
+       testsuite/gas/i386/ilp32/x86-64-avx.d,
+       testsuite/gas/i386/ilp32/x86-64-crc32-intel.d,
+       testsuite/gas/i386/ilp32/x86-64-crc32.d,
+       testsuite/gas/i386/ilp32/x86-64-gotpcrel.d,
+       testsuite/gas/i386/ilp32/x86-64-ifunc.d,
+       testsuite/gas/i386/ilp32/x86-64-reg-intel.d,
+       testsuite/gas/i386/ilp32/x86-64-reg.d,
+       testsuite/gas/i386/ilp32/x86-64-rep-suffix.d,
+       testsuite/gas/i386/ilp32/x86-64-sse4_2-intel.d,
+       testsuite/gas/i386/ilp32/x86-64-sse4_2.d,
+       testsuite/gas/i386/ilp32/x86-64-stack-intel.d,
+       testsuite/gas/i386/ilp32/x86-64-stack-suffix.d,
+       testsuite/gas/i386/ilp32/x86-64-stack.d: Reference parent dir
+       dump expectations.
+
+2020-07-13  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (offset_in_range): Remove 32-bit sign
+       extension.
+
+2020-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * po/fr.po: Updated French translation.
+
+2020-07-13  Alan Modra  <amodra@gmail.com>
+
+       * testsuite/gas/elf/dwarf2-7.d: Remove most xfails.
+       * testsuite/gas/elf/dwarf2-12.d: Likewise.
+       * testsuite/gas/elf/dwarf2-13.d: Likewise.
+       * testsuite/gas/elf/dwarf2-14.d: Likewise.
+
+2020-07-11  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (output_insn): Check i.xstate to set
+       GNU_PROPERTY_X86_FEATURE_2_TMM.
+       * testsuite/gas/i386/i386.exp: Run x86-64-property-7,
+       x86-64-property-8 and x86-64-property-9.
+       * testsuite/gas/i386/x86-64-property-7.d: New file.
+       * testsuite/gas/i386/x86-64-property-7.s: Likewise.
+       * testsuite/gas/i386/x86-64-property-8.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-8.s: Likewise.
+       * testsuite/gas/i386/x86-64-property-9.d: Likewise.
+       * testsuite/gas/i386/x86-64-property-9.s: Likewise.
+
+2020-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (_i386_insn): Remove has_regmmx, has_regxmm,
+       has_regymm, has_regzmm and has_regtmm.  Add xstate.
+       (md_assemble): Set i.xstate from operand types in instruction
+       template.
+       (build_modrm_byte): Updated.
+       (output_insn): Check i.xstate.
+       * testsuite/gas/i386/i386.exp: Run property-6 and
+       x86-64-property-6.
+       * testsuite/gas/i386/property-6.d: New file.
+       * testsuite/gas/i386/property-6.s: Updated.
+       * testsuite/gas/i386/x86-64-property-6.d: Likewise.
+
+2020-07-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/property-5.d: Correct test name.
+
+2020-07-10  Lili Cui  <lili.cui@intel.com>
+
+       * NEWS: Mention support for Intel AMX instructions.
+       * config/tc-i386.c (i386_error): Add invalid_sib_address.
+       (cpu_arch): Add .amx_int8, .amx_bf16 and .amx_tile.
+       (cpu_noarch): Add noamx_int8, noamx_bf16 and noamx_tile.
+       (match_simd_size): Add tmmword check.
+       (operand_type_match): Add tmmword.
+       (type_names): Add rTMM.
+       (i386_error): Add invalid_tmm_register_set.
+       (check_VecOperands): Handle invalid_sib_address and
+       invalid_tmm_register_set.
+       (match_template): Handle invalid_sib_address.
+       (build_modrm_byte): Handle non-vector SIB and zmmword.
+       (i386_index_check): Disallow RegIP for non-vector SIB.
+       (check_register): Handle zmmword.
+       * doc/c-i386.texi: Document amx_int8, amx_bf16 and amx_tile.
+       * testsuite/gas/i386/i386.exp: Add AMX new tests.
+       * testsuite/gas/i386/intel-regs.d: Add tmm.
+       * testsuite/gas/i386/intel-regs.s: Add tmm.
+       * testsuite/gas/i386/x86-64-amx-intel.d: New.
+       * testsuite/gas/i386/x86-64-amx-inval.l: New.
+       * testsuite/gas/i386/x86-64-amx-inval.s: New.
+       * testsuite/gas/i386/x86-64-amx.d: New.
+       * testsuite/gas/i386/x86-64-amx.s: New.
+       * testsuite/gas/i386/x86-64-amx-bad.d: New.
+       * testsuite/gas/i386/x86-64-amx-bad.s: New.
+
 2020-07-10  Tom de Vries  <tdevries@suse.de>
 
        * testsuite/gas/elf/dwarf2-11.d: Update expected output from
This page took 0.026078 seconds and 4 git commands to generate.