MIPS: Add microMIPS R5 support
[deliverable/binutils-gdb.git] / gas / ChangeLog
index 8c629928b52807cc6d58fda2a13f1be0d81294d0..c6fb96a4ba7780ee568aff85f1b6b2b18fc2a2d8 100644 (file)
@@ -1,3 +1,398 @@
+2017-06-30  Andrew Bennett  <andrew.bennett@imgtec.com>
+           Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/micromips@r5.d: New test.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-06-30  Maciej W. Rozycki  <macro@imgtec.com>
+           Andrew Bennett  <andrew.bennett@imgtec.com>
+
+       * config/tc-mips.c (mips_set_ase): Handle the ASE_XPA_VIRT flag.
+       * testsuite/gas/mips/xpa.d: Remove `xpa' from `-M' in `objdump'
+       flags.  Add `-mvirt' to `as' flags.
+       * testsuite/gas/mips/xpa-err.d: New test.
+       * testsuite/gas/mips/xpa-virt-err.d: New test.
+       * testsuite/gas/mips/xpa-err.l: New stderr output.
+       * testsuite/gas/mips/xpa-virt-err.l: New stderr output.
+       * testsuite/gas/mips/xpa-err.s: New test source.
+       * testsuite/gas/mips/xpa-virt-err.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2017-06-29  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e2@mips16e2-mt-sub.d: Adjust for the
+       ASE_MIPS16E2_MT flag disassembler fix.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
+       Likewise.
+
+2017-06-29  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_set_ase): Clear the ASE_MIPS16E2_MT
+       flag before recalculating.
+       * testsuite/gas/mips/mips16e2-mt-err.d: New test.
+       * testsuite/gas/mips/mips16e2-mt-err.l: New stderr output.
+       * testsuite/gas/mips/mips16e2-mt-err.s: New test source.
+       * testsuite/gas/mips/mips.exp: Run the new test.
+
+2017-06-28  Tamar Christina  <tamar.christina@arm.com>
+
+       * config/tc-aarch64.c (aarch64_reg_parse_32_64): Accept 4B.
+       (aarch64_features): Added dotprod.
+       * doc/c-aarch64.texi: Added dotprod.
+       * testsuite/gas/aarch64/dotproduct.d: New.
+       * testsuite/gas/aarch64/dotproduct.s: New.
+
+2017-06-28  Jiong Wang  <jiong.wang@arm.com>
+
+       * config/tc-arm.c (fpu_neon_ext_dotprod): New variable.
+       (neon_scalar_for_mul): Improve comments.
+       (do_neon_dotproduct): New function to encode Dot Product instructions.
+       (do_neon_dotproduct_s): Wrapper function for signed Dot Product
+       instructions.
+       (do_neon_dotproduct_u): Wrapper function for unsigned Dot Product
+       instructions.
+       (insns): New entries for vsdot and vudot.
+       (arm_extensions): New entry for "dotprod".
+       * doc/c-arm.texi: Document new "dotprod" extension.
+       * testsuite/gas/arm/dotprod.s: New test source.
+       * testsuite/gas/arm/dotprod-illegal.s: New test source.
+       * testsuite/gas/arm/dotprod.d: New test.
+       * testsuite/gas/arm/dotprod-thumb2.d: New test.
+       * testsuite/gas/arm/dotprod-illegal.d: New test.
+       * testsuite/gas/arm/dotprod-legacy-arch.d: New test.
+       * testsuite/gas/arm/dotprod-illegal.l: New error file.
+       * testsuite/gas/arm/dotprod-legacy-arch.l: New error file.
+
+2017-06-28  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/elf_mach_interaptiv-mr2.d: New test.
+       * testsuite/gas/mips/save-err.d: New test.
+       * testsuite/gas/mips/save-sub.d: New test.
+       * testsuite/gas/mips/interaptiv-mr2@save.d: New test.
+       * testsuite/gas/mips/mips1@save-sub.d: New test.
+       * testsuite/gas/mips/mips2@save-sub.d: New test.
+       * testsuite/gas/mips/mips3@save-sub.d: New test.
+       * testsuite/gas/mips/mips4@save-sub.d: New test.
+       * testsuite/gas/mips/mips5@save-sub.d: New test.
+       * testsuite/gas/mips/mips32@save-sub.d: New test.
+       * testsuite/gas/mips/mips64@save-sub.d: New test.
+       * testsuite/gas/mips/mips16@save-sub.d: New test.
+       * testsuite/gas/mips/mips16e@save-sub.d: New test.
+       * testsuite/gas/mips/r3000@save-sub.d: New test.
+       * testsuite/gas/mips/r3900@save-sub.d: New test.
+       * testsuite/gas/mips/r4000@save-sub.d: New test.
+       * testsuite/gas/mips/vr5400@save-sub.d: New test.
+       * testsuite/gas/mips/interaptiv-mr2@save-sub.d: New test.
+       * testsuite/gas/mips/sb1@save-sub.d: New test.
+       * testsuite/gas/mips/octeon2@save-sub.d: New test.
+       * testsuite/gas/mips/octeon3@save-sub.d: New test.
+       * testsuite/gas/mips/xlr@save-sub.d: New test.
+       * testsuite/gas/mips/r5900@save-sub.d: New test.
+       * testsuite/gas/mips/mips16e2-copy.d: New test.
+       * testsuite/gas/mips/mips16e2-copy-err.d: New test.
+       * testsuite/gas/mips/save.d: Remove `MIPS16e' from the `name'
+       option.  Adjust for trailing padding change.
+       * testsuite/gas/mips/mips16e2-copy-err.l: New stderr output.
+       * testsuite/gas/mips/save-sub.s: New test source.
+       * testsuite/gas/mips/mips16e2-copy.s: New test source.
+       * testsuite/gas/mips/mips16e2-copy-err.s: New test source.
+       * testsuite/gas/mips/save.s: Update description, change trailing
+       padding and remove trailing white space.
+       * testsuite/gas/mips/mips.exp: Expand `save' and `save-err'
+       tests across the regular MIPS interAptiv MR2 architecture.  Run
+       the new tests.
+
+2017-06-28  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips.exp (interaptiv-mr2): New architecture.
+       (mips16e2-interaptiv-mr2): Likewise.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.d: New
+       test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.d:
+       New test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.d:
+       New test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.d:
+       New test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.d:
+       New test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64.d: New
+       test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.d: New
+       test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.d: New
+       test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.d:
+       New test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e2-mt-sub.d:
+       New test.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-asmacro.d:
+       New test.
+       * testsuite/gas/mips/interaptiv-mr2@mcu.d: New test.
+       * testsuite/gas/mips/interaptiv-mr2@isa-override-1.d: New test.
+       * testsuite/gas/mips/interaptiv-mr2@isa-override-2.d: New test.
+       * testsuite/gas/mips/attr-gnu-4-5.d: Ignore any number of ASE
+       flag lines present rather than just one.
+       * testsuite/gas/mips/attr-gnu-4-6.d: Likewise.
+       * testsuite/gas/mips/attr-gnu-4-7.d: Likewise.
+       * testsuite/gas/mips/attr-none-o32-fp64-nooddspreg.d: Likewise.
+       * testsuite/gas/mips/attr-none-o32-fp64.d: Likewise.
+       * testsuite/gas/mips/attr-none-o32-fpxx.d: Likewise.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro.l: New
+       stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-t.l:
+       New stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-macro-e.l:
+       New stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-t.l:
+       New stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-insn-e.l:
+       New stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16-sub.l: New
+       stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-sub.l: New
+       stderr output.
+       * testsuite/gas/mips/mips16e2-interaptiv-mr2@mips16e-64-sub.l:
+       New stderr output.
+       * testsuite/gas/mips/interaptiv-mr2@isa-override-1.l: New stderr
+       output.
+       * testsuite/gas/mips/interaptiv-mr2@isa-override-2.l: New stderr
+       output.
+
+2017-06-28  Maciej W. Rozycki  <macro@imgtec.com>
+           Matthew Fortune  <matthew.fortune@imgtec.com>
+
+       * config/tc-mips.c (validate_mips_insn): Handle
+       OP_SAVE_RESTORE_LIST specially.
+       (mips_encode_save_restore, mips16_encode_save_restore): New
+       functions.
+       (match_save_restore_list_operand): Factor out SAVE/RESTORE
+       operand insertion into the instruction word or halfword to these
+       new functions.
+       (mips_cpu_info_table): Add "interaptiv-mr2" entry.
+
+       * doc/c-mips.texi (MIPS Options): Add `interaptiv-mr2' to the
+       `-march=' argument list.
+
+2017-06-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e-save.d: Rename to...
+       * testsuite/gas/mips/save.d: ... this.
+       * testsuite/gas/mips/mips16e-save-err.d: Update the
+       `error-output' option and rename to...
+       * testsuite/gas/mips/save-err.d: ... this.
+       * testsuite/gas/mips/mips16e-save-err.l: Rename to...
+       * testsuite/gas/mips/save-err.l: ... this.
+       * testsuite/gas/mips/mips16e-save.s: Rename to...
+       * testsuite/gas/mips/save.s: ... this.
+       * testsuite/gas/mips/mips16e-save-err.s: Rename to...
+       * testsuite/gas/mips/save-err.s: ... this.
+       * testsuite/gas/mips/mips.exp: Rename `mips16e-save' and
+       `mips16e-save-err' invocations to `save' and `save-err'
+       respectively and reorder these tests away from MIPS16 tests.
+
+2017-06-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e-save.d: Remove `-mmips:isa32
+       -mmips:16' from `objdump' flags and `-march=mips32 -mips16' from
+       `as' flags.
+       * testsuite/gas/mips/mips16e-save-err.d: Remove `-march=mips32'
+       from `as' flags.
+       * testsuite/gas/mips/mips16e-save.s: Remove the `.set mips16'
+       pseudo-op.
+       * testsuite/gas/mips/mips16e-save-err.s: Likewise.
+       * testsuite/gas/mips/mips.exp: Run SAVE/RESTORE tests across all
+       MIPS16e architectures.
+
+2017-06-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e-save-err.d: New test.
+       * gas/testsuite/gas/mips/mips.exp: Fold `mips16e-save-err' list
+       test into the new test.
+
+2017-06-27  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/mips16e-save.d: Capitalize the `name'
+       option.
+
+2017-06-26  Kuan-Lin Chen  <rufus@andestech.com>
+
+       * config/tc-riscv.c (md_apply_fix) [BFD_RELOC_32]: Convert to a
+       R_RISCV_32_PCREL relocation.
+
+2017-06-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/21661
+       * config/obj-elf.c (obj_elf_symver): Don't allow .symver with
+       common symbol.
+       (elf_frob_symbol): Likewise.
+       * testsuite/gas/elf/elf.exp: Run pr21661.
+       * testsuite/gas/elf/pr21661.d: New file.
+       * testsuite/gas/elf/pr21661.s: Likewise.
+
+2017-06-26  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (fpu_any): Only define for ELF based targets.
+
+2017-06-26  Claudiu Zissulescu  <claziss@synopsys.com>
+
+       * /config/tc-arc.c (is_br_jmp_insn_p): Update macro with known
+       instructions to be accounted as jumps.
+       (assemble_insn): Check for limms into the delay slots.  Emit an
+       error if so.
+       * testsuite/gas/arc/asm-errors-3.d: New file.
+       * testsuite/gas/arc/asm-errors-3.err: Likewise.
+       * testsuite/gas/arc/asm-errors-3.s: Likewise.
+
+2017-06-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * NEWS: Mention support of ARM Cortex-R52 processor.
+       * config/tc-arm.c (arm_cpus): Add entry for ARM Cortex-R52 processor.
+       * doc/c-arm.texi: Mention support for -mcpu=cortex-r52.
+
+2017-06-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * NEWS: Mention support for ARMv8-R architecture.
+       * config/tc-arm.c (arm_archs): Add entry for ARMv8-R.
+       (arm_extensions): Restrict pan, ras and rdma extension to
+       ARMv8-A and make crypto, fp and simd extensions available to
+       ARMv8-R.
+       (cpu_arch_ver): Add entry for ARMv8-R.
+       (aeabi_set_public_attributes): Update gas_assert for Tag_DIV_use
+       logic.
+       * testsuite/gas/arm/armv8-a+fp.s: Rename into ...
+       * testsuite/gas/arm/armv8-ar+fp.s: This.  Remove .arch directive.
+       * testsuite/gas/arm/armv8-a+fp.d: Specify source to assemble and
+       architecture to assemble for.
+       * testsuite/gas/arm/armv8-r+fp.d: New.
+       * testsuite/gas/arm/armv8-a+simd.s: Rename into ...
+       * testsuite/gas/arm/armv8-ar+simd.s: This.  Remove .arch directive.
+       * testsuite/gas/arm/armv8-a+simd.d: Specify source to assemble and
+       architecture to assemble for.
+       * testsuite/gas/arm/armv8-r+simd.d: New.
+       * testsuite/gas/arm/armv8-a-bad.s: Rename into ...
+       * testsuite/gas/arm/armv8-ar-bad.s: This.  Remove .arch directive.
+       * testsuite/gas/arm/armv8-a-bad.l: Rename into ...
+       * testsuite/gas/arm/armv8-ar-bad.l: This.  Decrement line number by 1.
+       * testsuite/gas/arm/armv8-a-bad.d: Specify source to assemble,
+       architecture to assemble for and adjust error output file.
+       * testsuite/gas/arm/armv8-r-bad.d: New.
+       * testsuite/gas/arm/armv8-a-barrier.s: Rename into ...
+       * testsuite/gas/arm/armv8-ar-barrier.s: This.
+       * testsuite/gas/arm/armv8-a-barrier-arm.d: Adjust source.
+       * testsuite/gas/arm/armv8-a-barrier-thumb.d: Likewise.
+       * testsuite/gas/arm/armv8-r-barrier-arm.d: New.
+       * testsuite/gas/arm/armv8-r-barrier-thumb.d: New.
+       * testsuite/gas/arm/armv8-a-it-bad.s: Rename into ...
+       * testsuite/gas/arm/armv8-ar-it-bad.s: This.  Remove .arch directive.
+       * testsuite/gas/arm/armv8-a-it-bad.l: Rename into ...
+       * testsuite/gas/arm/armv8-ar-it-bad.l: This.  Decrement line number
+       by 1.
+       * testsuite/gas/arm/armv8-a-it-bad.d: Specify source to assemble,
+       architecture to assemble for and adjust error output file.
+       * testsuite/gas/arm/armv8-r-it-bad.d: New.
+       * testsuite/gas/arm/armv8-a.s: Rename into ...
+       * testsuite/gas/arm/armv8-ar.s: This.  Remove .arch directive.
+       * testsuite/gas/arm/armv8-a.d: Specify source to assemble and
+       architecture to assemble for.
+       * testsuite/gas/arm/armv8-r.d: New.
+       * testsuite/gas/arm/attr-march-armv8-r+crypto.d: New.
+       * testsuite/gas/arm/attr-march-armv8-r+fp.d: New.
+       * testsuite/gas/arm/attr-march-armv8-r+simd.d: New.
+       * testsuite/gas/arm/attr-march-armv8-r.d: New.
+       * testsuite/gas/arm/crc32.s: Rename into ...
+       * testsuite/gas/arm/crc32-armv8-ar.s: This.
+       * testsuite/gas/arm/crc32.d: Rename into ...
+       * testsuite/gas/arm/crc32-armv8-a.d: This.  Specify source to assemble.
+       * testsuite/gas/arm/crc32-armv8-r.d: New.
+       * testsuite/gas/arm/crc32-bad.s: Rename into ...
+       * testsuite/gas/arm/crc32-armv8-ar-bad.s: This.
+       * testsuite/gas/arm/crc32-bad.d: Rename into ...
+       * testsuite/gas/arm/crc32-armv8-a-bad.d: This.  Specify source to
+       assemble.
+       * testsuite/gas/arm/crc32-armv8-r-bad.d: New.
+       * testsuite/gas/arm/mask_1.s: Rename into ...
+       * testsuite/gas/arm/mask_1-armv8-ar.s: This.
+       * testsuite/gas/arm/mask_1.d: Rename into ...
+       * testsuite/gas/arm/mask_1-armv8-a.d: This.  Specify source to
+       assemble.
+       * testsuite/gas/arm/mask_1-armv8-r.d: new.
+
+2017-06-24  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (arm_ext_v6m): Delete.
+       (arm_ext_v7m): Delete.
+       (arm_ext_m): Remove ARM_EXT_OS from the set of feature defined M
+       profile.
+       (arm_arch_v6m_only): Delete.
+       (do_t_swi): Remove special case for ARMv6S-M.
+       (md_assemble): Display error message previously in do_t_swi when
+       SVC is not available.
+       (insns): Guard swi and svc by arm_ext_os for Thumb mode.
+       (aeabi_set_public_attributes): Remove special case for ARMv6S-M.
+
+2017-05-11  Andrew Waterman  <andrew@sifive.com>
+
+       * config/tc-riscv.c (riscv_ip): Changes as_warn to as_bad for improper
+       shift amounts.
+
+2017-06-22  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (arm_ext_v7m): Add ATTRIBUTE_UNUSED.
+
+2017-06-21  Thomas Preud'homme  <thomas.preudhomme@arm.com>
+
+       * config/tc-arm.c (fpu_any): Defined from FPU_ANY.
+       (cpu_arch_ver): Add all architectures and sort by release date.
+       (have_ext_for_needed_feat_p): New.
+       (get_aeabi_cpu_arch_from_fset): New.
+       (aeabi_set_public_attributes): Call above function to determine
+       Tag_CPU_arch and Tag_CPU_arch_profile values.  Adapt Tag_ARM_ISA_use
+       and Tag_THUMB_ISA_use selection logic to check absence of feature bit
+       accordingly.
+       * testsuite/gas/arm/attr-march-armv1.d: Fix expected Tag_CPU_arch build
+       attribute value.
+       * testsuite/gas/arm/attr-march-armv2.d: Likewise.
+       * testsuite/gas/arm/attr-march-armv2a.d: Likewise.
+       * testsuite/gas/arm/attr-march-armv2s.d: Likewise.
+       * testsuite/gas/arm/attr-march-armv3.d: Likewise.
+       * testsuite/gas/arm/attr-march-armv3m.d: Likewise.
+       * testsuite/gas/arm/pr12198-2.d: Likewise.
+
+2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/cet-intel.d: Updated.
+       * testsuite/gas/i386/cet.d: Likewise.
+       * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-cet.d: Likewise.
+       * testsuite/gas/i386/cet.s: Update incsspd and setssbsy tests.
+       * testsuite/gas/i386/x86-64-cet.s: Likewise.
+
+2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/cet-intel.d: Updated.
+       * testsuite/gas/i386/cet.d: Likewise.
+       * testsuite/gas/i386/x86-64-cet-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-cet.d: Likewise.
+       * testsuite/gas/i386/cet.s: Replace savessp with saveprevssp.
+       * testsuite/gas/i386/x86-64-cet.s: Likewise.
+
+2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (md_assemble): Update NOTRACK prefix check.
+       * testsuite/gas/i386/notrack-intel.d: Updated.
+       * testsuite/gas/i386/notrack.d: Likewise.
+       * testsuite/gas/i386/notrackbad.l: Likewise.
+       * testsuite/gas/i386/x86-64-notrack-intel.d: Likewise.
+       * testsuite/gas/i386/x86-64-notrack.d: Likewise.
+       * testsuite/gas/i386/x86-64-notrackbad.l: Likewise.
+       * testsuite/gas/i386/notrack.s: Add NOTRACK prefix tests with
+       memory indirect branch.
+       * testsuite/gas/i386/x86-64-notrack.s: Likewise.
+       * testsuite/gas/i386/notrackbad.s: Remove memory indirect branch
+       with NOTRACK prefix.
+       * testsuite/gas/i386/x86-64-notrackbad.s: Likewise.
+
 2017-06-20  Thomas Preud'homme  <thomas.preudhomme@arm.com>
 
        * config/tc-arm.c (arm_extensions): New duplicate idiv entry to enable
This page took 0.02632 seconds and 4 git commands to generate.