Arc assembler: Convert nps400 from a machine type to an extension.
[deliverable/binutils-gdb.git] / gas / ChangeLog
index ae4de64f90fab7af03841492a2805d6c224f22d8..4672d15229e35cf30965ede98d0cacad6b9d6cb1 100644 (file)
@@ -1,3 +1,437 @@
+2016-06-21  Graham Markall  <graham.markall@embecosm.com>
+
+       * config/tc-arc.c (check_cpu_feature, md_parse_option):
+       Add nps400 option and feature. Add check for nps400
+       feature. Refactor existing checks to check subclass before
+       feature enablement.
+       (md_show_usage): Document flags for NPS-400 and add some other
+       undocumented flags.
+       (cpu_type): Remove nps400 CPU type entry
+       (check_zol): Remove bfd_mach_arc_nps400 case.
+       (md_show_usage): Add help on -mcpu=nps400.
+       (cpu_types): Add entry for nps400 as arc700 plus nps400 extension
+       set.
+       * doc/c-arc.texi: Document the -mnps400, -mspfp, -mdpfp, and
+       -fpuda flags.  Document -mcpu=nps400.
+       * testsuite/gas/arc/nps-400-0.d: Use -mcpu=arc700 -mnps400. Change
+       expected flags to match ARC700 instead of NPS400.
+       * testsuite/gas/arc/nps-400-1.d: Use -mcpu=arc700 -mnps400.
+       * testsuite/gas/arc/nps-400-2.d: Likewise.
+       * testsuite/gas/arc/nps-400-3.d: Likewise.
+       * testsuite/gas/arc/nps-400-4.d: Likewise.
+       * testsuite/gas/arc/nps-400-5.d: Likewise.
+       * testsuite/gas/arc/nps-400-6.d: Likewise.
+       * testsuite/gas/arc/nps-400-7.d: Likewise.
+       * testsuite/gas/arc/textinsn2op01.s: Change opcode of myinsn to
+       avoid clash with cbba instruction.
+       * testsuite/gas/arc/textinsn2op01.d: Likewise.
+       * testsuite/gas/arc/textinsn3op.d: Likewise.
+       * testsuite/gas/arc/textinsn3op.s: Likewise.
+       * testsuite/gas/arc/nps-400-0.d: Test using NPS-400 using
+       -mcpu=nps400 as an alternative to -mcpu=arc700 -mnps400 flags.
+
+2016-06-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * testsuite/gas/mips/r6-64-n32.d: Change the `name' tag.
+       * testsuite/gas/mips/r6-64-n64.d: Likewise.
+
+2016-06-20  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_fix_adjustable): Update comment on jump
+       reloc conversion.
+
+2016-06-20  Virendra Pathak  <virendra.pathak@broadcom.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Update vulcan feature set.
+
+2016-06-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c (hpriv_reg_table): Add registers %hmcdper,
+       %hmcddfr and %hva_mask_nz.
+       (sparc_ip): New handling of asr/privileged/hyperprivileged
+       registers, adapted to the new form of the sparc opcodes table.
+       * testsuite/gas/sparc/rdasr.s: New file.
+       * testsuite/gas/sparc/rdasr.d: Likewise.
+       * testsuite/gas/sparc/wrasr.s: Likewise.
+       * testsuite/gas/sparc/wrasr.d: Likewise.
+       * testsuite/gas/sparc/sparc.exp (sparc_elf_setup): Add rdasr and
+       wrasr tests.
+       * testsuite/gas/sparc/rdpr.d: Use -Av9m, as some privileged
+       registers require it.
+       * testsuite/gas/sparc/wrpr.s: Complete to cover all privileged
+       registers and write instruction modalities.
+       * testsuite/gas/sparc/wrpr.d: Likewise.
+       * testsuite/gas/sparc/rdhpr.s: Likewise for hyperprivileged
+       registers.
+       * testsuite/gas/sparc/rdhpr.d: Likewise.
+       * testsuite/gas/sparc/wrhpr.s: Likewise.
+       * testsuite/gas/sparc/wrhpr.d: Likewise.
+
+2016-06-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c (sparc_arch_table): adjust the GAS
+       architectures to use the right opcode architecture.
+       (sparc_md_end): Handle v9{c,d,e,v,m}.
+       (sparc_ip): Fix some comments.
+       * testsuite/gas/sparc/ldx_efsr.d: Fix the architecture of this
+       instruction, which is v9d.
+       * testsuite/gas/sparc/mwait.s: Remove the `rd %mwait,%g1'
+       instruction from the test, as %mwait is not readable.
+       * testsuite/gas/sparc/mwait.d: Likewise.
+       * testsuite/gas/sparc/mism-1.s: Expand to check v9b and v9e
+       mismatch architecture errors.
+       * testsuite/gas/sparc/mism-2.s: New file.
+
+2016-06-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
+
+       * config/tc-sparc.c (priv_reg_table): Use NULL instead of the
+       empty string to mark the end of the array.
+       (hpriv_reg_table): Likewise.
+       (v9a_asr_table): Likewise.
+       (cmp_reg_entry): Handle entries with NULL names.
+       (F_POP_V9): Define.
+       (F_POP_PCREL): Likewise.
+       (F_POP_TLS_CALL): Likewise.
+       (F_POP_POSTFIX): Likewise.
+       (struct pop_entry): New type.
+       (pop_table): New variable.
+       (enum pop_entry_type): New type.
+       (struct perc_entry): Likewise.
+       (NUM_PERC_ENTRIES): Define.
+       (perc_table): New variable.
+       (cmp_perc_entry): New function.
+       (md_begin): Sort hpriv_reg_table and v9a_asr_table, and initialize
+       perc_table.
+       (sparc_ip): Handle entries with NULL names in priv_reg_table,
+       hpriv_reg_table and v9a_asr_table.  Use perc_table to handle
+       %-pseudo-ops.
+
+2016-06-15  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-ft32.c (md_assemble): Call dwarf2_emit_insn with the
+       instruction size.
+       * config/tc-mcore.c (md_assemble): Likewise.
+       * config/tc-mn10200.c (md_assemble): Likewise.
+       * config/tc-moxie.c (md_assemble): Likewise.
+       * config/tc-pj.c (md_apply_fix): Handle BFD_RELOC_PJ_CODE_REL32.
+       * testsuite/gas/all/gas.exp (diff1 test): Alpha sort list of
+       exception targets.  Add alpha, hppa, microblaze and rl78 to list
+       of exceptions.
+       (forward): Add microblaze to list of exceptions.
+       (fwdexp): Add alpha to list of exceptions.
+       (redef2): Add arm-epoc-pe and rl78 to list of exceptions.
+       (redef3): Add rl78 and x86_64 cygwin to list of exceptions.
+       (do_930509a): Alpha sort list of exception targets.  Add h8300 and
+       mn10200 to list of exceptions.
+       (align2): Expect to fail for nds32.
+       (cond): Add alpha and rl78 to list of exceptions.
+       * testsuite/gas/all/none.d: Skip for ft32 and hppa.
+       * testsuite/gas/all/string.d: Skip for tic4x.
+       * testsuite/gas/alpha/alpha.exp: Note that the alpha-linuxecoff
+       target does not support ELF.
+       * testsuite/gas/arm/blx-bl-convert.dL Skip for the nto target.
+       * testsuite/gas/cfi/cfi-alpha-2.d: All extended format names.
+       * testsuite/gas/cfi/cfi.exp: Alpha sort list of targets.  Skip SH
+       tests for sh-pe and sh-rtemscoff targets.
+       * testsuite/gas/elf/elf.exp (redef): Add rl78, xgate and vax to
+       list of exceptions.
+       (type): Run the noifunc version for alpha-freebsd and visium.
+       * testsuite/gas/elf/warn-2.s: Do not expect to fail on the mcore,
+       mn10200 or moxie targets.
+       * testsuite/gas/ft32/insn.d: Update expected disassembly.
+       * testsuite/gas/i386/i386.exp (x86-64-pcrel): Skip for cygwin
+       targets.
+       * testsuite/gas/lns/lns.exp (lns-common-1): No longer skip for
+       mcore and rx targets.
+       * testsuite/gas/macros/macros.exp (dot): Add exceptions for ns32k,
+       rl78 and vax.
+       (purge): Expect to fail on the ns32k and vax.
+       * testsuite/gas/nds32/alu-2.d: Update expected disassembly.
+       * testsuite/gas/nds32/ls.d: Likewise.
+       * testsuite/gas/nds32/sys-reg.d: Likewise.
+       * testsuite/gas/nds32/usr-spe-reg.d: Likewise.
+       * testsuite/gas/pe/aligncomm-d.d: Skip for the sh.
+       * testsuite/gas/pe/section-align-3.d: Likewise.
+       * testsuite/gas/pe/section-exclude.d: Likewise.
+       * testsuite/gas/ppc/test2xcoff32.d: Pass once all the required
+       data has been seen.
+       * testsuite/gas/ppc/textalign-xcoff-001.d: Fix up regexp to allow
+       for variations in whitespace.
+       * testsuite/gas/tilepro/t_constants.d: Pass once all the required
+       data has been seen.
+       * testsuite/gas/tilepro/t_constants.s (.safe_word): New macro.
+       Installs a 32-bit value without generating warnings on 64-bit
+       hosts.
+       Use the new macro to replace the .word directives.
+
+2016-06-15  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * testsuite/gas/arc/add_s.d: New file.
+       * testsuite/gas/arc/add_s.s: New file.
+
+2016-06-14  Graham Markall <graham.markall@embecosm.com>
+
+       * testsuite/gas/arc/nps400-6.s: Add tests of ldbit.
+       * testsuite/gas/arc/nps400-6.d: Likewise.
+
+2016-06-14  Graham Markall <graham.markall@embecosm.com>
+
+       * testsuite/gas/arc/nps400-6.s: Add tests of hash, tr, utf8, e4by, and
+       addf.
+       * testsuite/gas/arc/nps400-6.d: Likewise.
+
+2016-06-14  Graham Markall <graham.markall@embecosm.com>
+
+       * testsuite/gas/arc/nps400-6.s: Add tests of calcbsd, calcbxd,
+       calckey, calcxkey, mxb, imxb, addl, subl, andl, orl, xorl, andab, orab,
+       lbdsize, bdlen, csms, csma, cbba, zncv, and hofs.
+       * testsuite/gas/arc/nps400-6.d: Likewise.
+
+2016-06-14  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-nds32.c (nds32_get_align): Avoid left shifting a
+       signed constant.
+
+2016-06-13  Maciej W. Rozycki  <macro@imgtec.com>
+
+       * config/tc-mips.c (mips_fix_adjustable): Don't convert RELA
+       JALR relocations on R6.
+       * testsuite/gas/mips/jal-svr4pic-local.d: New test.
+       * testsuite/gas/mips/mips1@jal-svr4pic-local.d: New test.
+       * testsuite/gas/mips/r3000@jal-svr4pic-local.d: New test.
+       * testsuite/gas/mips/micromips@jal-svr4pic-local.d: New test.
+       * testsuite/gas/mips/jal-svr4pic-local-n32.d: New test.
+       * testsuite/gas/mips/micromips@jal-svr4pic-local-n32.d: New
+       test.
+       * testsuite/gas/mips/jal-svr4pic-local-n64.d: New test.
+       * testsuite/gas/mips/micromips@jal-svr4pic-local-n64.d: New
+       test.
+       * testsuite/gas/mips/jal-svr4pic-local.s: New test source.
+       * testsuite/gas/mips/jal-svr4pic-local-newabi.s: New test
+       source.
+       * testsuite/gas/mips/mips.exp: Run the new tests.
+
+2016-06-13  Virendra Pathak  <virendra.pathak@broadcom.com>
+
+        * config/tc-aarch64.c (aarch64_cpus): Add Broadcom Vulcan.
+        * doc/c-aarch64.texi: Document that vulcan is a valid processor
+       name.
+
+2016-06-13  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c: For non-ELF based targets skip ARM feature sets
+       that are not supported.
+
+       * config/tc-arc.c (md_apply_fix): Avoid left shifting a signed
+       constant.
+       * config/tc-cr16.c (check_range): Likewise.
+       * config/tc-nios2.c (nios2_check_overflow): Likewise.
+
+2016-06-08  Renlin Li  <renlin.li@arm.com>
+
+       * config/tc-aarch64.c (print_operands): Substitute size.
+       (output_operand_error_record): Likewise.
+
+2016-06-07  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c (PPC_APUINFO_ISEL, PPC_APUINFO_PMR,
+       PPC_APUINFO_RFMCI, PPC_APUINFO_CACHELCK, PPC_APUINFO_SPE,
+       PPC_APUINFO_EFS, PPC_APUINFO_BRLOCK, PPC_APUINFO_VLE): Don't define.
+       (ppc_setup_opcodes): Check vle disables powerpc_opcodes overridden
+       by vle_opcodes, and that vle flag doesn't enable opcodes.  Don't
+       add vle_opcodes twice.
+       (ppc_cleanup): Use APUINFO_SECTION_NAME and APUINFO_LABEL.
+
+2016-06-07  Matthew Wahab  <matthew.wahab@arm.com>
+
+       * config/tc-arm.c (arm_ext_v8_2): Rename to arm_ext_ras.
+       (arm_ext_ras): Renamed from arm_ext_v8_2.
+       (insns): Update for arm_ext_v8_2 renaming.
+       (arm_extensions): Add "ras".
+       * doc/c-arm.texi (ARM Options): Add an entry for "ras".
+       * testsuite/gas/arm/armv8-a+ras.d: New.
+       * testsuite/gas/arm/armv8_2-a.d: Add explicit command line
+       options.
+
+2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * itbl-parse.y (yyerror): Use modern argument declaration style.
+
+2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-sh.c (parse_reg): Change type of mode argument to
+       sh_arg_type.
+       (get_operand): Adjust.
+       (insert): Change type of how to bfd_reloc_code_real_type.
+       (insert4): Likewise.
+       * config/tc-sh64.c (shmedia_get_operand): Adjust.
+       (shmedia_parse_reg): Change type of mode to shmedia_arg_type.
+
+2016-06-05  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-nds32.c (nds32_parse_option): Make the type of ptr_arg
+       const char *.
+
+2016-06-03  Peter Bergner <bergner@vnet.ibm.com>
+
+       PR binutils/20196
+       * gas/testsuite/gas/ppc/e6500.s <lbarx, lharx, lwarx, ldarx,
+       stbcx., sthcx., stwcx., stdcx.>: Add tests.
+       * gas/testsuite/gas/ppc/e6500.d: Likewise.
+       * gas/testsuite/gas/ppc/power8.s: Likewise.
+       * gas/testsuite/gas/ppc/power8.d: Likewise.
+       * gas/testsuite/gas/ppc/power4.s <lwarx, ldarx, stwcx.,
+       stdcx.>: Add tests.
+       * gas/testsuite/gas/ppc/power4.d: Likewise.
+
+2016-06-03  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR binutis/18386
+       * testsuite/gas/i386/i386.exp: Run x86-64-branch-4.
+       * testsuite/gas/i386/x86-64-branch.d: Updated.
+       * testsuite/gas/i386/ilp32/x86-64-branch.d: Likewise.
+       * testsuite/gas/i386/x86-64-branch-4.l: New file.
+       * testsuite/gas/i386/x86-64-branch-4.s: Likewise.
+
+2016-06-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-aarch64.c (aarch64_cpus): Add cortex-a73 entry.
+       * doc/c-aarch64.texi (-mcpu): Document cortex-a73 value.
+
+2016-06-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add cortex-a73 entry.
+       * doc/c-arm.texi (-mcpu=): Document cortex-a73 value.
+
+2016-06-02  Vineet Gupta  <Vineet.Gupta1@synopsys.com>
+
+       * configure.tgt: Replace -uclibc with *.
+
+2016-06-02  Andrew Burgess  <andrew.burgess@embecosm.com>
+
+       * config/tc-arc.c (parse_opcode_flags): New function.
+       (find_opcode_match): Move flag parsing code out to new function.
+       Ignore operands marked IGNORE.
+       (build_fake_opcode_hash_entry): New function.
+       (find_special_case_long_opcode): New function.
+       (find_special_case): Lookup long opcodes.
+       * testsuite/gas/arc/nps400-7.d: New file.
+       * testsuite/gas/arc/nps400-7.s: New file.
+
+2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-ns32k.c: Remove definition of input_line_pointer.
+
+2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-avr.c (avr_parse_cons_expression): Replace iteration to
+       sentinal with iteration to array size.
+
+2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/xtensa-relax.h: Move typedefs of enums to the enums
+       definition.
+
+2016-06-01  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-ns32k.c (bit_fix_new): Replace obstack-alloc with XOBNEW
+       macro.
+
+2016-06-01  Graham Markall  <graham.markall@embecosm.com>
+
+       * testsuite/gas/arc/nps-400-1.s: Add rflt variants with
+       operands of types a,b,u6, 0,b,u6, and 0,b,limm.
+       * testsuite/gas/arc/nps-400-1.d: Likewise.
+
+2016-05-29  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/20145
+       * config/tc-i386.c (cpu_noarch): Add noavx512f, noavx512cd,
+       noavx512er, noavx512pf, noavx512dq, noavx512bw, noavx512vl,
+       noavx512ifma and noavx512vbmi.
+       * doc/c-i386.texi: Mention noavx512f, noavx512cd, noavx512er,
+       noavx512pf, noavx512dq, noavx512bw, noavx512vl, noavx512ifma
+       and noavx512vbmi.
+       * testsuite/gas/i386/i386.exp: Run noavx512-1 and noavx512-2.
+       * testsuite/gas/i386/noavx512-1.l: New file.
+       * testsuite/gas/i386/noavx512-1.s: Likewise.
+       * testsuite/gas/i386/noavx512-2.l: Likewise.
+       * testsuite/gas/i386/noavx512-2.s: Likewise.
+
+2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/20145
+       * config/tc-i386.c (cpu_arch): Add 687.
+       (cpu_noarch): Add no287, no387, no687, nosse2, nosse3, nossse3,
+       nosse4.1, nosse4.2, nosse4 and noavx2.
+       (parse_real_register): Check cpuregmmx instead of cpummx for MMX
+       register.  Check cpuregxmm instead of cpusse for XMM register.
+       Check cpuregymm instead of cpuavx for YMM register.  Check
+       cpuregzmm/cpuregmask instead of cpuavx512f for ZMMM/mask register.
+       * doc/c-i386.texi: Mention 687, no287, no387, no687, nosse2,
+       nosse3, nossse3, nosse4.1, nosse4.2, nosse4 and noavx2.
+       * testsuite/gas/i386/arch-10-prefetchw.d (as): Add mmx.
+       * testsuite/gas/i386/arch-10.d (as): Likewise.
+       * testsuite/gas/i386/arch-11.s: Add ".arch .mmx".
+       * testsuite/gas/i386/i386.exp: Pass mmx to assembler for
+       arch-10-3 and arch-10-4.  Run no87-3, nosse-4, nosse-5, noavx-3
+       and noavx-4.
+       * testsuite/gas/i386/no87-3.l: New file.
+       * testsuite/gas/i386/no87-3.s: Likewise.
+       * testsuite/gas/i386/noavx-3.l: Likewise.
+       * testsuite/gas/i386/noavx-3.s: Likewise.
+       * testsuite/gas/i386/noavx-4.d: Likewise.
+       * testsuite/gas/i386/noavx-4.s: Likewise.
+       * testsuite/gas/i386/nosse-4.l: Likewise.
+       * testsuite/gas/i386/nosse-4.s: Likewise.
+       * testsuite/gas/i386/nosse-5.d: Likewise.
+       * testsuite/gas/i386/nosse-5.s: Likewise.
+
+2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/20154
+       * config/tc-i386.c (cpu_flags_match): Don't set cpuamd64 nor
+       cpuintel64.
+       (match_template): Check Intel64/AMD64 ISA.
+
+2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR gas/20154
+       * config/tc-i386.c (intel64): New.
+       (cpu_flags_match): Set cpuamd64 and cpuintel64.
+       (md_parse_option): Set intel64 instead of cpuamd64 and
+       cpuintel64.
+
+2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (cpu_flags_match): Don't clear cpu64 nor
+       cpuno64.
+
+2016-05-26  Peter Bergner <bergner@vnet.ibm.com>
+
+       * testsuite/gas/ppc/altivec3.d <vmsumudm>: Add test.
+       * testsuite/gas/ppc/altivec3.s: Likewise.
+       * testsuite/gas/ppc/power9.d <addex[.], lwzmx, vmsumudm>: Add tests.
+       * testsuite/gas/ppc/power9.s: Likewise.
+
+2016-05-26  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * testsuite/gas/i386/avx512vl-2.l: Append "#pass".
+       * testsuite/gas/i386/noavx-1.l: Likewise.
+       * testsuite/gas/i386/nommx-1.l: Likewise.
+       * testsuite/gas/i386/nosse-1.l: Likewise.
+       * testsuite/gas/i386/x86-64-avx512vl-2.l: Likewise.
+       * testsuite/gas/i386/avx512vl-2.s: Append ".p2align 4".
+       * testsuite/gas/i386/noavx-1.s: Likewise.
+       * testsuite/gas/i386/nommx-1.s: Likewise.
+       * testsuite/gas/i386/nosse-1.s: Likewise.
+       * testsuite/gas/i386/x86-64-avx512vl-2.s: Likewise.
+
+2016-05-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
+
+       * config/tc-metag.c (metag_handle_align): Make the type of noop
+       unsigned char.
+
 2016-05-26  Trevor Saunders  <tbsaunde+binutils@tbsaunde.org>
 
        * config/tc-rx.c (md_convert_frag): Make the type of reloc_type
This page took 0.026867 seconds and 4 git commands to generate.