Fix compile time warning problem with gcc 8 and the NS32K assembler sources.
[external/binutils.git] / gas / ChangeLog
index beea270..2976c79 100644 (file)
@@ -1,3 +1,241 @@
+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>