]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/ChangeLog
x86: drop "mem" operand type attribute
[thirdparty/binutils-gdb.git] / gas / ChangeLog
index 1e6819faf396814ea4bde1096134df478134da27..54928d82e0b329a0db128ee8c0cb93780fc2d5f7 100644 (file)
@@ -1,3 +1,414 @@
+2018-08-03  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (Operand_Mem): Define.
+       (operand_size_match): Use it.
+       (check_VecOperands): Likewise.
+       (i386_att_operand): Likewise.
+       (swap_2_operands): Also swap flags fields.
+       * config/tc-i386-intel.c (i386_intel_operand): Likewise.
+
+2018-08-01  James Patrick Conlon <cptjustice@gmail.com>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 14480
+       * config/tc-pdp11.c (parse_op_noreg): Check for and handle auto
+       increment deferred.
+       * testsuite/gas/pdp11/pr14480.d: New test driver file.
+       * testsuite/gas/pdp11/pr14480.s: New test source file file.
+       * testsuite/gas/pdp11/pdp11.exp: Run the new test.
+
+2018-08-01  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-ns32k.c (addr_mode): Replace "Drop through" comment
+       with "Fall through" so that it will be recognised by gcc's switch
+       statment error checker.
+
+2018-08-01  Alan Modra  <amodra@gmail.com>
+
+       * po/POTFILES.in: Regenerate.
+
+2018-07-31  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (optimize_encoding): Also handle kandnd,
+       kandnq, kxord, and kxorq.
+       * testsuite/gas/i386/optimize-1.s: Add kandn and kxor tests.
+       * testsuite/gas/i386/optimize-1.d,
+       testsuite/gas/i386/optimize-4.d,
+       testsuite/gas/i386/optimize-5.d: Adjust expectations.
+
+2018-07-31  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (check_VecOperands): Convert masking handling
+       to switch(), to deal with DYNAMIC_MASKING.
+
+2018-07-31  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/inval-avx512f.s: Add invalid zeroing-
+       masking tests.
+       * testsuite/gas/i386/inval-avx512f.l: Adjust expectations.
+
+2018-07-31  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/sg.s, testsuite/gas/i386/sg.l: New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+       * testsuite/gas/i386/avx512f.s, testsuite/gas/i386/avx512f_vl.s,
+       testsuite/gas/i386/avx512pf.s,
+       testsuite/gas/i386/x86-64-avx512f.s,
+       testsuite/gas/i386/x86-64-avx512f_vl.s,
+       testsuite/gas/i386/x86-64-avx512pf.s: Drop unnessecary operand
+       size specifiers from scatter/gather insns in Intel mode.
+
+2018-07-31  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (is_any_vex_encoding): New.
+       (process_immext, process_suffix): Use it.
+       (md_assemble): Likewise. Reject DATA_PREFIX with VEX/XOP/EVEX
+       insn.
+       * testsuite/gas/i386/prefix32.s, testsuite/gas/i386/prefix32.l,
+       testsuite/gas/i386/prefix64.s, testsuite/gas/i386/prefix64.l
+        New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2018-07-31  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (parse_real_register): Use cpuavx512f instead
+       of cpuvrex.
+
+2018-07-30  Jan Beulich  <jbeulich@suse.com>
+
+       PR gas/23465
+       * config/tc-i386.c (output_disp): Restrict scaling.
+       * testsuite/gas/i386/evex-no-scale.s,
+         testsuite/gas/i386/evex-no-scale-32.d
+         testsuite/gas/i386/evex-no-scale-64.d: New.
+       * testsuite/gas/i386/i386.exp: Run new tests.
+
+2018-07-30  Andrew Jenner  <andrew@codesourcery.com>
+
+       * Makefile.am (TARGET_CPU_CFILES): Add entry for C-SKY.
+       (TARGET_CPU_HFILES, TARGET_ENV_HFILES): Likewise.
+       * Makefile.in: Regenerated.
+       * config/tc-csky.c: New file.
+       * config/tc-csky.h: New file.
+       * config/te-csky_abiv1.h: New file.
+       * config/te-csky_abiv1_linux.h: New file.
+       * config/te-csky_abiv2.h: New file.
+       * config/te-csky_abiv2_linux.h: New file.
+       * configure.tgt: Add C-SKY.
+       * doc/Makefile.am (CPU_DOCS): Add entry for C-SKY.
+       * doc/Makefile.in: Regenerated.
+       * doc/all.texi: Set CSKY feature.
+       * doc/as.texi (Overview): Add C-SKY options.
+       (Machine Dependencies): Likewise.
+       * doc/c-csky.texi: New file.
+       * testsuite/gas/csky/*: New test cases.
+       * NEWS: Mention the support.
+
+2018-07-29  John David Anglin  <danglin@gcc.gnu.org>
+
+       * config/tc-hppa.c: Include "struc-symbol.h".
+       (pa_build_unwind_subspace): Use call_info->start_symbol->sy_frag
+       instead of frag_now for local symbol replacement.
+
+2018-07-27  Jim Wilson  <jimw@sifive.com>
+
+       * configure.tgt (riscv*): Accept as alias for riscv32*.
+
+2018-07-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/23453
+       * config/tc-i386.c (parse_operands): Check for more than 2
+       memory references.
+       * testsuite/gas/i386/inval.s: Add a movsd test with 3 memory
+       references.
+       * testsuite/gas/i386/x86-64-inval.s: Likewise.
+       * testsuite/gas/i386/inval.l: Updated.
+       * testsuite/gas/i386/x86-64-inval.l: Likewise.
+
+2018-07-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (check_VecOperations): Initialize
+       broadcast_op.bytes to 0.
+
+2018-07-26  Alex Chadwick  <Alex.Chadwick@cl.cam.ac.uk>
+
+       * config/tc-ppc.c (md_show_usage): Add -mgekko and -mbroadway.
+       * doc/as.texi (Target PowerPC options): Add -mgekko and -mbroadway.
+       * doc/c-ppc.texi (PowerPC-Opts): Likewise.
+       * testsuite/gas/ppc/broadway.d,
+       * testsuite/gas/ppc/broadway.s: New test for broadway.
+       * testsuite/gas/ppc/ppc.exp: Run new test.
+
+2018-07-26  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (ppc_elf_localentry): Allow .localentry values
+       of 1 and 7 to directly set value into STO_PPC64_LOCAL_MASK bits.
+
+2018-07-25  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (Broadcast_Operation): Add bytes.
+       (build_evex_prefix): Use i.broadcast->bytes.
+       (match_broadcast_size): New function.
+       (check_VecOperands): Use the broadcast field to compute the
+       number of bytes to broadcast directly.  Set i.broadcast->bytes.
+       Use match_broadcast_size.
+
+2018-07-25  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
+
+       * doc/c-arm.texi (.arch directive): Clarify that name must not include
+       an extension.
+       (.cpu directive): Likewise.
+
+2018-07-24  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_vex_prefix): Use unsigned int to
+       iterate through multi-length vector operands.
+       (build_evex_prefix): Likewise.
+
+2018-07-24  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (check_VecOperands): Handle EVEXLIG when
+       deriving i.memshift.
+       * testsuite/gas/i386/cvtsi2sX.s, testsuite/gas/i386/cvtsi2sX.l:
+       New.
+       * testsuite/gas/i386/i386.exp: Run new test.
+       * testsuite/gas/i386/avx512f.d,
+       testsuite/gas/i386/evex-lig256.d,
+       testsuite/gas/i386/evex-lig512.d,,
+       testsuite/gas/i386/x86-64-avx512f.d,
+       testsuite/gas/i386/x86-64-evex-lig256.d,
+       testsuite/gas/i386/x86-64-evex-lig512.d: Adjust expectations.
+
+2018-07-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/inval-avx512f.s: Add a test for missing
+       broadcast.
+       * testsuite/gas/i386/x86-64-inval-avx512f.s: Likewise.
+       * testsuite/gas/i386/inval-avx512f.l: Updated.
+       * testsuite/gas/i386/x86-64-inval-avx512f.l: Likewise.
+
+2018-07-23  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (i386_error): Remove
+       broadcast_not_on_src_operand.
+       (match_template): Likewse.
+
+2018-07-23  Claudiu Zissulescu <claziss@synopsys.com>
+
+       * testsuite/gas/arc/st.d: Fix test.
+
+2018-07-23  Claudiu Zissulescu <claziss@synopsys.com>
+
+       * config/tc-arc.c (tokenize_extinsn): Convert to lower case the
+       name of extension instructions.
+       * testsuite/gas/arc/textinsn_case.d: New file.
+       * testsuite/gas/arc/textinsn_case.s: Likewise.
+
+2018-07-22  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (build_vex_prefix): Determine vector
+       length from the last multi-length vector operand.
+       (build_evex_prefix): Likewise.
+
+2018-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_simd_size): Break long line.
+       (match_mem_size): Likewise.
+
+2018-07-20  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_reg_size): Renamed to ...
+       (match_operand_size): This.  Update comments.
+       (match_simd_size): Update comments.  Replace match_reg_size
+       with match_operand_size.
+       (match_mem_size): Likewise.
+       (operand_size_match): Replace match_reg_size with
+       match_operand_size.
+
+2018-07-20  Chenghua Xu  <paul.hua.gm@gmail.com>
+           Maciej W. Rozycki  <macro@mips.com>
+
+       * NEWS: Mention MultiMedia extensions Instructions (MMI)
+       support.
+       * config/tc-mips.c (options): Add OPTION_LOONGSON_MMI and
+       OPTION_NO_LOONGSON_MMI.
+       (md_longopts): Likewise.
+       (mips_ases): Define availability for MMI.
+       (mips_convert_ase_flags): Map ASE_LOONGSON_MMI to
+       AFL_ASE_LOONGSON_MMI.
+       (mips_cpu_info_table): Add ASE_LOONGSON_MMI for loongson2f/3a.
+       (md_show_usage): Add help for -mloongson-mmi and
+       -mno-loongson-mmi.
+       * doc/as.texi: Document -mloongson-mmi, -mno-loongson-mmi.
+       * doc/c-mips.texi: Document -mloongson-mmi, -mno-loongson-mmi,
+       .set loongson-mmi and .set noloongson-mmi.
+       * testsuite/gas/mips/loongson-2f.d: Move mmi test to ...
+       * testsuite/gas/mips/loongson-2f-mmi.d: Here.  Add ISA/ASE
+       flag verification.
+       * testsuite/gas/mips/loongson-2f.s: Move mmi test to ...
+       * testsuite/gas/mips/loongson-2f-mmi.s: Here.
+       * testsuite/gas/mips/loongson-3a.d: Move mmi test to ...
+       * testsuite/gas/mips/loongson-3a-mmi.d: Here.  Add ISA/ASE
+       flag verification.
+       * testsuite/gas/mips/loongson-3a.s: Move mmi test to ...
+       * testsuite/gas/mips/loongson-3a-mmi.s: Here.
+       * testsuite/gas/mips/mips.exp: Run loongson-2f-mmi and
+       loongson-3a-mmi tests.
+
+2018-07-20  Jose E. Marchesi  <jose.marchesi@oracle.com>
+           Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * testsuite/gas/sparc/sparc.exp (set_tests_arch): New proc.
+       Prefix v9c, v9d, v9v, v9m, v9m8 tests with corresponding
+       set_tests_arch.
+
+2018-07-19  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (build_evex_prefix): Derive vector length
+       from broadcast specification if necessary.
+       (match_template): Also exclude broadcast when checking whether
+       to reject 32-bit operands on pre-386.
+
+2018-07-19  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/noavx512-2.l: Adjust expectations.
+
+2018-07-19  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (is_evex_encoding): Also check disp8memshift.
+       (optimize_encoding): Also cover templates without cpuavx512vl
+       allowing for zmmword and having a ymmword actual.
+       (check_VecOperands): Handle DISP8_SHIFT_VL.
+       * testsuite/gas/i386/noavx512-2.l: Adjust expectations.
+
+2018-07-18  Maciej W. Rozycki  <macro@mips.com>
+
+       * testsuite/gas/mips/loongson-2e.d: Correct whitespace issues.
+       * testsuite/gas/mips/loongson-2f.d: Likewise.
+       * testsuite/gas/mips/loongson-2f-2.d: Likewise.
+       * testsuite/gas/mips/loongson-2f-3.d: Likewise.
+       * testsuite/gas/mips/loongson-3a.d: Likewise.
+       * testsuite/gas/mips/loongson-3a-2.d: Likewise.
+       * testsuite/gas/mips/loongson-2e.s: Likewise.
+       * testsuite/gas/mips/loongson-2f.s: Likewise.
+       * testsuite/gas/mips/loongson-2f-3.s: Likewise.
+       * testsuite/gas/mips/loongson-3a.s: Likewise.
+       * testsuite/gas/mips/loongson-3a-2.s: Likewise.
+
+2018-07-18  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/23418
+       * testsuite/gas/i386/xmmword.s: Add tests for vcvtps2qq,
+       vcvtps2uqq, vcvttps2qq and vcvttps2uqq.
+       * testsuite/gas/i386/xmmword.l: Updated.
+
+2018-07-16  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (match_reg_size): Split second parameter
+       into two.
+       (match_simd_size): Likewise.
+       (match_mem_size): Likewise.
+       (MATCH_STRAIGHT, MATCH_REVERSE): Define.
+       (operand_size_match): Change return type. New local variable
+       "match". Always check for reverse match when opcode_modifier.d
+       is set.
+       (match_template) New local variable "size_match". Skip further
+       matching if operand_size_match() did not report a respective
+       match.
+       * testsuite/gas/i386/inval.s: Add control register reads/writes.
+       * testsuite/gas/i386/inval.l: Adjust expectations.
+
+2018-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * testsuite/gas/elf/missing-build-notes.s: New test.  Checks that
+       relocs are correctly generated for missing build notes.
+       * testsuite/gas/elf/missing-build-notes.d: New file.  Expected
+       output from objdump.
+       * testsuite/gas/elf/elf.exp: Run the new test.
+
+2018-07-13  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (do_neon_mov): When converting an integer
+       immediate into a floating point value, check that the conversion
+       is valid.  Also warn if the immediate is valid as both a floating
+       point value and a bit pattern.
+       * testsuite/gas/arm/vfp-mov-enc.s: Add instructions that use
+       floating point bit patterns.
+       * testsuite/gas/arm/vfp-mov-enc.d: Add regexps for the disassembly
+       of the new insns.
+
+2018-07-12  Sudakshina Das  <sudi.das@arm.com>
+
+       * testsuite/gas/aarch64/system.s: Add test for ssbb
+       and pssbb.
+       * testsuite/gas/aarch64/system.d: Update accordingly
+       and remove explicit addresses.
+
+2018-07-11  Tamar Christina  <tamar.christina@arm.com>
+
+       PR binutils/23192
+       * testsuite/gas/aarch64/illegal-by-element.s: New.
+       * testsuite/gas/aarch64/illegal-by-element.d: New.
+       * testsuite/gas/aarch64/illegal-by-element.l: New.
+
+2018-07-11  Sudakshina Das  <sudi.das@arm.com>
+
+       * config/tc-arm.c (insns): Add new ssbb and pssbb instructions.
+       * testsuite/gas/arm/csdb.s: Add new tests for ssbb and pssbb.
+       * testsuite/gas/arm/csdb.d: Likewise
+       * testsuite/gas/arm/thumb2_it_bad.s: Likewise.
+       * testsuite/gas/arm/thumb2_it_bad.l: Likewise.
+       * testsuite/gas/arm/barrier.d: Update with ssbb.
+       * testsuite/gas/arm/barrier-thumb.d: Likewise.
+
+2018-07-11  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (inoutportreg, reg16_inoutportreg): Delete.
+       (i386_att_operand): Replace uses of reg16_inoutportreg and
+       inoutportreg.
+
+2018-07-11  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (output_insn): Remove check_prefix label and
+       fold remaining expression.
+
+2018-07-11  Jan Beulich  <jbeulich@suse.com>
+
+       * testsuite/gas/i386/cet.s, testsuite/gas/i386/x86-64-cet.s:
+       Add Intel cases with operand size specifiers.
+       * testsuite/gas/i386/cet-intel.d, testsuite/gas/i386/cet.d,
+       testsuite/gas/i386/x86-64-cet-intel.d,
+       testsuite/gas/i386/x86-64-cet.d: Adjust expectations.
+
+2018-07-11  Jan Beulich  <jbeulich@suse.com>
+
+       * config/tc-i386.c (md_assemble): Also replace an already
+       present REP prefix.
+       * testsuite/gas/i386/mpx-add-bnd-prefix.s,
+       testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.s: Test RET with
+       all REP flavors.
+       * testsuite/gas/i386/mpx-add-bnd-prefix.d,
+       testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.d: Adjust
+       expectations.
+       * testsuite/gas/i386/mpx-add-bnd-prefix.e,
+       testsuite/gas/i386/x86-64-mpx-add-bnd-prefix.e: New.
+
+2018-07-09  Jeff Law  <law@redhat.com>
+
+       * testsuite/nds32/ji-jr.d: Fix name tag.
+
+2018-07-06  Tamar Christina  <tamar.christina@arm.com>
+
+       PR binutils/23369
+       * testsuite/gas/aarch64/msr.d (csselr_el1,
+       vsesr_el2, osdtrrx_el1, osdtrtx_el1, pmsidr_el1): New.
+       * testsuite/gas/aarch64/msr.s: Likewise.
+
+2018-07-06  Nick Clifton  <nickc@redhat.com>
+
+       * write.c (maybe_generate_build_notes): Bias reloc offsets by the
+       number of notes already generated.
+
 2018-07-05  Nick Clifton  <nickc@redhat.com>
 
        * po/ru.po: Updated Russian translation.