2014-10-21 22:06:23 +00:00
|
|
|
|
2014-10-21 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/insn-opts.d: New test.
|
|
|
|
|
* gas/mips/insn-opts.s: New test source.
|
|
|
|
|
* gas/mips/mips.exp: Run the new test.
|
|
|
|
|
|
2014-10-21 07:57:41 +00:00
|
|
|
|
2014-10-21 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* gas/gas/all/cond.s: Also test processing of leading double
|
|
|
|
|
quote and trailing backslash in false branch of conditional.
|
|
|
|
|
* gas/gas/all/cond.l: Adjust accordingly.
|
|
|
|
|
|
2014-10-21 07:56:38 +00:00
|
|
|
|
2014-10-21 Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
* gas/ppc/power8.s: Test msgclr and msgsnd.
|
|
|
|
|
* gas/ppc/power8.d: Adjust accordingly.
|
|
|
|
|
|
2014-10-18 00:40:53 +00:00
|
|
|
|
2014-10-18 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/inval-equ-2.l: Adjust.
|
|
|
|
|
|
2014-10-14 23:21:53 +00:00
|
|
|
|
2014-10-09 Jose E. Marchesi <jose.marchesi@oracle.com>
|
2014-10-09 12:16:53 +00:00
|
|
|
|
|
|
|
|
|
* gas/sparc/hpcvis3.d: Remove tests for the `chkpt', `commit',
|
|
|
|
|
`random', `wr r,i,%cps' and `rd r,%cps' instructions.
|
|
|
|
|
* gas/sparc/hpcvis3.s: Likewise.
|
|
|
|
|
* gas/sparc/xcrypto.d: New file.
|
|
|
|
|
* gas/sparc/xcrypto.s: Likewise.
|
|
|
|
|
* gas/sparc/mwait.d: New file.
|
|
|
|
|
* gas/sparc/mwait.s: Likewise.
|
|
|
|
|
* gas/sparc/mcdper.s: New file.
|
|
|
|
|
* gas/sparc/mcdper.d: Likewise.
|
|
|
|
|
* gas/sparc/sparc5vis4.d: New file.
|
|
|
|
|
* gas/sparc/sparc5vis4.s: Likewise.
|
|
|
|
|
* gas/sparc/sparc.exp (sparc_elf_setup): Run the xcrypto test.
|
|
|
|
|
Run the mwait test.
|
|
|
|
|
Run the mcdper test.
|
|
|
|
|
` Run the sparc5vis4 test.
|
|
|
|
|
|
2014-09-27 02:54:32 +00:00
|
|
|
|
2014-09-27 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/elf/group2.d, * gas/elf/group2.s: New test.
|
|
|
|
|
* gas/elf/elf.exp: Run it.
|
|
|
|
|
|
2014-09-23 18:12:23 +00:00
|
|
|
|
2014-09-23 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR gas/17421
|
|
|
|
|
* gas/i386/i386.exp: Run inval-16.
|
|
|
|
|
|
|
|
|
|
* gas/i386/inval-16.l: New file.
|
|
|
|
|
* gas/i386/inval-16.s: Likewise.
|
|
|
|
|
|
2014-09-22 16:38:53 +00:00
|
|
|
|
2014-09-22 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/cdr.d: New file.
|
|
|
|
|
* gas/i386/cdr.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-cdr.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/i386.exp: Run cdr and x86-64-cdr.
|
|
|
|
|
|
2014-09-16 09:33:47 +00:00
|
|
|
|
2014-09-16 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512dq-rcig.s: New.
|
|
|
|
|
* gas/i386/avx512dq-rcigrd-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigrd.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigrne-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigrne.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigru-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigru.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigrz-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512dq-rcigrz.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcig.s: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigrd-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigrd.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigrne-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigrne.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigru-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigru.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigrz-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512er-rcigrz.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcig.s: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigrd-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigrd.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigrne-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigrne.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigru-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigru.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigrz-intel.d: Likewise.
|
|
|
|
|
* gas/i386/avx512f-rcigrz.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcig.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigrd-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigrd.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigrne-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigrne.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigru-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigru.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigrz-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-rcigrz.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcig.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigrd-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigrd.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigrne-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigrne.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigru-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigru.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigrz-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512er-rcigrz.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcig.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigrd-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigrd.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigrne-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigrne.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigru-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigru.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigrz-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-rcigrz.d: Likewise.
|
|
|
|
|
* gas/i386/i386.exp: Run new tests.
|
|
|
|
|
|
Add support for MIPS R6.
bfd/
* aoutx.h (NAME (aout, machine_type)): Add mips32r6 and mips64r6.
* archures.c (bfd_architecture): Likewise.
* bfd-in2.h (bfd_architecture): Likewise.
(bfd_reloc_code_real): Add relocs BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3 and
BFD_RELOC_MIPS_19_PCREL_S2.
* cpu-mips.c (arch_info_struct): Add mips32r6 and mips64r6.
* elf32-mips.c: Define relocs R_MIPS_PC21_S2, R_MIPS_PC26_S2
R_MIPS_PC18_S3, R_MIPS_PC19_S2, R_MIPS_PCHI16 and R_MIPS_PCLO16.
(mips_reloc_map): Add entries for BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
* elf64-mips.c: Define REL, and RELA relocations R_MIPS_PC21_S2,
R_MIPS_PC26_S2, R_MIPS_PC18_S3, R_MIPS_PC19_S2, R_MIPS_PCHI16
and R_MIPS_PCLO16.
(mips_reloc_map): Add entries for BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
* elfn32-mips.c: Likewise.
* elfxx-mips.c (MIPSR6_P): New define.
(mipsr6_exec_plt_entry): New array.
(hi16_reloc_p): Add support for R_MIPS_PCHI16.
(lo16_reloc_p): Add support for R_MIPS_PCLO16.
(aligned_pcrel_reloc_p): New function.
(mips_elf_relocation_needs_la25_stub): Add support for relocs:
R_MIPS_PC21_S2 and R_MIPS_PC26_S2.
(mips_elf_calculate_relocation): Add support for relocs:
R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3, R_MIPS_PC19_S2,
R_MIPS_PCHI16 and R_MIPS_PCLO16.
(_bfd_elf_mips_mach): Add support for mips32r6 and mips64r6.
(mips_elf_add_lo16_rel_addend): Add support for R_MIPS_PCHI16.
(_bfd_mips_elf_check_relocs): Add support for relocs:
R_MIPS_PC21_S2 and R_MIPS_PC26_S2.
(_bfd_mips_elf_relocate_section): Add a check for unaligned
pc relative relocs.
(_bfd_mips_elf_finish_dynamic_symbol): Add support for MIPS r6
plt entry.
(mips_set_isa_flags): Add support for mips32r6 and mips64r6.
(_bfd_mips_elf_print_private_bfd_data): Likewise.
(mips_32bit_flags_p): Add support for mips32r6.
* libbfd.h (bfd_reloc_code_real_names): Add entries for
BFD_RELOC_MIPS_21_PCREL_S2, BFD_RELOC_MIPS_26_PCREL_S2,
BFD_RELOC_MIPS_18_PCREL_S3 and BFD_RELOC_MIPS_19_PCREL_S2.
* reloc.c: Document relocs BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3 and
BFD_RELOC_MIPS_19_PCREL_S2.
binutils/
* readelf.c (get_machine_flags): Add support for mips32r6 and
mips64r6.
elfcpp/
* mips.h (E_MIPS_ARCH_32R6, E_MIPS_ARCH_64R6): New enum constants.
gas/
* config/tc-mips.c (mips_nan2008): New static global.
(mips_flag_nan2008): Removed.
(LL_SC_FMT): New define.
(COP12_FMT): Updated.
(ISA_IS_R6): New define.
(ISA_HAS_64BIT_REGS): Add mips64r6.
(ISA_HAS_DROR): Likewise.
(ISA_HAS_64BIT_FPRS): Add mips32r6 and mips64r6.
(ISA_HAS_ROR): Likewise.
(ISA_HAS_ODD_SINGLE_FPR): Likewise.
(ISA_HAS_MXHC1): Likewise.
(hilo_interlocks): Likewise.
(md_longopts): Likewise.
(ISA_HAS_LEGACY_NAN): New define.
(options): Add OPTION_MIPS32R6 and OPTION_MIPS64R6.
(mips_ase): Add field rem_rev.
(mips_ases): Updated to add which ISA an ASE was removed in.
(mips_isa_rev): Add support for mips32r6 and mips64r6.
(mips_check_isa_supports_ase): Add support to check if an ASE
has been removed in the specified MIPS ISA revision.
(validate_mips_insn): Skip '-' character.
(macro_build): Likewise.
(mips_check_options): Prevent R6 working with fp32, mips16,
micromips, or branch relaxation.
(file_mips_check_options): Set R6 floating point registers to
64 bit. Also deal with the nan2008 option.
(limited_pcrel_reloc_p): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
(operand_reg_mask): Add support for OP_SAME_RS_RT, OP_CHECK_PREV
and OP_NON_ZERO_REG.
(match_check_prev_operand): New static function.
(match_same_rs_rt_operand): New static function.
(match_non_zero_reg_operand): New static function.
(match_operand): Added entries for: OP_SAME_RS_RT, OP_CHECK_PREV
and OP_NON_ZERO_REG.
(insns_between): Added case to deal with forbidden slots.
(append_insn): Added support for relocs: BFD_RELOC_MIPS_21_PCREL_S2
and BFD_RELOC_MIPS_26_PCREL_S2.
(match_insn): Add support for operands -A, -B, +' and +". Also
skip '-' character.
(mips_percent_op): Add entries for %pcrel_hi and %pcrel_lo.
(md_parse_option): Add support for mips32r6 and mips64r6. Also
update the nan option handling.
(md_pcrel_from): Add cases for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2.
(mips_force_relocation): Prevent forced relaxation for MIPS r6.
(md_apply_fix): Add support for relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
(s_mipsset): Add support for mips32r6 and mips64r6.
(s_nan): Update to support the new nan2008 framework.
(tc_gen_reloc): Add relocs: BFD_RELOC_MIPS_21_PCREL_S2,
BFD_RELOC_MIPS_26_PCREL_S2, BFD_RELOC_MIPS_18_PCREL_S3,
BFD_RELOC_MIPS_19_PCREL_S2, BFD_RELOC_HI16_S_PCREL and
BFD_RELOC_LO16_PCREL.
(mips_elf_final_processing): Updated to use the mips_nan2008.
(mips_cpu_info_table): Add entries for mips32r6 and mips64r6.
(macro): Enable ldc2, sdc2, ll, lld, swc2, sc, scd, cache, pref
macros for R6.
(mips_fix_adjustable): Make PC relative R6 relocations relative
to the symbol and not the section.
* configure.ac: Add support for mips32r6 and mips64r6.
* configure: Regenerate.
* doc/c-mips.texi: Document the -mips32r6 and -mips64r6 command line
options.
* doc/as.texinfo: Likewise.
gas/testsuite/
* gas/mips/24k-triple-stores-1.s: If testing for r6 prevent
non-supported instructions from being tested.
* gas/mips/24k-triple-stores-2.s: Likewise.
* gas/mips/24k-triple-stores-3.s: Likewise.
* gas/mips/24k-triple-stores-6.s: Likewise.
* gas/mips/beq.s: Likewise.
* gas/mips/eva.s: Likewise.
* gas/mips/ld-zero-3.s: Likewise.
* gas/mips/mips32-cp2.s: Likewise.
* gas/mips/mips32.s: Likewise.
* gas/mips/mips4.s: Likewise.
* gas/mips/add.s: Don't test the add instructions if r6, and
add padding.
* gas/mips/add.d: Check for a triple dot not a nop at the end of the
disassembly output.
* gas/mips/micromips@add.d: Likewise.
* gas/mips/mipsr6@24k-branch-delay-1.d: New file.
* gas/mips/mipsr6@24k-triple-stores-1.d: New file.
* gas/mips/mipsr6@24k-triple-stores-2-llsc.d: New file.
* gas/mips/mipsr6@24k-triple-stores-2.d: New file.
* gas/mips/mipsr6@24k-triple-stores-3.d: New file.
* gas/mips/mipsr6@24k-triple-stores-6.d: New file.
* gas/mips/mipsr6@add.d: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msingle-float.l: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msingle-float.s: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msoft-float.l: New file.
* gas/mips/mipsr6@attr-gnu-4-1-msoft-float.s: New file.
* gas/mips/mipsr6@attr-gnu-4-2-mdouble-float.l: New file.
* gas/mips/mipsr6@attr-gnu-4-2-mdouble-float.s: New file.
* gas/mips/mipsr6@beq.d: New file.
* gas/mips/mipsr6@bge.d: New file.
* gas/mips/mipsr6@bgeu.d: New file.
* gas/mips/mipsr6@blt.d: New file.
* gas/mips/mipsr6@bltu.d: New file.
* gas/mips/mipsr6@branch-misc-1.d: New file.
* gas/mips/mipsr6@branch-misc-2-64.d: New file.
* gas/mips/mipsr6@branch-misc-2pic-64.d: New file.
* gas/mips/mipsr6@branch-misc-4-64.d: New file.
* gas/mips/mipsr6@cache.d: New file.
* gas/mips/mipsr6@eva.d: New file.
* gas/mips/mipsr6@jal-svr4pic-noreorder.d: New file.
* gas/mips/mipsr6@jal-svr4pic.d: New file.
* gas/mips/mipsr6@ld-zero-2.d: New file.
* gas/mips/mipsr6@ld-zero-3.d: New file.
* gas/mips/mipsr6@loc-swap-dis.d: New file.
* gas/mips/mipsr6@mips32-cp2.d: New file.
* gas/mips/mipsr6@mips32-imm.d: New file.
* gas/mips/mipsr6@mips32.d: New file.
* gas/mips/mipsr6@mips32r2.d: New file.
* gas/mips/mipsr6@mips4-fp.d: New file.
* gas/mips/mipsr6@mips4-fp.l: New file.
* gas/mips/mipsr6@mips4-fp.s: New file.
* gas/mips/mipsr6@mips4.d: New file.
* gas/mips/mipsr6@mips5-fp.d: New file.
* gas/mips/mipsr6@mips5-fp.l: New file.
* gas/mips/mipsr6@mips5-fp.s: New file.
* gas/mips/mipsr6@mips64.d: New file.
* gas/mips/mipsr6@msa-branch.d: New file.
* gas/mips/mipsr6@msa.d: New file.
* gas/mips/mipsr6@pref.d: New file.
* gas/mips/mipsr6@relax-swap3.d: New file.
* gas/mips/r6-64-n32.d: New file.
* gas/mips/r6-64-n64.d: New file.
* gas/mips/r6-64-removed.l: New file.
* gas/mips/r6-64-removed.s: New file.
* gas/mips/r6-64.s: New file.
* gas/mips/r6-attr-none-double.d: New file.
* gas/mips/r6-n32.d: New file.
* gas/mips/r6-n64.d: New file.
* gas/mips/r6-removed.l: New file.
* gas/mips/r6-removed.s: New file.
* gas/mips/r6.d: New file.
* gas/mips/r6.s: New file.
* gas/mips/mipsr6@mips32-dsp.d: New file.
* gas/mips/mipsr6@mips32-dspr2.d: New file.
* gas/mips/mipsr6@mips32r2-ill.l: New file.
* gas/mips/mipsr6@mips32r2-ill.s: New file.
* gas/mips/cache.s: Add r6 instruction varients.
* gas/mips/mips.exp: Add support for the mips32r6 and mips64r6
architectures. Also prevent non r6 supported tests from running.
Finally, add in support for running the new r6 tests.
(run_dump_test_arch): Add support for mipsr6 tests.
(run_list_test_arch): Add support for using files of the
form arch@testname.l .
include/elf/
* mips.h: Add relocs: R_MIPS_PC21_S2, R_MIPS_PC26_S2, R_MIPS_PC18_S3,
R_MIPS_PC19_S2, R_MIPS_PCHI16 and R_MIPS_PCLO16.
(E_MIPS_ARCH_32R6): New define.
(E_MIPS_ARCH_64R6): New define.
include/opcode/
* mips.h (mips_operand_type): Add new entries: OP_SAME_RS_RT,
OP_CHECK_PREV and OP_NON_ZERO_REG. Add descriptions for the MIPS R6
instruction arguments: -a, -b, -d, -s, -t, -u, -v, -w, -x, -y, -A, -B,
+I, +O, +R, +:, +\, +", +;
(mips_check_prev_operand): New struct.
(INSN2_FORBIDDEN_SLOT): New define.
(INSN_ISA32R6): New define.
(INSN_ISA64R6): New define.
(INSN_UPTO32R6): New define.
(INSN_UPTO64R6): New define.
(mips_isa_table): Add INSN_UPTO32R6 and INSN_UPTO64R6.
(ISA_MIPS32R6): New define.
(ISA_MIPS64R6): New define.
(CPU_MIPS32R6): New define.
(CPU_MIPS64R6): New define.
(cpu_is_member): Add cases for CPU_MIPS32R6, and CPU_MIPS64R6.
ld/
* ldmain.c (get_emulation): Add support for -mips32r6 and -mips64r6.
opcodes/
* mips-dis.c (mips_arch_choices): Add entries for mips32r6 and
mips64r6.
(parse_mips_dis_option): Allow MSA and virtualization support for
mips64r6.
(mips_print_arg_state): Add fields dest_regno and seen_dest.
(mips_seen_register): New function.
(print_insn_arg): Refactored code to use mips_seen_register
function. Add support for OP_SAME_RS_RT, OP_CHECK_PREV and
OP_NON_ZERO_REG. Changed OP_REPEAT_DEST_REG case to print out
the register rather than aborting.
(print_insn_args): Add length argument. Add code to correctly
calculate the instruction address for pc relative instructions.
(validate_insn_args): New static function.
(print_insn_mips): Prevent jalx disassembling for r6. Use
validate_insn_args.
(print_insn_micromips): Use validate_insn_args.
all the arguments are valid.
* mips-formats.h (PREV_CHECK): New define.
* mips-opc.c (decode_mips_operand): Add support for -a, -b, -d, -s,
-t, -u, -v, -w, -x, -y, -A, -B, +I, +O, +R, +:, +\, +", +;
(RD_pc): New define.
(FS): New define.
(I37): New define.
(I69): New define.
(mips_builtin_opcodes): Add MIPS R6 instructions. Exclude recoded
MIPS R6 instructions from MIPS R2 instructions.
2014-09-10 10:32:01 +00:00
|
|
|
|
2014-09-15 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/24k-triple-stores-1.s: If testing for r6 prevent
|
|
|
|
|
non-supported instructions from being tested.
|
|
|
|
|
* gas/mips/24k-triple-stores-2.s: Likewise.
|
|
|
|
|
* gas/mips/24k-triple-stores-3.s: Likewise.
|
|
|
|
|
* gas/mips/24k-triple-stores-6.s: Likewise.
|
|
|
|
|
* gas/mips/beq.s: Likewise.
|
|
|
|
|
* gas/mips/eva.s: Likewise.
|
|
|
|
|
* gas/mips/ld-zero-3.s: Likewise.
|
|
|
|
|
* gas/mips/mips32-cp2.s: Likewise.
|
|
|
|
|
* gas/mips/mips32.s: Likewise.
|
|
|
|
|
* gas/mips/mips4.s: Likewise.
|
|
|
|
|
* gas/mips/add.s: Don't test the add instructions if r6, and
|
|
|
|
|
add padding.
|
|
|
|
|
* gas/mips/add.d: Check for a triple dot not a nop at the end of the
|
|
|
|
|
disassembly output.
|
|
|
|
|
* gas/mips/micromips@add.d: Likewise.
|
|
|
|
|
* gas/mips/mipsr6@24k-branch-delay-1.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@24k-triple-stores-1.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@24k-triple-stores-2-llsc.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@24k-triple-stores-2.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@24k-triple-stores-3.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@24k-triple-stores-6.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@add.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@attr-gnu-4-1-msingle-float.l: New file.
|
|
|
|
|
* gas/mips/mipsr6@attr-gnu-4-1-msingle-float.s: New file.
|
|
|
|
|
* gas/mips/mipsr6@attr-gnu-4-1-msoft-float.l: New file.
|
|
|
|
|
* gas/mips/mipsr6@attr-gnu-4-1-msoft-float.s: New file.
|
|
|
|
|
* gas/mips/mipsr6@attr-gnu-4-2-mdouble-float.l: New file.
|
|
|
|
|
* gas/mips/mipsr6@attr-gnu-4-2-mdouble-float.s: New file.
|
|
|
|
|
* gas/mips/mipsr6@beq.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@bge.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@bgeu.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@blt.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@bltu.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@branch-misc-1.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@branch-misc-2-64.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@branch-misc-2pic-64.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@branch-misc-4-64.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@cache.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@eva.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@jal-svr4pic-noreorder.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@jal-svr4pic.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@ld-zero-2.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@ld-zero-3.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@loc-swap-dis.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32-cp2.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32-imm.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32r2.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips4-fp.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips4-fp.l: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips4-fp.s: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips4.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips5-fp.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips5-fp.l: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips5-fp.s: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips64.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@msa-branch.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@msa.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@pref.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@relax-swap3.d: New file.
|
|
|
|
|
* gas/mips/r6-64-n32.d: New file.
|
|
|
|
|
* gas/mips/r6-64-n64.d: New file.
|
|
|
|
|
* gas/mips/r6-64-removed.l: New file.
|
|
|
|
|
* gas/mips/r6-64-removed.s: New file.
|
|
|
|
|
* gas/mips/r6-64.s: New file.
|
|
|
|
|
* gas/mips/r6-attr-none-double.d: New file.
|
|
|
|
|
* gas/mips/r6-n32.d: New file.
|
|
|
|
|
* gas/mips/r6-n64.d: New file.
|
|
|
|
|
* gas/mips/r6-removed.l: New file.
|
|
|
|
|
* gas/mips/r6-removed.s: New file.
|
|
|
|
|
* gas/mips/r6.d: New file.
|
|
|
|
|
* gas/mips/r6.s: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32-dsp.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32-dspr2.d: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32r2-ill.l: New file.
|
|
|
|
|
* gas/mips/mipsr6@mips32r2-ill.s: New file.
|
|
|
|
|
* gas/mips/cache.s: Add r6 instruction varients.
|
|
|
|
|
* gas/mips/mips.exp: Add support for the mips32r6 and mips64r6
|
|
|
|
|
architectures. Also prevent non r6 supported tests from running.
|
|
|
|
|
Finally, add in support for running the new r6 tests.
|
|
|
|
|
(run_dump_test_arch): Add support for mipsr6 tests.
|
|
|
|
|
(run_list_test_arch): Add support for using files of the
|
|
|
|
|
form arch@testname.l .
|
|
|
|
|
|
2014-09-15 09:32:38 +00:00
|
|
|
|
2014-09-15 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/attr-gnu-4-5-msingle-float.l: New file.
|
|
|
|
|
* gas/mips/attr-gnu-4-5-msingle-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5-msoft-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-msingle-float.l: Update expected output.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-msingle-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/mips.exp: Update expected output for FP ABI 5,6,7.
|
|
|
|
|
|
2014-09-10 11:41:28 +00:00
|
|
|
|
2014-09-12 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips.exp: Add mips*-img-elf* target triple.
|
|
|
|
|
|
2014-09-10 16:38:31 +00:00
|
|
|
|
2014-09-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/i386.exp: Run suffix-intel, x86-64-suffix and
|
|
|
|
|
x86-64-suffix-intel.
|
|
|
|
|
|
|
|
|
|
* gas/i386/suffix.s: Add tests for iret and sysret.
|
|
|
|
|
* gas/i386/suffix.d: Updated.
|
|
|
|
|
|
|
|
|
|
* gas/i386/suffix-intel.d: New file.
|
|
|
|
|
* gas/i386/x86-64-suffix-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-suffix.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-suffix.s: Likewise.
|
|
|
|
|
|
2014-09-10 04:56:25 +00:00
|
|
|
|
2014-09-10 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/got_prel.d: Adjust for changed section header placement.
|
|
|
|
|
* gas/i386/ilp32/x86-64-size-1.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-size-3.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-size-5.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-unwind.d: Likewise.
|
|
|
|
|
* gas/i386/size-1.d: Likewise.
|
|
|
|
|
* gas/i386/size-3.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-size-1.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-size-3.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-size-5.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-unwind.d: Likewise.
|
|
|
|
|
* gas/ia64/alias-ilp32.d: Likewise.
|
|
|
|
|
* gas/ia64/alias.d: Likewise.
|
|
|
|
|
* gas/ia64/group-1.d: Likewise.
|
|
|
|
|
* gas/ia64/group-2.d: Likewise.
|
|
|
|
|
* gas/ia64/secname-ilp32.d: Likewise.
|
|
|
|
|
* gas/ia64/secname.d: Likewise.
|
|
|
|
|
* gas/ia64/unwind-ilp32.d: Likewise.
|
|
|
|
|
* gas/ia64/unwind.d: Likewise.
|
|
|
|
|
* gas/mmix/bspec-1.d: Likewise.
|
|
|
|
|
* gas/mmix/bspec-2.d: Likewise.
|
|
|
|
|
* gas/mmix/byte-1.d: Likewise.
|
|
|
|
|
* gas/mmix/loc-1.d: Likewise.
|
|
|
|
|
* gas/mmix/loc-2.d: Likewise.
|
|
|
|
|
* gas/mmix/loc-3.d: Likewise.
|
|
|
|
|
* gas/mmix/loc-4.d: Likewise.
|
|
|
|
|
* gas/mmix/loc-5.d: Likewise.
|
|
|
|
|
* gas/tic6x/scomm-directive-4.d: Likewise.
|
|
|
|
|
|
2014-09-02 07:25:23 +00:00
|
|
|
|
2014-09-06 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/attr-gnu-abi-fp-1.d: Relax expected output.
|
|
|
|
|
* gas/mips/elf_ase_micromips-2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_micromips.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_mips16-2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_mips16.d: Likewise.
|
|
|
|
|
* gas/mips/module-mfp32.d: Likewise.
|
|
|
|
|
* gas/mips/module-msingle-float.d: Likewise.
|
|
|
|
|
* gas/mips/module-msoft-float.d: Likewise.
|
|
|
|
|
|
2014-09-02 07:25:23 +00:00
|
|
|
|
2014-09-06 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/module-defer-warn2.l: Ignore differences in output from
|
|
|
|
|
64-bit vs 32-bit targets using O32.
|
|
|
|
|
|
2014-09-02 07:25:23 +00:00
|
|
|
|
2014-09-06 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/elf/type.e: Account for new sections.
|
|
|
|
|
* gas/mips/mips16-e.d: Likewise.
|
|
|
|
|
* gas/mips/mips16-f.d: Likewise.
|
|
|
|
|
* gas/mips/mipsel16-e.d: Likewise.
|
|
|
|
|
* gas/mips/mipsel16-f.d: Likewise.
|
|
|
|
|
* gas/mips/tmips16-e.d: Appropriately escape dots.
|
|
|
|
|
* gas/mips/tmips16-f.d: Likewise.
|
|
|
|
|
* gas/mips/tmipsel16-e.d: Likewise.
|
|
|
|
|
* gas/mips/tmipsel16-f.d: Likewise.
|
|
|
|
|
|
2014-09-04 08:38:45 +00:00
|
|
|
|
2014-09-04 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips.exp: Add mipsisa32 and mipsisa32el to
|
|
|
|
|
the list of addr32 targets.
|
|
|
|
|
|
2014-09-03 13:45:26 +00:00
|
|
|
|
2014-09-03 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/illegal.s: Update testcase.
|
|
|
|
|
* gas/aarch64/illegal.d: Likewise.
|
|
|
|
|
* gas/aarch64/sysreg-1.s: Likewise.
|
|
|
|
|
* gas/aarch64/sysreg-1.d: Likewise.
|
|
|
|
|
|
2014-09-03 13:40:41 +00:00
|
|
|
|
2014-09-03 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/lse-atomic.d: New.
|
|
|
|
|
* gas/aarch64/lse-atomic.s: Likewise.
|
|
|
|
|
* gas/aarch64/illegal-lse.d: Likewise.
|
|
|
|
|
* gas/aarch64/illegal-lse.l: Likewise.
|
|
|
|
|
* gas/aarch64/illegal-lse.s: Likewise.
|
|
|
|
|
* gas/aarch64/diagnostic.s: Check processor feature detect for lse
|
|
|
|
|
instruction.
|
|
|
|
|
* gas/aarch64/diagnostic.l: Likewise.
|
|
|
|
|
|
2014-08-26 15:18:36 +00:00
|
|
|
|
2014-08-26 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/blx-bl-convert.d: New testcase.
|
|
|
|
|
* gas/arm/blx-bl-convert.l: Warning expectation.
|
|
|
|
|
* gas/arm/blx-bl-convert.s: Source file.
|
|
|
|
|
|
2014-08-26 11:57:42 +00:00
|
|
|
|
2014-08-26 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/l_d.d: Remove ECOFF offset alternatives.
|
|
|
|
|
* gas/mips/mips1@l_d.d: Likewise.
|
|
|
|
|
* gas/mips/ld.d: Likewise.
|
|
|
|
|
* gas/mips/mips1@ld.d: Likewise.
|
|
|
|
|
* gas/mips/mips1@ld-forward.d: Likewise.
|
|
|
|
|
* gas/mips/s_d.d: Likewise.
|
|
|
|
|
* gas/mips/mips1@s_d.d: Likewise.
|
|
|
|
|
* gas/mips/sd.d: Likewise.
|
|
|
|
|
|
gas tests for the sparc instructions ldfsr, stfsr, ldx, ldxa, stx, stxa, ldxfsr, stxfsr, ldxefsr.
- V8 instructions: ldfsr, stfsr
- V9 instructions: ldx, ldxa, stx, stxa, ldxfsr, stxfsr
- V9b instructions: ldxefsr
Tested on sparc64-*-linux-gnu.
[gas/testsuite/Changelog]
2014-08-25 Jose E. Marchesi <jose.marchesi@oracle.com>
* gas/sparc/ldx_stx.s: New file.
* gas/sparc/ldx_stx.d: Likewise.
* gas/sparc/ldx_efsr.s: New file.
* gas/sparc/ldx_efsr.d: Likewise.
* gas/sparc/ld_st_fsr.s: New file.
* gas/sparc/ld_st_fsr.d: Likewise.
* gas/sparc/sparc.exp: Run the tests ldx_stx, ldx_efsr and
ld_st_fsr.
2014-08-25 11:08:31 +00:00
|
|
|
|
2014-08-25 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* gas/sparc/ldx_stx.s: New file.
|
|
|
|
|
* gas/sparc/ldx_stx.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/sparc/ldx_efsr.s: New file.
|
|
|
|
|
* gas/sparc/ldx_efsr.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/sparc/ld_st_fsr.s: New file.
|
|
|
|
|
* gas/sparc/ld_st_fsr.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/sparc/sparc.exp: Run the tests ldx_stx, ldx_efsr and
|
|
|
|
|
ld_st_fsr.
|
|
|
|
|
|
2014-08-22 15:42:12 +00:00
|
|
|
|
2014-08-22 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/arch7a-mp.d: Adjust according to `print_arm_address'
|
|
|
|
|
offset fix.
|
|
|
|
|
* gas/arm/arch7r-mp.d: Likewise.
|
|
|
|
|
|
2014-08-21 00:52:13 +00:00
|
|
|
|
2014-08-21 Maciej W. Rozycki <macro@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips.exp: Correct indentation.
|
|
|
|
|
|
2014-08-20 15:49:53 +00:00
|
|
|
|
2014-08-20 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/ual-vcmp.s: New file.
|
|
|
|
|
* gas/arm/ual-vcmp.d: Likewise.
|
|
|
|
|
* gas/arm/vcmp-zero-bad.s: Likewise.
|
|
|
|
|
* gas/arm/vcmp-zero-bad.d: Likewise.
|
|
|
|
|
* gas/arm/vcmp-zero-bad.l: Likewise.
|
|
|
|
|
|
2011-02-05 21:37:39 +00:00
|
|
|
|
2014-08-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* gas/bfin/parallel_illegal.d: Add missing semicolons.
|
|
|
|
|
|
2014-07-26 18:14:37 +00:00
|
|
|
|
2014-08-13 Mike Frysinger <vapier@gentoo.org>
|
|
|
|
|
|
|
|
|
|
* gas/bfin/load.d: Update output.
|
|
|
|
|
* gas/bfin/load.s: Add .data section.
|
|
|
|
|
|
2014-08-12 22:53:48 +00:00
|
|
|
|
2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/omit-lock.s: Remove type directive.
|
|
|
|
|
|
2014-08-01 13:58:32 +00:00
|
|
|
|
2014-08-06 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/i386.exp: Run new tests.
|
|
|
|
|
* gas/i386/omit-lock-no.d: New.
|
|
|
|
|
* gas/i386/omit-lock-yes.d: Ditto.
|
|
|
|
|
* gas/i386/omit-lock.s: Ditto.
|
|
|
|
|
|
[MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions
Specification:
https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
include/
* elf/mips.h (PT_MIPS_ABIFLAGS, SHT_MIPS_ABIFLAGS): Define.
(Val_GNU_MIPS_ABI_FP_OLD_64): Rename from Val_GNU_MIPS_ABI_FP_64.
(Val_GNU_MIPS_ABI_FP_64): Redefine.
(Val_GNU_MIPS_ABI_FP_XX): Define.
(Elf_External_ABIFlags_v0, Elf_Internal_ABIFlags_v0): New structures.
(AFL_REG_NONE, AFL_REG_32, AFL_REG_64, AFL_REG_128): Define.
(AFL_ASE_DSP, AFL_ASE_DSPR2, AFL_ASE_EVA, AFL_ASE_MCU): Likewise.
(AFL_ASE_MDMX, AFL_ASE_MIPS3D, AFL_ASE_MT, AFL_ASE_SMARTMIPS): Likewise.
(AFL_ASE_VIRT, AFL_ASE_MSA, AFL_ASE_MIPS16): Likewise.
(AFL_ASE_MICROMIPS, AFL_ASE_XPA): Likewise.
(AFL_EXT_XLR, AFL_EXT_OCTEON2, AFL_EXT_OCTEONP): Likewise.
(AFL_EXT_LOONGSON_3A, AFL_EXT_OCTEON, AFL_EXT_5900): Likewise.
(AFL_EXT_4650, AFL_EXT_4010, AFL_EXT_4100, AFL_EXT_3900): Likewise.
(AFL_EXT_10000, AFL_EXT_SB1, AFL_EXT_4111, AFL_EXT_4120): Likewise.
(AFL_EXT_5400, AFL_EXT_5500, AFL_EXT_LOONGSON_2E): Likewise.
(AFL_EXT_LOONGSON_2F): Likewise.
(bfd_mips_elf_swap_abiflags_v0_in): Prototype.
(bfd_mips_elf_swap_abiflags_v0_out): Likewise.
(bfd_mips_isa_ext): Likewise.
bfd/
* elfxx-mips.c (ABI_O32_P, MIPS_ELF_ABIFLAGS_SECTION_NAME_P): New macro.
(mips_elf_obj_tdata): Add abiflags and abiflags_valid fields.
(bfd_mips_elf_swap_abiflags_v0_in): New function.
(bfd_mips_elf_swap_abiflags_v0_out): Likewise.
(_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_ABIFLAGS.
(_bfd_mips_elf_fake_sections): Likewise.
(_bfd_mips_elf_always_size_sections): Handle .MIPS.abiflags.
(_bfd_mips_elf_additional_program_headers): Account for new
PT_MIPS_ABIFLAGS program header.
(_bfd_mips_elf_modify_segment_map): Create PT_MIPS_ABIFLAGS segment and
associate with .MIPS.abiflags.
(_bfd_mips_elf_gc_mark_extra_sections): New function.
(bfd_mips_isa_ext, update_mips_abiflags_isa): New static function.
(infer_mips_abiflags): Likewise.
(_bfd_mips_elf_final_link): Handle .MIPS.abiflags.
(mips_32bit_flags_p): Moved higher.
(mips_elf_merge_obj_attributes, _bfd_mips_fp_abi_string): Error
checking for FP ABIs.
(_bfd_mips_elf_merge_private_bfd_data): Restructure and add abiflags
checks. Check EF_MIPS_FP64 flag consistency.
(print_mips_ases, print_mips_isa_ext): New static function.
(print_mips_fp_abi_value, get_mips_reg_size): Likewise.
(_bfd_mips_elf_print_private_bfd_data): Display abiflags data.
(_bfd_mips_post_process_headers): Set EI_ABIVERSION = 3 for
Val_GNU_MIPS_ABI_FP_64 or Val_GNU_MIPS_ABI_FP_64A.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_extra_sections): New prototype.
* elf32-mips.c (elf_backend_gc_mark_extra_sections): Implement.
* elfn32-mips.c (elf_backend_gc_mark_extra_sections): Implement.
* elf64-mips.c (elf_backend_gc_mark_extra_sections): Implement.
binutils/
* readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
(get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
(display_mips_gnu_attribute): Abstracted fp abi printing to...
(print_mips_fp_abi_value): New static function. Handle new FP ABIs.
(print_mips_ases, print_mips_isa_ext): New static functions.
(get_mips_reg_size): Likewise.
(process_mips_specific): Display abiflags data.
elfcpp/
* elfcpp.h (PT_MIPS_ABIFLAGS): New program header type.
gas/
* config/tc-mips.c (mips_flags_frag): New static global.
(struct mips_set_options): Add oddspreg field.
(file_mips_opts, mips_opts): Initialize oddspreg.
(ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
Loongson-3a.
(enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
and -mno-odd-spreg options.
(md_begin): Create .MIPS.abiflags section.
(fpabi_incompatible_with, fpabi_requires): New static function.
(check_fpabi): Likewise.
(mips_check_options): Handle fp=xx and oddspreg restrictions.
(file_mips_check_options): Set oddspreg by default for fp=xx.
(mips_oddfpreg_ok): Re-write function.
(check_regno): Check odd numbered registers regardless of FPR size.
For fp != 32 use as_bad instead of as_warn.
(match_float_constant): Rewrite check regarding FP register width. Add
support for generating constants when MXHC1 is present. Handle fp=xx
to comply with the ABI.
(macro): Update M_LI_DD similarly to match_float_constant. Generate
MTHC1 when available. Check that correct code can be generated for
fp=xx and fp=64 ABIs.
(parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
options.
(mips_convert_ase_flags): New static function.
(mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
to determine when to add the EF_MIPS_FP64 flag. Populate the
.MIPS.abiflags section.
(md_mips_end): Update .gnu_attribute based on command line and .module
as applicable. Use check_fpabi to ensure .gnu.attribute and command
line/.module options are consistent.
* doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
-mfpxx, -modd-spreg and -mno-odd-spreg options.
* doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
gnu_attribute values and FP ABIs.
ld/
* emulparams/elf32bmip.sh: Add .MIPS.abiflags.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf64bmip-defs.sh: Likewise.
opcodes/
* micromips-opc.c (COD, LCD) New macros.
(cfc1, ctc1): Remove FP_S attribute.
(dmfc1, mfc1, mfhc1): Add LCD attribute.
(dmtc1, mtc1, mthc1): Add COD attribute.
* mips-opc.c (cfc1, cftc1, ctc, cttc1): Remove FP_S attribute.
binutils/testsuite/
* binutils-all/readelf.s: Account for .MIPS.abiflags and
.gnu.attributes.
* binutils-all/readelf.ss-tmips: Likewise.
* binutils-all/strip-3.d: Likewise.
gas/testsuite/
* gas/mips/attr-gnu-4-0.d: New.
* gas/mips/attr-gnu-4-0.s: Likewise.
* gas/mips/attr-gnu-4-1-mfp32.l: Likewise.
* gas/mips/attr-gnu-4-1-mfp32.s: Likewise.
* gas/mips/attr-gnu-4-1-mfp64.l: Likewise.
* gas/mips/attr-gnu-4-1-mfp64.s: Likewise.
* gas/mips/attr-gnu-4-1-mfpxx.s: Likewise.
* gas/mips/attr-gnu-4-1-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-1-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-1-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-1-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-1.d: Likewise.
* gas/mips/attr-gnu-4-1.s: Likewise.
* gas/mips/attr-gnu-4-2-mdouble-float.l: Likewise.
* gas/mips/attr-gnu-4-2-mdouble-float.s: Likewise.
* gas/mips/attr-gnu-4-2-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-2-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-2.d: Likewise.
* gas/mips/attr-gnu-4-2.s: Likewise.
* gas/mips/attr-gnu-4-3-mhard-float.l: Likewise.
* gas/mips/attr-gnu-4-3-mhard-float.s: Likewise.
* gas/mips/attr-gnu-4-3.d: Likewise.
* gas/mips/attr-gnu-4-3.s: Likewise.
* gas/mips/attr-gnu-4-4.l: Likewise.
* gas/mips/attr-gnu-4-4.s: Likewise.
* gas/mips/attr-gnu-4-5-64.l: Likewise.
* gas/mips/attr-gnu-4-5-64.s: Likewise.
* gas/mips/attr-gnu-4-5.d: Likewise.
* gas/mips/attr-gnu-4-5.l: Likewise.
* gas/mips/attr-gnu-4-5.s: Likewise.
* gas/mips/attr-gnu-4-6-64.l: Likewise.
* gas/mips/attr-gnu-4-6-64.s: Likewise.
* gas/mips/attr-gnu-4-6.d: Likewise.
* gas/mips/attr-gnu-4-6.l: Likewise.
* gas/mips/attr-gnu-4-6.s: Likewise.
* gas/mips/attr-gnu-4-6-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-6-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-6-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-6-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-6-noodd.l: Likewise.
* gas/mips/attr-gnu-4-6-noodd.s: Likewise.
* gas/mips/attr-gnu-4-7-64.l: Likewise.
* gas/mips/attr-gnu-4-7-64.s: Likewise.
* gas/mips/attr-gnu-4-7-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-7-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-7-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-7-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-7-odd.l: Likewise.
* gas/mips/attr-gnu-4-7-odd.s: Likewise.
* gas/mips/attr-gnu-4-7.d: Likewise.
* gas/mips/attr-gnu-4-7.l: Likewise.
* gas/mips/attr-gnu-4-7.s: Likewise.
* gas/mips/attr-none-double.d: Likewise.
* gas/mips/attr-none-o32-fp64.d: Likewise.
* gas/mips/attr-none-o32-fp64-nooddspreg.d
* gas/mips/attr-none-o32-fpxx.d: Likewise.
* gas/mips/attr-none-single-float.d: Likewise.
* gas/mips/attr-none-soft-float.d: Likewise.
* gas/mips/elf_arch_mips32r3.d: Likewise.
* gas/mips/elf_arch_mips32r5.d: Likewise.
* gas/mips/elf_arch_mips64r3.d: Likewise.
* gas/mips/elf_arch_mips64r5.d: Likewise.
* gas/mips/li-d.d: Likewise.
* gas/mips/li-d.s: Likewise.
* gas/mips/module-check-warn.l: Likewise.
* gas/mips/module-check-warn.s: Likewise.
* gas/mips/module-check.d: Likewise.
* gas/mips/module-check.s: Likewise.
* gas/mips/module-mfp32.d: Likewise.
* gas/mips/module-mfp32.s: Likewise.
* gas/mips/module-mfp64.d: Likewise.
* gas/mips/module-mfp64.s: Likewise.
* gas/mips/module-mfp64-noodd.d: Likewise.
* gas/mips/module-mfp64-noodd.s: Likewise.
* gas/mips/module-mfpxx.d: Likewise.
* gas/mips/module-mfpxx.s: Likewise.
* gas/mips/module-msingle-float.d: Likewise.
* gas/mips/module-msingle-float.s: Likewise.
* gas/mips/module-msoft-float.d: Likewise.
* gas/mips/module-msoft-float.s: Likewise.
* gas/mips/module-set-mfpxx.d: Likewise.
* gas/mips/module-set-mfpxx.s: Likewise.
* gas/mips/fpxx-oddfpreg.d: Likewise.
* gas/mips/fpxx-oddfpreg.l: Likewise.
* gas/mips/fpxx-oddfpreg.s: Likewise.
* gas/mips/no-odd-spreg.d: Likewise.
* gas/mips/odd-spreg.d: Likewise.
* gas/elf/section2.e-mips: Adjust expected output.
* gas/mips/attr-gnu-abi-fp-1.d: Likewise.
* gas/mips/attr-gnu-abi-msa-1.d: Likewise.
* gas/mips/call-nonpic-1.d: Likewise.
* gas/mips/elf_arch_mips1.d: Likewise.
* gas/mips/elf_arch_mips2.d: Likewise.
* gas/mips/elf_arch_mips3.d: Likewise.
* gas/mips/elf_arch_mips32.d: Likewise.
* gas/mips/elf_arch_mips32r2.d: Likewise.
* gas/mips/elf_arch_mips4.d: Likewise.
* gas/mips/elf_arch_mips5.d: Likewise.
* gas/mips/elf_arch_mips64.d: Likewise.
* gas/mips/elf_arch_mips64r2.d: Likewise.
* gas/mips/elf_ase_micromips-2.d: Likewise.
* gas/mips/elf_ase_micromips.d: Likewise.
* gas/mips/elf_ase_mips16-2.d: Likewise.
* gas/mips/elf_ase_mips16.d: Likewise.
* gas/mips/module-defer-warn1.d: Likewise.
* gas/mips/module-override.d: Likewise.
* gas/mips/n32-consec.d: Likewise.
* gas/mips/nan-2008-1.d: Likewise.
* gas/mips/nan-2008-2.d: Likewise.
* gas/mips/nan-2008-3.d: Likewise.
* gas/mips/nan-2008-4.d: Likewise.
* gas/mips/nan-legacy-1.d: Likewise.
* gas/mips/nan-legacy-2.d: Likewise.
* gas/mips/nan-legacy-3.d: Likewise.
* gas/mips/nan-legacy-4.d: Likewise.
* gas/mips/nan-legacy-5.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmips16-f.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/tmipsel16-f.d: Likewise.
* gas/testsuite/gas/mips/mips.exp: Add new tests.
ld/testsuite/
* ld-mips-elf/abiflags-strip1-ph.d: New.
* ld-mips-elf/abiflags-strip2-ph.d: Likewise.
* ld-mips-elf/abiflags-strip3-ph.d: Likewise.
* ld-mips-elf/abiflags-strip4-ph.d: Likewise.
* ld-mips-elf/abiflags-strip5-ph.d: Likewise.
* ld-mips-elf/abiflags-strip6-ph.d: Likewise.
* ld-mips-elf/abiflags-strip7-ph.d: Likewise.
* ld-mips-elf/abiflags-strip8-ph.d: Likewise.
* ld-mips-elf/abiflags-strip9-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-06.d: Likewise.
* ld-mips-elf/attr-gnu-4-07.d: Likewise.
* ld-mips-elf/attr-gnu-4-08.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-16.d: Likewise.
* ld-mips-elf/attr-gnu-4-17.d: Likewise.
* ld-mips-elf/attr-gnu-4-18.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-26.d: Likewise.
* ld-mips-elf/attr-gnu-4-27.d: Likewise.
* ld-mips-elf/attr-gnu-4-28.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-36.d: Likewise.
* ld-mips-elf/attr-gnu-4-37.d: Likewise.
* ld-mips-elf/attr-gnu-4-38.d: Likewise.
* ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-46.d: Likewise.
* ld-mips-elf/attr-gnu-4-47.d: Likewise.
* ld-mips-elf/attr-gnu-4-48.d: Likewise.
* ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-50.d: Likewise.
* ld-mips-elf/attr-gnu-4-52.d: Likewise.
* ld-mips-elf/attr-gnu-4-53.d: Likewise.
* ld-mips-elf/attr-gnu-4-54.d: Likewise.
* ld-mips-elf/attr-gnu-4-55.d: Likewise.
* ld-mips-elf/attr-gnu-4-56.d: Likewise.
* ld-mips-elf/attr-gnu-4-57.d: Likewise.
* ld-mips-elf/attr-gnu-4-58.d: Likewise.
* ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-6.s: Likewise.
* ld-mips-elf/attr-gnu-4-60.d: Likewise.
* ld-mips-elf/attr-gnu-4-61.d: Likewise.
* ld-mips-elf/attr-gnu-4-62.d: Likewise.
* ld-mips-elf/attr-gnu-4-63.d: Likewise.
* ld-mips-elf/attr-gnu-4-64.d: Likewise.
* ld-mips-elf/attr-gnu-4-65.d: Likewise.
* ld-mips-elf/attr-gnu-4-66.d: Likewise.
* ld-mips-elf/attr-gnu-4-67.d: Likewise.
* ld-mips-elf/attr-gnu-4-68.d: Likewise.
* ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-7.s: Likewise.
* ld-mips-elf/attr-gnu-4-70.d: Likewise.
* ld-mips-elf/attr-gnu-4-71.d: Likewise.
* ld-mips-elf/attr-gnu-4-72.d: Likewise.
* ld-mips-elf/attr-gnu-4-73.d: Likewise.
* ld-mips-elf/attr-gnu-4-74.d: Likewise.
* ld-mips-elf/attr-gnu-4-75.d: Likewise.
* ld-mips-elf/attr-gnu-4-76.d: Likewise.
* ld-mips-elf/attr-gnu-4-77.d: Likewise.
* ld-mips-elf/attr-gnu-4-78.d: Likewise.
* ld-mips-elf/attr-gnu-4-8.s: Likewise.
* ld-mips-elf/attr-gnu-4-81.d: Likewise.
* ld-mips-elf/empty.s: Likewise.
* ld-mips-elf/attr-gnu-4-00.d: Adjust expected output.
* ld-mips-elf/attr-gnu-4-01.d: Likewise.
* ld-mips-elf/attr-gnu-4-02.d: Likewise.
* ld-mips-elf/attr-gnu-4-03.d: Likewise.
* ld-mips-elf/attr-gnu-4-04.d: Likewise.
* ld-mips-elf/attr-gnu-4-05.d: Likewise.
* ld-mips-elf/attr-gnu-4-10.d: Likewise.
* ld-mips-elf/attr-gnu-4-11.d: Likewise.
* ld-mips-elf/attr-gnu-4-14.d: Likewise.
* ld-mips-elf/attr-gnu-4-15.d: Likewise.
* ld-mips-elf/attr-gnu-4-2.s: Likewise.
* ld-mips-elf/attr-gnu-4-20.d: Likewise.
* ld-mips-elf/attr-gnu-4-22.d: Likewise.
* ld-mips-elf/attr-gnu-4-24.d: Likewise.
* ld-mips-elf/attr-gnu-4-25.d: Likewise.
* ld-mips-elf/attr-gnu-4-3.s: Likewise.
* ld-mips-elf/attr-gnu-4-30.d: Likewise.
* ld-mips-elf/attr-gnu-4-33.d: Likewise.
* ld-mips-elf/attr-gnu-4-34.d: Likewise.
* ld-mips-elf/attr-gnu-4-35.d: Likewise.
* ld-mips-elf/attr-gnu-4-40.d: Likewise.
* ld-mips-elf/attr-gnu-4-41.d: Likewise.
* ld-mips-elf/attr-gnu-4-42.d: Likewise.
* ld-mips-elf/attr-gnu-4-43.d: Likewise.
* ld-mips-elf/attr-gnu-4-44.d: Likewise.
* ld-mips-elf/attr-gnu-4-45.d: Likewise.
* ld-mips-elf/attr-gnu-4-5.s: Likewise.
* ld-mips-elf/attr-gnu-4-51.d: Likewise.
* ld-mips-elf/attr-gnu-8-00.d: Likewise.
* ld-mips-elf/attr-gnu-8-01.d: Likewise.
* ld-mips-elf/attr-gnu-8-02.d: Likewise.
* ld-mips-elf/attr-gnu-8-10.d: Likewise.
* ld-mips-elf/attr-gnu-8-11.d: Likewise.
* ld-mips-elf/attr-gnu-8-20.d: Likewise.
* ld-mips-elf/attr-gnu-8-22.d: Likewise.
* ld-mips-elf/jalx-2.dd: Likewise.
* ld-mips-elf/mips16-pic-1.gd: Likewise.
* ld-mips-elf/mips16-pic-2.gd: Likewise.
* ld-mips-elf/mips16-pic-3.gd: Likewise.
* ld-mips-elf/mips16-pic-4a.gd: Likewise.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/nan-2008.d: Likewise.
* ld-mips-elf/nan-legacy.d: Rework test.
* ld-mips-elf/pic-and-nonpic-3a.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-elf/group.ld: Discard .MIPS.abiflags and .gnu.attributes.
* ld-elf/orphan-region.ld: Likewise.
* ld-elf/orphan.ld: Likewise.
* ld-mips-elf/compressed-plt-1.ld: Likewise.
* ld-mips-elf/dyn-sec64.ld: Likewise.
* ld-mips-elf/got-dump-1.ld: Likewise.
* ld-mips-elf/got-dump-2.ld: Likewise.
* ld-mips-elf/got-page-1.ld: Likewise.
* ld-mips-elf/mips-dyn.ld: Likewise.
* ld-mips-elf/mips-lib.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
* ld-mips-elf/region1.t: Likewise.
* ld-mips-elf/stub-dynsym-1.ld: Likewise.
* ld-mips-elf/tls-hidden3.ld: Likewise.
* ld-mips-elf/vxworks1.ld: Likewise.
* ld-scripts/overlay-size.t: Likewise.
* ld-mips-elf/elf-rel-got-n32-embed.d: Remove .MIPS.abiflags from
objects.
* ld-mips-elf/elf-rel-got-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
* ld-mips-elf/mips-elf.exp: Add new tests.
2014-07-29 10:27:59 +00:00
|
|
|
|
2014-07-29 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/attr-gnu-4-0.d: New.
|
|
|
|
|
* gas/mips/attr-gnu-4-0.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-mfp32.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-mfp32.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-mfp64.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-mfp64.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-mfpxx.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-msingle-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-msingle-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1-msoft-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-1.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-2-mdouble-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-2-mdouble-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-2-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-2-msoft-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-2.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-2.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-3-mhard-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-3-mhard-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-3.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-3.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-4.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-4.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5-64.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5-64.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-5.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-64.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-64.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-msingle-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-msingle-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-msoft-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-noodd.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-6-noodd.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-64.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-64.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-msingle-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-msingle-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-msoft-float.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-msoft-float.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-odd.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7-odd.s: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7.l: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-4-7.s: Likewise.
|
|
|
|
|
* gas/mips/attr-none-double.d: Likewise.
|
|
|
|
|
* gas/mips/attr-none-o32-fp64.d: Likewise.
|
|
|
|
|
* gas/mips/attr-none-o32-fp64-nooddspreg.d
|
|
|
|
|
* gas/mips/attr-none-o32-fpxx.d: Likewise.
|
|
|
|
|
* gas/mips/attr-none-single-float.d: Likewise.
|
|
|
|
|
* gas/mips/attr-none-soft-float.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips32r3.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips32r5.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips64r3.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips64r5.d: Likewise.
|
|
|
|
|
* gas/mips/li-d.d: Likewise.
|
|
|
|
|
* gas/mips/li-d.s: Likewise.
|
|
|
|
|
* gas/mips/module-check-warn.l: Likewise.
|
|
|
|
|
* gas/mips/module-check-warn.s: Likewise.
|
|
|
|
|
* gas/mips/module-check.d: Likewise.
|
|
|
|
|
* gas/mips/module-check.s: Likewise.
|
|
|
|
|
* gas/mips/module-mfp32.d: Likewise.
|
|
|
|
|
* gas/mips/module-mfp32.s: Likewise.
|
|
|
|
|
* gas/mips/module-mfp64.d: Likewise.
|
|
|
|
|
* gas/mips/module-mfp64.s: Likewise.
|
|
|
|
|
* gas/mips/module-mfp64-noodd.d: Likewise.
|
|
|
|
|
* gas/mips/module-mfp64-noodd.s: Likewise.
|
|
|
|
|
* gas/mips/module-mfpxx.d: Likewise.
|
|
|
|
|
* gas/mips/module-mfpxx.s: Likewise.
|
|
|
|
|
* gas/mips/module-msingle-float.d: Likewise.
|
|
|
|
|
* gas/mips/module-msingle-float.s: Likewise.
|
|
|
|
|
* gas/mips/module-msoft-float.d: Likewise.
|
|
|
|
|
* gas/mips/module-msoft-float.s: Likewise.
|
|
|
|
|
* gas/mips/module-set-mfpxx.d: Likewise.
|
|
|
|
|
* gas/mips/module-set-mfpxx.s: Likewise.
|
|
|
|
|
* gas/mips/fpxx-oddfpreg.d: Likewise.
|
|
|
|
|
* gas/mips/fpxx-oddfpreg.l: Likewise.
|
|
|
|
|
* gas/mips/fpxx-oddfpreg.s: Likewise.
|
|
|
|
|
* gas/mips/no-odd-spreg.d: Likewise.
|
|
|
|
|
* gas/mips/odd-spreg.d: Likewise.
|
|
|
|
|
* gas/elf/section2.e-mips: Adjust expected output.
|
|
|
|
|
* gas/mips/attr-gnu-abi-fp-1.d: Likewise.
|
|
|
|
|
* gas/mips/attr-gnu-abi-msa-1.d: Likewise.
|
|
|
|
|
* gas/mips/call-nonpic-1.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips1.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips3.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips32.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips32r2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips4.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips5.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips64.d: Likewise.
|
|
|
|
|
* gas/mips/elf_arch_mips64r2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_micromips-2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_micromips.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_mips16-2.d: Likewise.
|
|
|
|
|
* gas/mips/elf_ase_mips16.d: Likewise.
|
|
|
|
|
* gas/mips/module-defer-warn1.d: Likewise.
|
|
|
|
|
* gas/mips/module-override.d: Likewise.
|
|
|
|
|
* gas/mips/n32-consec.d: Likewise.
|
|
|
|
|
* gas/mips/nan-2008-1.d: Likewise.
|
|
|
|
|
* gas/mips/nan-2008-2.d: Likewise.
|
|
|
|
|
* gas/mips/nan-2008-3.d: Likewise.
|
|
|
|
|
* gas/mips/nan-2008-4.d: Likewise.
|
|
|
|
|
* gas/mips/nan-legacy-1.d: Likewise.
|
|
|
|
|
* gas/mips/nan-legacy-2.d: Likewise.
|
|
|
|
|
* gas/mips/nan-legacy-3.d: Likewise.
|
|
|
|
|
* gas/mips/nan-legacy-4.d: Likewise.
|
|
|
|
|
* gas/mips/nan-legacy-5.d: Likewise.
|
|
|
|
|
* gas/mips/tmips16-e.d: Likewise.
|
|
|
|
|
* gas/mips/tmips16-f.d: Likewise.
|
|
|
|
|
* gas/mips/tmipsel16-e.d: Likewise.
|
|
|
|
|
* gas/mips/tmipsel16-f.d: Likewise.
|
2014-08-05 01:54:23 +00:00
|
|
|
|
* gas/mips/mips.exp: Add new tests.
|
[MIPS] Implement O32 FPXX, FP64 and FP64A ABI extensions
Specification:
https://dmz-portal.mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
include/
* elf/mips.h (PT_MIPS_ABIFLAGS, SHT_MIPS_ABIFLAGS): Define.
(Val_GNU_MIPS_ABI_FP_OLD_64): Rename from Val_GNU_MIPS_ABI_FP_64.
(Val_GNU_MIPS_ABI_FP_64): Redefine.
(Val_GNU_MIPS_ABI_FP_XX): Define.
(Elf_External_ABIFlags_v0, Elf_Internal_ABIFlags_v0): New structures.
(AFL_REG_NONE, AFL_REG_32, AFL_REG_64, AFL_REG_128): Define.
(AFL_ASE_DSP, AFL_ASE_DSPR2, AFL_ASE_EVA, AFL_ASE_MCU): Likewise.
(AFL_ASE_MDMX, AFL_ASE_MIPS3D, AFL_ASE_MT, AFL_ASE_SMARTMIPS): Likewise.
(AFL_ASE_VIRT, AFL_ASE_MSA, AFL_ASE_MIPS16): Likewise.
(AFL_ASE_MICROMIPS, AFL_ASE_XPA): Likewise.
(AFL_EXT_XLR, AFL_EXT_OCTEON2, AFL_EXT_OCTEONP): Likewise.
(AFL_EXT_LOONGSON_3A, AFL_EXT_OCTEON, AFL_EXT_5900): Likewise.
(AFL_EXT_4650, AFL_EXT_4010, AFL_EXT_4100, AFL_EXT_3900): Likewise.
(AFL_EXT_10000, AFL_EXT_SB1, AFL_EXT_4111, AFL_EXT_4120): Likewise.
(AFL_EXT_5400, AFL_EXT_5500, AFL_EXT_LOONGSON_2E): Likewise.
(AFL_EXT_LOONGSON_2F): Likewise.
(bfd_mips_elf_swap_abiflags_v0_in): Prototype.
(bfd_mips_elf_swap_abiflags_v0_out): Likewise.
(bfd_mips_isa_ext): Likewise.
bfd/
* elfxx-mips.c (ABI_O32_P, MIPS_ELF_ABIFLAGS_SECTION_NAME_P): New macro.
(mips_elf_obj_tdata): Add abiflags and abiflags_valid fields.
(bfd_mips_elf_swap_abiflags_v0_in): New function.
(bfd_mips_elf_swap_abiflags_v0_out): Likewise.
(_bfd_mips_elf_section_from_shdr): Handle SHT_MIPS_ABIFLAGS.
(_bfd_mips_elf_fake_sections): Likewise.
(_bfd_mips_elf_always_size_sections): Handle .MIPS.abiflags.
(_bfd_mips_elf_additional_program_headers): Account for new
PT_MIPS_ABIFLAGS program header.
(_bfd_mips_elf_modify_segment_map): Create PT_MIPS_ABIFLAGS segment and
associate with .MIPS.abiflags.
(_bfd_mips_elf_gc_mark_extra_sections): New function.
(bfd_mips_isa_ext, update_mips_abiflags_isa): New static function.
(infer_mips_abiflags): Likewise.
(_bfd_mips_elf_final_link): Handle .MIPS.abiflags.
(mips_32bit_flags_p): Moved higher.
(mips_elf_merge_obj_attributes, _bfd_mips_fp_abi_string): Error
checking for FP ABIs.
(_bfd_mips_elf_merge_private_bfd_data): Restructure and add abiflags
checks. Check EF_MIPS_FP64 flag consistency.
(print_mips_ases, print_mips_isa_ext): New static function.
(print_mips_fp_abi_value, get_mips_reg_size): Likewise.
(_bfd_mips_elf_print_private_bfd_data): Display abiflags data.
(_bfd_mips_post_process_headers): Set EI_ABIVERSION = 3 for
Val_GNU_MIPS_ABI_FP_64 or Val_GNU_MIPS_ABI_FP_64A.
* elfxx-mips.h (_bfd_mips_elf_gc_mark_extra_sections): New prototype.
* elf32-mips.c (elf_backend_gc_mark_extra_sections): Implement.
* elfn32-mips.c (elf_backend_gc_mark_extra_sections): Implement.
* elf64-mips.c (elf_backend_gc_mark_extra_sections): Implement.
binutils/
* readelf.c (get_mips_segment_type): Display name for PT_MIPS_ABIFLAGS.
(get_mips_section_type_name): Display name for SHT_MIPS_ABIFLAGS.
(display_mips_gnu_attribute): Abstracted fp abi printing to...
(print_mips_fp_abi_value): New static function. Handle new FP ABIs.
(print_mips_ases, print_mips_isa_ext): New static functions.
(get_mips_reg_size): Likewise.
(process_mips_specific): Display abiflags data.
elfcpp/
* elfcpp.h (PT_MIPS_ABIFLAGS): New program header type.
gas/
* config/tc-mips.c (mips_flags_frag): New static global.
(struct mips_set_options): Add oddspreg field.
(file_mips_opts, mips_opts): Initialize oddspreg.
(ISA_HAS_ODD_SINGLE_FPR): Add CPU argument and update for R5900 and
Loongson-3a.
(enum options, md_longopts, md_parse_option): Add -mfpxx, -modd-spreg
and -mno-odd-spreg options.
(md_begin): Create .MIPS.abiflags section.
(fpabi_incompatible_with, fpabi_requires): New static function.
(check_fpabi): Likewise.
(mips_check_options): Handle fp=xx and oddspreg restrictions.
(file_mips_check_options): Set oddspreg by default for fp=xx.
(mips_oddfpreg_ok): Re-write function.
(check_regno): Check odd numbered registers regardless of FPR size.
For fp != 32 use as_bad instead of as_warn.
(match_float_constant): Rewrite check regarding FP register width. Add
support for generating constants when MXHC1 is present. Handle fp=xx
to comply with the ABI.
(macro): Update M_LI_DD similarly to match_float_constant. Generate
MTHC1 when available. Check that correct code can be generated for
fp=xx and fp=64 ABIs.
(parse_code_option, s_mipsset): Add fp=xx, oddspreg and nooddspreg
options.
(mips_convert_ase_flags): New static function.
(mips_elf_final_processing): Use fpabi == Val_GNU_MIPS_ABI_FP_OLD_64
to determine when to add the EF_MIPS_FP64 flag. Populate the
.MIPS.abiflags section.
(md_mips_end): Update .gnu_attribute based on command line and .module
as applicable. Use check_fpabi to ensure .gnu.attribute and command
line/.module options are consistent.
* doc/as.texinfo: Add missing -mgp64/-mfp64 options and document new
-mfpxx, -modd-spreg and -mno-odd-spreg options.
* doc/c-mips.texi: Document -mfpxx, -modd-spreg, -mno-odd-spreg,
gnu_attribute values and FP ABIs.
ld/
* emulparams/elf32bmip.sh: Add .MIPS.abiflags.
* emulparams/elf32bmipn32-defs.sh: Likewise.
* emulparams/elf64bmip-defs.sh: Likewise.
opcodes/
* micromips-opc.c (COD, LCD) New macros.
(cfc1, ctc1): Remove FP_S attribute.
(dmfc1, mfc1, mfhc1): Add LCD attribute.
(dmtc1, mtc1, mthc1): Add COD attribute.
* mips-opc.c (cfc1, cftc1, ctc, cttc1): Remove FP_S attribute.
binutils/testsuite/
* binutils-all/readelf.s: Account for .MIPS.abiflags and
.gnu.attributes.
* binutils-all/readelf.ss-tmips: Likewise.
* binutils-all/strip-3.d: Likewise.
gas/testsuite/
* gas/mips/attr-gnu-4-0.d: New.
* gas/mips/attr-gnu-4-0.s: Likewise.
* gas/mips/attr-gnu-4-1-mfp32.l: Likewise.
* gas/mips/attr-gnu-4-1-mfp32.s: Likewise.
* gas/mips/attr-gnu-4-1-mfp64.l: Likewise.
* gas/mips/attr-gnu-4-1-mfp64.s: Likewise.
* gas/mips/attr-gnu-4-1-mfpxx.s: Likewise.
* gas/mips/attr-gnu-4-1-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-1-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-1-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-1-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-1.d: Likewise.
* gas/mips/attr-gnu-4-1.s: Likewise.
* gas/mips/attr-gnu-4-2-mdouble-float.l: Likewise.
* gas/mips/attr-gnu-4-2-mdouble-float.s: Likewise.
* gas/mips/attr-gnu-4-2-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-2-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-2.d: Likewise.
* gas/mips/attr-gnu-4-2.s: Likewise.
* gas/mips/attr-gnu-4-3-mhard-float.l: Likewise.
* gas/mips/attr-gnu-4-3-mhard-float.s: Likewise.
* gas/mips/attr-gnu-4-3.d: Likewise.
* gas/mips/attr-gnu-4-3.s: Likewise.
* gas/mips/attr-gnu-4-4.l: Likewise.
* gas/mips/attr-gnu-4-4.s: Likewise.
* gas/mips/attr-gnu-4-5-64.l: Likewise.
* gas/mips/attr-gnu-4-5-64.s: Likewise.
* gas/mips/attr-gnu-4-5.d: Likewise.
* gas/mips/attr-gnu-4-5.l: Likewise.
* gas/mips/attr-gnu-4-5.s: Likewise.
* gas/mips/attr-gnu-4-6-64.l: Likewise.
* gas/mips/attr-gnu-4-6-64.s: Likewise.
* gas/mips/attr-gnu-4-6.d: Likewise.
* gas/mips/attr-gnu-4-6.l: Likewise.
* gas/mips/attr-gnu-4-6.s: Likewise.
* gas/mips/attr-gnu-4-6-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-6-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-6-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-6-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-6-noodd.l: Likewise.
* gas/mips/attr-gnu-4-6-noodd.s: Likewise.
* gas/mips/attr-gnu-4-7-64.l: Likewise.
* gas/mips/attr-gnu-4-7-64.s: Likewise.
* gas/mips/attr-gnu-4-7-msingle-float.l: Likewise.
* gas/mips/attr-gnu-4-7-msingle-float.s: Likewise.
* gas/mips/attr-gnu-4-7-msoft-float.l: Likewise.
* gas/mips/attr-gnu-4-7-msoft-float.s: Likewise.
* gas/mips/attr-gnu-4-7-odd.l: Likewise.
* gas/mips/attr-gnu-4-7-odd.s: Likewise.
* gas/mips/attr-gnu-4-7.d: Likewise.
* gas/mips/attr-gnu-4-7.l: Likewise.
* gas/mips/attr-gnu-4-7.s: Likewise.
* gas/mips/attr-none-double.d: Likewise.
* gas/mips/attr-none-o32-fp64.d: Likewise.
* gas/mips/attr-none-o32-fp64-nooddspreg.d
* gas/mips/attr-none-o32-fpxx.d: Likewise.
* gas/mips/attr-none-single-float.d: Likewise.
* gas/mips/attr-none-soft-float.d: Likewise.
* gas/mips/elf_arch_mips32r3.d: Likewise.
* gas/mips/elf_arch_mips32r5.d: Likewise.
* gas/mips/elf_arch_mips64r3.d: Likewise.
* gas/mips/elf_arch_mips64r5.d: Likewise.
* gas/mips/li-d.d: Likewise.
* gas/mips/li-d.s: Likewise.
* gas/mips/module-check-warn.l: Likewise.
* gas/mips/module-check-warn.s: Likewise.
* gas/mips/module-check.d: Likewise.
* gas/mips/module-check.s: Likewise.
* gas/mips/module-mfp32.d: Likewise.
* gas/mips/module-mfp32.s: Likewise.
* gas/mips/module-mfp64.d: Likewise.
* gas/mips/module-mfp64.s: Likewise.
* gas/mips/module-mfp64-noodd.d: Likewise.
* gas/mips/module-mfp64-noodd.s: Likewise.
* gas/mips/module-mfpxx.d: Likewise.
* gas/mips/module-mfpxx.s: Likewise.
* gas/mips/module-msingle-float.d: Likewise.
* gas/mips/module-msingle-float.s: Likewise.
* gas/mips/module-msoft-float.d: Likewise.
* gas/mips/module-msoft-float.s: Likewise.
* gas/mips/module-set-mfpxx.d: Likewise.
* gas/mips/module-set-mfpxx.s: Likewise.
* gas/mips/fpxx-oddfpreg.d: Likewise.
* gas/mips/fpxx-oddfpreg.l: Likewise.
* gas/mips/fpxx-oddfpreg.s: Likewise.
* gas/mips/no-odd-spreg.d: Likewise.
* gas/mips/odd-spreg.d: Likewise.
* gas/elf/section2.e-mips: Adjust expected output.
* gas/mips/attr-gnu-abi-fp-1.d: Likewise.
* gas/mips/attr-gnu-abi-msa-1.d: Likewise.
* gas/mips/call-nonpic-1.d: Likewise.
* gas/mips/elf_arch_mips1.d: Likewise.
* gas/mips/elf_arch_mips2.d: Likewise.
* gas/mips/elf_arch_mips3.d: Likewise.
* gas/mips/elf_arch_mips32.d: Likewise.
* gas/mips/elf_arch_mips32r2.d: Likewise.
* gas/mips/elf_arch_mips4.d: Likewise.
* gas/mips/elf_arch_mips5.d: Likewise.
* gas/mips/elf_arch_mips64.d: Likewise.
* gas/mips/elf_arch_mips64r2.d: Likewise.
* gas/mips/elf_ase_micromips-2.d: Likewise.
* gas/mips/elf_ase_micromips.d: Likewise.
* gas/mips/elf_ase_mips16-2.d: Likewise.
* gas/mips/elf_ase_mips16.d: Likewise.
* gas/mips/module-defer-warn1.d: Likewise.
* gas/mips/module-override.d: Likewise.
* gas/mips/n32-consec.d: Likewise.
* gas/mips/nan-2008-1.d: Likewise.
* gas/mips/nan-2008-2.d: Likewise.
* gas/mips/nan-2008-3.d: Likewise.
* gas/mips/nan-2008-4.d: Likewise.
* gas/mips/nan-legacy-1.d: Likewise.
* gas/mips/nan-legacy-2.d: Likewise.
* gas/mips/nan-legacy-3.d: Likewise.
* gas/mips/nan-legacy-4.d: Likewise.
* gas/mips/nan-legacy-5.d: Likewise.
* gas/mips/tmips16-e.d: Likewise.
* gas/mips/tmips16-f.d: Likewise.
* gas/mips/tmipsel16-e.d: Likewise.
* gas/mips/tmipsel16-f.d: Likewise.
* gas/testsuite/gas/mips/mips.exp: Add new tests.
ld/testsuite/
* ld-mips-elf/abiflags-strip1-ph.d: New.
* ld-mips-elf/abiflags-strip2-ph.d: Likewise.
* ld-mips-elf/abiflags-strip3-ph.d: Likewise.
* ld-mips-elf/abiflags-strip4-ph.d: Likewise.
* ld-mips-elf/abiflags-strip5-ph.d: Likewise.
* ld-mips-elf/abiflags-strip6-ph.d: Likewise.
* ld-mips-elf/abiflags-strip7-ph.d: Likewise.
* ld-mips-elf/abiflags-strip8-ph.d: Likewise.
* ld-mips-elf/abiflags-strip9-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-0-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-06.d: Likewise.
* ld-mips-elf/attr-gnu-4-07.d: Likewise.
* ld-mips-elf/attr-gnu-4-08.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-1-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-16.d: Likewise.
* ld-mips-elf/attr-gnu-4-17.d: Likewise.
* ld-mips-elf/attr-gnu-4-18.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-2-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-26.d: Likewise.
* ld-mips-elf/attr-gnu-4-27.d: Likewise.
* ld-mips-elf/attr-gnu-4-28.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-n32-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-n64-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-3-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-36.d: Likewise.
* ld-mips-elf/attr-gnu-4-37.d: Likewise.
* ld-mips-elf/attr-gnu-4-38.d: Likewise.
* ld-mips-elf/attr-gnu-4-4-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-46.d: Likewise.
* ld-mips-elf/attr-gnu-4-47.d: Likewise.
* ld-mips-elf/attr-gnu-4-48.d: Likewise.
* ld-mips-elf/attr-gnu-4-5-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-50.d: Likewise.
* ld-mips-elf/attr-gnu-4-52.d: Likewise.
* ld-mips-elf/attr-gnu-4-53.d: Likewise.
* ld-mips-elf/attr-gnu-4-54.d: Likewise.
* ld-mips-elf/attr-gnu-4-55.d: Likewise.
* ld-mips-elf/attr-gnu-4-56.d: Likewise.
* ld-mips-elf/attr-gnu-4-57.d: Likewise.
* ld-mips-elf/attr-gnu-4-58.d: Likewise.
* ld-mips-elf/attr-gnu-4-6-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-6.s: Likewise.
* ld-mips-elf/attr-gnu-4-60.d: Likewise.
* ld-mips-elf/attr-gnu-4-61.d: Likewise.
* ld-mips-elf/attr-gnu-4-62.d: Likewise.
* ld-mips-elf/attr-gnu-4-63.d: Likewise.
* ld-mips-elf/attr-gnu-4-64.d: Likewise.
* ld-mips-elf/attr-gnu-4-65.d: Likewise.
* ld-mips-elf/attr-gnu-4-66.d: Likewise.
* ld-mips-elf/attr-gnu-4-67.d: Likewise.
* ld-mips-elf/attr-gnu-4-68.d: Likewise.
* ld-mips-elf/attr-gnu-4-7-ph.d: Likewise.
* ld-mips-elf/attr-gnu-4-7.s: Likewise.
* ld-mips-elf/attr-gnu-4-70.d: Likewise.
* ld-mips-elf/attr-gnu-4-71.d: Likewise.
* ld-mips-elf/attr-gnu-4-72.d: Likewise.
* ld-mips-elf/attr-gnu-4-73.d: Likewise.
* ld-mips-elf/attr-gnu-4-74.d: Likewise.
* ld-mips-elf/attr-gnu-4-75.d: Likewise.
* ld-mips-elf/attr-gnu-4-76.d: Likewise.
* ld-mips-elf/attr-gnu-4-77.d: Likewise.
* ld-mips-elf/attr-gnu-4-78.d: Likewise.
* ld-mips-elf/attr-gnu-4-8.s: Likewise.
* ld-mips-elf/attr-gnu-4-81.d: Likewise.
* ld-mips-elf/empty.s: Likewise.
* ld-mips-elf/attr-gnu-4-00.d: Adjust expected output.
* ld-mips-elf/attr-gnu-4-01.d: Likewise.
* ld-mips-elf/attr-gnu-4-02.d: Likewise.
* ld-mips-elf/attr-gnu-4-03.d: Likewise.
* ld-mips-elf/attr-gnu-4-04.d: Likewise.
* ld-mips-elf/attr-gnu-4-05.d: Likewise.
* ld-mips-elf/attr-gnu-4-10.d: Likewise.
* ld-mips-elf/attr-gnu-4-11.d: Likewise.
* ld-mips-elf/attr-gnu-4-14.d: Likewise.
* ld-mips-elf/attr-gnu-4-15.d: Likewise.
* ld-mips-elf/attr-gnu-4-2.s: Likewise.
* ld-mips-elf/attr-gnu-4-20.d: Likewise.
* ld-mips-elf/attr-gnu-4-22.d: Likewise.
* ld-mips-elf/attr-gnu-4-24.d: Likewise.
* ld-mips-elf/attr-gnu-4-25.d: Likewise.
* ld-mips-elf/attr-gnu-4-3.s: Likewise.
* ld-mips-elf/attr-gnu-4-30.d: Likewise.
* ld-mips-elf/attr-gnu-4-33.d: Likewise.
* ld-mips-elf/attr-gnu-4-34.d: Likewise.
* ld-mips-elf/attr-gnu-4-35.d: Likewise.
* ld-mips-elf/attr-gnu-4-40.d: Likewise.
* ld-mips-elf/attr-gnu-4-41.d: Likewise.
* ld-mips-elf/attr-gnu-4-42.d: Likewise.
* ld-mips-elf/attr-gnu-4-43.d: Likewise.
* ld-mips-elf/attr-gnu-4-44.d: Likewise.
* ld-mips-elf/attr-gnu-4-45.d: Likewise.
* ld-mips-elf/attr-gnu-4-5.s: Likewise.
* ld-mips-elf/attr-gnu-4-51.d: Likewise.
* ld-mips-elf/attr-gnu-8-00.d: Likewise.
* ld-mips-elf/attr-gnu-8-01.d: Likewise.
* ld-mips-elf/attr-gnu-8-02.d: Likewise.
* ld-mips-elf/attr-gnu-8-10.d: Likewise.
* ld-mips-elf/attr-gnu-8-11.d: Likewise.
* ld-mips-elf/attr-gnu-8-20.d: Likewise.
* ld-mips-elf/attr-gnu-8-22.d: Likewise.
* ld-mips-elf/jalx-2.dd: Likewise.
* ld-mips-elf/mips16-pic-1.gd: Likewise.
* ld-mips-elf/mips16-pic-2.gd: Likewise.
* ld-mips-elf/mips16-pic-3.gd: Likewise.
* ld-mips-elf/mips16-pic-4a.gd: Likewise.
* ld-mips-elf/multi-got-no-shared.d: Likewise.
* ld-mips-elf/nan-2008.d: Likewise.
* ld-mips-elf/nan-legacy.d: Rework test.
* ld-mips-elf/pic-and-nonpic-3a.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.gd: Likewise.
* ld-mips-elf/pic-and-nonpic-6.ld: Likewise.
* ld-mips-elf/rel32-n32.d: Likewise.
* ld-mips-elf/rel32-o32.d: Likewise.
* ld-mips-elf/rel64.d: Likewise.
* ld-mips-elf/tls-multi-got-1.r: Likewise.
* ld-elf/group.ld: Discard .MIPS.abiflags and .gnu.attributes.
* ld-elf/orphan-region.ld: Likewise.
* ld-elf/orphan.ld: Likewise.
* ld-mips-elf/compressed-plt-1.ld: Likewise.
* ld-mips-elf/dyn-sec64.ld: Likewise.
* ld-mips-elf/got-dump-1.ld: Likewise.
* ld-mips-elf/got-dump-2.ld: Likewise.
* ld-mips-elf/got-page-1.ld: Likewise.
* ld-mips-elf/mips-dyn.ld: Likewise.
* ld-mips-elf/mips-lib.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3a.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-3b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-4b.ld: Likewise.
* ld-mips-elf/pic-and-nonpic-5b.ld: Likewise.
* ld-mips-elf/region1.t: Likewise.
* ld-mips-elf/stub-dynsym-1.ld: Likewise.
* ld-mips-elf/tls-hidden3.ld: Likewise.
* ld-mips-elf/vxworks1.ld: Likewise.
* ld-scripts/overlay-size.t: Likewise.
* ld-mips-elf/elf-rel-got-n32-embed.d: Remove .MIPS.abiflags from
objects.
* ld-mips-elf/elf-rel-got-n32.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-embed.d: Likewise.
* ld-mips-elf/elf-rel-got-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-got-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n32-embed.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-linux.d: Likewise.
* ld-mips-elf/elf-rel-xgot-n64-embed.d: Likewise.
* ld-mips-elf/mips-elf.exp: Add new tests.
2014-07-29 10:27:59 +00:00
|
|
|
|
|
Add AVX512DQ instructions and their AVX512VL variants.
gas/
* config/tc-i386.c (cpu_arch): Add .avx512dq, CPU_AVX512DQ_FLAGS.
* doc/c-i386.texi: Document avx512dq/.avx512dq.
gas/testsuite/
* gas/i386/avx512dq-intel.d: New.
* gas/i386/avx512dq.d: New.
* gas/i386/avx512dq.s: New.
* gas/i386/avx512dq_vl-intel.d: New.
* gas/i386/avx512dq_vl.d: New.
* gas/i386/avx512dq_vl.s: New.
* gas/i386/i386.exp: Run new AVX-512 tests.
* gas/i386/x86-64-avx512dq-intel.d: New.
* gas/i386/x86-64-avx512dq.d: New.
* gas/i386/x86-64-avx512dq.s: New.
* gas/i386/x86-64-avx512dq_vl-intel.d: New.
* gas/i386/x86-64-avx512dq_vl.d: New.
* gas/i386/x86-64-avx512dq_vl.s: New.
opcodes/
* i386-dis-evex.h: Updated.
* i386-dis.c (PREFIX enum): Add PREFIX_EVEX_0F54, PREFIX_EVEX_0F55,
PREFIX_EVEX_0F56, PREFIX_EVEX_0F57, PREFIX_EVEX_0F3A16,
PREFIX_EVEX_0F3A22, PREFIX_EVEX_0F3A50, PREFIX_EVEX_0F3A51,
PREFIX_EVEX_0F3A56, PREFIX_EVEX_0F3A57, PREFIX_EVEX_0F3A66,
PREFIX_EVEX_0F3A67.
(VEX_LEN enum): Add VEX_LEN_0F92_P_2, VEX_LEN_0F93_P_2,
VEX_W_0F92_P_2_LEN_0, VEX_W_0F93_P_2_LEN_0.
(VEX_W enum): Add EVEX_W_0F54_P_0, EVEX_W_0F54_P_2, EVEX_W_0F55_P_0,
EVEX_W_0F55_P_2, EVEX_W_0F56_P_0, EVEX_W_0F56_P_2, EVEX_W_0F57_P_0,
EVEX_W_0F57_P_2, EVEX_W_0F78_P_2, EVEX_W_0F79_P_2, EVEX_W_0F7A_P_2,
EVEX_W_0F7B_P_2, EVEX_W_0F3838_P_1, EVEX_W_0F3839_P_1,
EVEX_W_0F3A16_P_2, EVEX_W_0F3A22_P_2, EVEX_W_0F3A50_P_2,
EVEX_W_0F3A51_P_2, EVEX_W_0F3A56_P_2, EVEX_W_0F3A57_P_2,
EVEX_W_0F3A66_P_2, EVEX_W_0F3A67_P_2.
(prefix_table): Add entries for new instructions.
(vex_len_table): Ditto.
(vex_w_table): Ditto.
(OP_E_memory): Update xmmq_mode handling.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512DQ_FLAGS.
(cpu_flags): Add CpuAVX512DQ.
* i386-init.h: Regenerared.
* i386-opc.h (CpuAVX512DQ): New.
(i386_cpu_flags): Add cpuavx512dq.
* i386-opc.tbl: Add AVX512DQ instructions.
* i386-tbl.h: Regenerate.
2014-07-15 09:33:39 +00:00
|
|
|
|
2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
|
|
|
|
|
Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
|
|
|
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
|
|
|
|
Sergey Lega <sergey.s.lega@intel.com>
|
|
|
|
|
Anna Tikhonova <anna.tikhonova@intel.com>
|
|
|
|
|
Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
Andrey Turetskiy <andrey.turetskiy@intel.com>
|
|
|
|
|
Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
Michael Zolotukhin <michael.v.zolotukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512dq-intel.d: New.
|
|
|
|
|
* gas/i386/avx512dq.d: New.
|
|
|
|
|
* gas/i386/avx512dq.s: New.
|
|
|
|
|
* gas/i386/avx512dq_vl-intel.d: New.
|
|
|
|
|
* gas/i386/avx512dq_vl.d: New.
|
|
|
|
|
* gas/i386/avx512dq_vl.s: New.
|
|
|
|
|
* gas/i386/i386.exp: Run new AVX-512 tests.
|
|
|
|
|
* gas/i386/x86-64-avx512dq-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512dq.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512dq.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512dq_vl-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512dq_vl.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512dq_vl.s: New.
|
|
|
|
|
|
Add support for AVX512BW instructions and their AVX512VL versions.
gas/
* config/tc-i386.c (cpu_arch): Add .avx512bw, CPU_AVX512BW_FLAGS.
* doc/c-i386.texi: Document avx512bw/.avx512bw.
gas/testsuite/
* gas/i386/avx512bw-intel.d: New.
* gas/i386/avx512bw-opts-intel.d: New.
* gas/i386/avx512bw-opts.d: New.
* gas/i386/avx512bw-opts.s: New.
* gas/i386/avx512bw-wig.s: New.
* gas/i386/avx512bw-wig1-intel.d: New.
* gas/i386/avx512bw-wig1.d: New.
* gas/i386/avx512bw.d: New.
* gas/i386/avx512bw.s: New.
* gas/i386/avx512bw_vl-intel.d: New.
* gas/i386/avx512bw_vl-opts-intel.d: New.
* gas/i386/avx512bw_vl-opts.d: New.
* gas/i386/avx512bw_vl-opts.s: New.
* gas/i386/avx512bw_vl-wig.s: New.
* gas/i386/avx512bw_vl-wig1-intel.d: New.
* gas/i386/avx512bw_vl-wig1.d: New.
* gas/i386/avx512bw_vl.d: New.
* gas/i386/avx512bw_vl.s: New.
* gas/i386/i386.exp: Run new AVX-512 tests.
* gas/i386/x86-64-avx512bw-intel.d: New.
* gas/i386/x86-64-avx512bw-opts-intel.d: New.
* gas/i386/x86-64-avx512bw-opts.d: New.
* gas/i386/x86-64-avx512bw-opts.s: New.
* gas/i386/x86-64-avx512bw-wig.s: New.
* gas/i386/x86-64-avx512bw-wig1-intel.d: New.
* gas/i386/x86-64-avx512bw-wig1.d: New.
* gas/i386/x86-64-avx512bw.d: New.
* gas/i386/x86-64-avx512bw.s: New.
* gas/i386/x86-64-avx512bw_vl-intel.d: New.
* gas/i386/x86-64-avx512bw_vl-opts-intel.d: New.
* gas/i386/x86-64-avx512bw_vl-opts.d: New.
* gas/i386/x86-64-avx512bw_vl-opts.s: New.
* gas/i386/x86-64-avx512bw_vl-wig.s: New.
* gas/i386/x86-64-avx512bw_vl-wig1-intel.d: New.
* gas/i386/x86-64-avx512bw_vl-wig1.d: New.
* gas/i386/x86-64-avx512bw_vl.d: New.
* gas/i386/x86-64-avx512bw_vl.s: New.
opcodes/
* i386-dis-evex.h: Add new instructions (prefixes bellow).
* i386-dis.c (fetch_data): Add EdqwS, Edb, Edw, MaskBDE.
(enum): Add dqw_swap_mode, db_mode, dw_mode, mask_bd_mode, REG_EVEX_0F71.
(PREFIX enum): Add PREFIX_VEX_0F4A, PREFIX_VEX_0F99, PREFIX_VEX_0F3A31,
PREFIX_VEX_0F3A33, PREFIX_EVEX_0F60, PREFIX_EVEX_0F61, PREFIX_EVEX_0F63,
PREFIX_EVEX_0F64, PREFIX_EVEX_0F65, PREFIX_EVEX_0F67, PREFIX_EVEX_0F68,
PREFIX_EVEX_0F69, PREFIX_EVEX_0F6B, PREFIX_EVEX_0F71_REG_2, PREFIX_EVEX_0F71_REG_4,
PREFIX_EVEX_0F71_REG_6, PREFIX_EVEX_0F73_REG_3, PREFIX_EVEX_0F73_REG_7,
PREFIX_EVEX_0F74, PREFIX_EVEX_0F75, PREFIX_EVEX_0FC4, PREFIX_EVEX_0FC5,
PREFIX_EVEX_0FD1, PREFIX_EVEX_0FD5, PREFIX_EVEX_0FD8, PREFIX_EVEX_0FD9,
PREFIX_EVEX_0FDA, PREFIX_EVEX_0FDC, PREFIX_EVEX_0FDD, PREFIX_EVEX_0FDE,
PREFIX_EVEX_0FE0, PREFIX_EVEX_0FE1, PREFIX_EVEX_0FE3, PREFIX_EVEX_0FE4,
PREFIX_EVEX_0FE5, PREFIX_EVEX_0FE8, PREFIX_EVEX_0FE9, PREFIX_EVEX_0FEA,
PREFIX_EVEX_0FEC, PREFIX_EVEX_0FED, PREFIX_EVEX_0FEE, PREFIX_EVEX_0FF1,
PREFIX_EVEX_0FF5, PREFIX_EVEX_0FF6, PREFIX_EVEX_0FF8, PREFIX_EVEX_0FF9,
PREFIX_EVEX_0FFC, PREFIX_EVEX_0FFD, PREFIX_EVEX_0F3800, PREFIX_EVEX_0F3804,
PREFIX_EVEX_0F380B, PREFIX_EVEX_0F3810, PREFIX_EVEX_0F381C, PREFIX_EVEX_0F381D,
PREFIX_EVEX_0F3820, PREFIX_EVEX_0F3826, PREFIX_EVEX_0F382B, PREFIX_EVEX_0F3830,
PREFIX_EVEX_0F3838, PREFIX_EVEX_0F383C, PREFIX_EVEX_0F383E, PREFIX_EVEX_0F3866,
PREFIX_EVEX_0F3875, PREFIX_EVEX_0F3878, PREFIX_EVEX_0F3879, PREFIX_EVEX_0F387A,
PREFIX_EVEX_0F387B, PREFIX_EVEX_0F387D, PREFIX_EVEX_0F388D, PREFIX_EVEX_0F3A0F,
PREFIX_EVEX_0F3A14, PREFIX_EVEX_0F3A15, PREFIX_EVEX_0F3A20, PREFIX_EVEX_0F3A3E,
PREFIX_EVEX_0F3A3F, PREFIX_EVEX_0F3A42.
(VEX_LEN enum): Add VEX_LEN_0F41_P_2, VEX_LEN_0F42_P_2, VEX_LEN_0F44_P_2,
VEX_LEN_0F45_P_2, VEX_LEN_0F46_P_2, VEX_LEN_0F47_P_2, VEX_LEN_0F4A_P_0,
VEX_LEN_0F4A_P_2, VEX_LEN_0F4B_P_0, VEX_LEN_0F90_P_2, VEX_LEN_0F91_P_2,
VEX_LEN_0F92_P_3, VEX_LEN_0F93_P_3, VEX_LEN_0F98_P_2, VEX_LEN_0F99_P_0,
VEX_LEN_0F99_P_2, VEX_LEN_0F3A31_P_2, VEX_LEN_0F3A33_P_2, VEX_W_0F41_P_2_LEN_1,
VEX_W_0F42_P_2_LEN_1, VEX_W_0F44_P_2_LEN_0, VEX_W_0F45_P_2_LEN_1,
VEX_W_0F46_P_2_LEN_1, VEX_W_0F47_P_2_LEN_1, VEX_W_0F4A_P_0_LEN_1,
VEX_W_0F4A_P_2_LEN_1, VEX_W_0F4B_P_0_LEN_1, VEX_W_0F90_P_2_LEN_0,
VEX_W_0F91_P_2_LEN_0, VEX_W_0F92_P_3_LEN_0, VEX_W_0F93_P_3_LEN_0,
VEX_W_0F98_P_2_LEN_0, VEX_W_0F99_P_0_LEN_0, VEX_W_0F99_P_2_LEN_0,
VEX_W_0F3A31_P_2_LEN_0, VEX_W_0F3A33_P_2_LEN_0.
(VEX_W enum): Add EVEX_W_0F6B_P_2, EVEX_W_0F6F_P_3, EVEX_W_0F7F_P_3,
EVEX_W_0F3810_P_1, EVEX_W_0F3810_P_2, EVEX_W_0F3811_P_2, EVEX_W_0F3812_P_2,
EVEX_W_0F3820_P_1, EVEX_W_0F3826_P_1, EVEX_W_0F3826_P_2, EVEX_W_0F3828_P_1,
EVEX_W_0F3829_P_1, EVEX_W_0F382B_P_2, EVEX_W_0F3830_P_1, EVEX_W_0F3866_P_2,
EVEX_W_0F3875_P_2, EVEX_W_0F3878_P_2, EVEX_W_0F3879_P_2, EVEX_W_0F387A_P_2,
EVEX_W_0F387B_P_2, EVEX_W_0F387D_P_2, EVEX_W_0F388D_P_2, EVEX_W_0F3A3E_P_2,
EVEX_W_0F3A3F_P_2, EVEX_W_0F3A42_P_2.
(prefix_table): Add entries for new instructions.
(vex_table) : Ditto.
(vex_len_table): Ditto.
(vex_w_table): Ditto.
(intel_operand_size): Add db_mode, dw_mode, dqw_swap_mode,
mask_bd_mode handling.
(OP_E_register): Add dqw_swap_mode, dw_mode, db_mode, mask_bd_mode
handling.
(OP_E_memory): Add dqw_mode, dw_mode, dqw_swap_mode, dqb_mode, db_mode
handling.
(OP_G): Add db_mode, dw_mode, dqw_swap_mode, mask_bd_mode handling.
(OP_EX): Add dqw_swap_mode handling.
(OP_VEX): Add mask_bd_mode handling.
(OP_Mask): Add mask_bd_mode handling.
* i386-gen.c (cpu_flag_init): Add CPU_AVX512BW_FLAGS.
(cpu_flags): Add CpuAVX512BW.
* i386-init.h: Regenerated.
* i386-opc.h (CpuAVX512BW): New.
(i386_cpu_flags): Add cpuavx512bw.
* i386-opc.tbl: Add AVX512BW instructions.
* i386-tbl.h: Regenerate.
2014-07-11 12:32:29 +00:00
|
|
|
|
2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
|
|
|
|
|
Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
|
|
|
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
|
|
|
|
Sergey Lega <sergey.s.lega@intel.com>
|
|
|
|
|
Anna Tikhonova <anna.tikhonova@intel.com>
|
|
|
|
|
Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
Andrey Turetskiy <andrey.turetskiy@intel.com>
|
|
|
|
|
Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
Michael Zolotukhin <michael.v.zolotukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512bw-intel.d: New.
|
|
|
|
|
* gas/i386/avx512bw-opts-intel.d: New.
|
|
|
|
|
* gas/i386/avx512bw-opts.d: New.
|
|
|
|
|
* gas/i386/avx512bw-opts.s: New.
|
|
|
|
|
* gas/i386/avx512bw-wig.s: New.
|
|
|
|
|
* gas/i386/avx512bw-wig1-intel.d: New.
|
|
|
|
|
* gas/i386/avx512bw-wig1.d: New.
|
|
|
|
|
* gas/i386/avx512bw.d: New.
|
|
|
|
|
* gas/i386/avx512bw.s: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-intel.d: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-opts-intel.d: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-opts.d: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-opts.s: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-wig.s: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-wig1-intel.d: New.
|
|
|
|
|
* gas/i386/avx512bw_vl-wig1.d: New.
|
|
|
|
|
* gas/i386/avx512bw_vl.d: New.
|
|
|
|
|
* gas/i386/avx512bw_vl.s: New.
|
|
|
|
|
* gas/i386/i386.exp: Run new AVX-512 tests.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-opts-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-opts.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-opts.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-wig.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-wig1-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw-wig1.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-opts-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-opts.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-opts.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-wig.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-wig1-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl-wig1.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512bw_vl.s: New.
|
|
|
|
|
|
2014-07-10 10:21:48 +00:00
|
|
|
|
2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
|
|
|
|
|
Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
|
|
|
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
|
|
|
|
Sergey Lega <sergey.s.lega@intel.com>
|
|
|
|
|
Anna Tikhonova <anna.tikhonova@intel.com>
|
|
|
|
|
Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
Andrey Turetskiy <andrey.turetskiy@intel.com>
|
|
|
|
|
Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
Michael Zolotukhin <michael.v.zolotukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512cd_vl-intel.d: New.
|
|
|
|
|
* gas/i386/avx512cd_vl.d: New.
|
|
|
|
|
* gas/i386/avx512cd_vl.s: New.
|
|
|
|
|
* gas/i386/i386.exp: Run new AVX-512 tests.
|
|
|
|
|
* gas/i386/x86-64-avx512cd_vl-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512cd_vl.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512cd_vl.s: New.
|
|
|
|
|
|
2014-07-18 10:59:54 +00:00
|
|
|
|
2014-07-22 Sergey Guriev <sergey.s.guriev@intel.com>
|
|
|
|
|
Alexander Ivchenko <alexander.ivchenko@intel.com>
|
|
|
|
|
Maxim Kuznetsov <maxim.kuznetsov@intel.com>
|
|
|
|
|
Sergey Lega <sergey.s.lega@intel.com>
|
|
|
|
|
Anna Tikhonova <anna.tikhonova@intel.com>
|
|
|
|
|
Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
Andrey Turetskiy <andrey.turetskiy@intel.com>
|
|
|
|
|
Ilya Verbin <ilya.verbin@intel.com>
|
|
|
|
|
Kirill Yukhin <kirill.yukhin@intel.com>
|
|
|
|
|
Michael Zolotukhin <michael.v.zolotukhin@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512f_vl-intel.d: New.
|
|
|
|
|
* gas/i386/avx512f_vl-opts-intel.d: New.
|
|
|
|
|
* gas/i386/avx512f_vl-opts.d: New.
|
|
|
|
|
* gas/i386/avx512f_vl-opts.s: New.
|
|
|
|
|
* gas/i386/avx512f_vl-wig.s: New.
|
|
|
|
|
* gas/i386/avx512f_vl-wig1-intel.d: New.
|
|
|
|
|
* gas/i386/avx512f_vl-wig1.d: New.
|
|
|
|
|
* gas/i386/avx512f_vl.d: New.
|
|
|
|
|
* gas/i386/avx512f_vl.s: New.
|
|
|
|
|
* gas/i386/i386.exp: Run new AVX-512 tests.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-opts-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-opts.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-opts.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-wig.s: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-wig1-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl-wig1.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl.d: New.
|
|
|
|
|
* gas/i386/x86-64-avx512f_vl.s: New.
|
|
|
|
|
|
2014-07-17 09:59:32 +00:00
|
|
|
|
2014-07-17 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/x86-64-equ.d: New.
|
|
|
|
|
* gas/i386/x86-64-equ.s: New.
|
|
|
|
|
* gas/i386/i386.exp: Run x86-64-equ.
|
|
|
|
|
|
2014-07-12 07:35:35 +00:00
|
|
|
|
2014-07-12 David Majnemer <david.majnemer@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/pe/set.s, * gas/pe/set.d: New test.
|
|
|
|
|
* gas/pe/pe.exp: Run it.
|
|
|
|
|
|
2014-07-07 16:33:34 +00:00
|
|
|
|
2014-07-10 Will Newton <will.newton@linaro.org>
|
|
|
|
|
|
2014-07-08 09:23:27 +00:00
|
|
|
|
* gas/elf/elf.exp: Remove special handling of arm-elf for
|
|
|
|
|
section2 test.
|
|
|
|
|
* gas/elf/section2.e-armeabi: Rename to...
|
|
|
|
|
* gas/elf/section2.e-arm: ...here.
|
|
|
|
|
* gas/elf/section2.e-armelf: Remove file.
|
|
|
|
|
|
2014-07-07 16:33:34 +00:00
|
|
|
|
* gas/arm/bl-local-2.d: Only enable the test on EABI and
|
|
|
|
|
NaCl configurations.
|
|
|
|
|
* gas/arm/bl-local-v4t.d: Likewise.
|
|
|
|
|
* gas/arm/blx-local.d: Likewise.
|
|
|
|
|
* gas/arm/branch-reloc.d: Likewise.
|
|
|
|
|
|
2014-07-08 09:45:43 +00:00
|
|
|
|
2014-07-08 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/evex-lig256-intel.d: Updated.
|
|
|
|
|
* gas/i386/evex-lig256.d: Updated.
|
|
|
|
|
* gas/i386/evex-lig512-intel.d: Updated.
|
|
|
|
|
* gas/i386/evex-lig512-intel.d: Updated.
|
|
|
|
|
* gas/i386/x86-64-evex-lig256-intel.d: Updated.
|
|
|
|
|
* gas/i386/x86-64-evex-lig256.d: Updated.
|
|
|
|
|
* gas/i386/x86-64-evex-lig512-intel.d: Updated.
|
|
|
|
|
* gas/i386/x86-64-evex-lig512-intel.d: Updated.
|
|
|
|
|
|
2014-07-08 11:14:56 +00:00
|
|
|
|
2014-07-08 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/ldconst.s: Add test cases for symbol literal.
|
|
|
|
|
* gas/arm/ldconst.d: Likewise.
|
|
|
|
|
* gas/arm/vldconst.s: Add test cases for vldr.
|
|
|
|
|
* gas/arm/thumb2_vpool.s: Likewise.
|
|
|
|
|
* gas/arm/vldconst.d: New pattern for little-endian.
|
|
|
|
|
* gas/arm/thumb2_vpool.d: Likewise.
|
|
|
|
|
* gas/arm/vldconst_be.d: New pattern for big-endian.
|
|
|
|
|
* gas/arm/thumb2_vpool_be.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/arm/armv8-a+crypto.d: Skip for non-ELF targets.
|
|
|
|
|
* gas/arm/armv8-a+fp.d: Likewise.
|
|
|
|
|
* gas/arm/armv8-a+simd.d: Likewise.
|
|
|
|
|
* gas/arm/armv8-a-barrier-thumb.d: Likewise.
|
|
|
|
|
* gas/arm/bl-local-2.d: Likewise.
|
|
|
|
|
* gas/arm/ldgesb-bad.d: Likewise.
|
|
|
|
|
* gas/arm/ldgesh-bad.d: Likewise.
|
|
|
|
|
* gas/arm/thumb2_pool.d: Likewise.
|
|
|
|
|
* gas/arm/thumb2_pool.s: Likewise.
|
|
|
|
|
|
2014-06-17 09:06:00 +00:00
|
|
|
|
2014-06-17 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/armv8-a-it-bad.s: New check for deprecated sp_inc/dec within
|
|
|
|
|
IT block for ARMv8.
|
|
|
|
|
* gas/arm/armv8-a-it-bad.l: Likewise.
|
|
|
|
|
|
2014-06-16 22:56:01 +00:00
|
|
|
|
2014-06-17 Hans-Peter Nilsson <hp@axis.com>
|
|
|
|
|
|
|
|
|
|
* gas/cris/range-err-3.s: New test.
|
|
|
|
|
|
2014-06-16 16:22:19 +00:00
|
|
|
|
2014-06-16 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/diagnostic.s: Add new test patterns.
|
|
|
|
|
* gas/aarch64/diagnostic.l: Update expected diagnostic output.
|
|
|
|
|
|
2014-06-16 01:34:04 +00:00
|
|
|
|
2014-06-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/elf/bad-group.s: Use %function.
|
|
|
|
|
* gas/elf/bad-group.err: Expect correct line number. Allow
|
|
|
|
|
other errors.
|
|
|
|
|
* gas/elf/bad-size.err: Allow other errors. Match expected
|
|
|
|
|
error somewhat more rigorously.
|
|
|
|
|
* gas/i386/reloc32.l: Allow other errors.
|
|
|
|
|
* gas/i386/mpx-inval-1.l: Match applied relocs.
|
|
|
|
|
* gas/i386/x86-64-mpx-inval-1.l: Likewise, and nop padding.
|
|
|
|
|
* gas/i386/x86-64-mpx-inval-2.l: Match nop padding, and allow
|
|
|
|
|
other errors.
|
|
|
|
|
* gas/macros/dot.s: Use .balign.
|
|
|
|
|
* gas/macros/dot.l: Update alignment output.
|
|
|
|
|
* gas/symver/symver6.l: Allow other errors.
|
|
|
|
|
|
2014-06-16 00:47:50 +00:00
|
|
|
|
2014-06-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/vax/elf-rel.d: Update.
|
|
|
|
|
|
2014-06-16 00:20:15 +00:00
|
|
|
|
2014-06-16 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/cris/rd-bkw4v32.d: Update.
|
|
|
|
|
|
2014-06-10 18:16:41 +00:00
|
|
|
|
2014-06-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/prefix.s: Add another fwait test.
|
|
|
|
|
* gas/i386/prefix.d: Updated.
|
|
|
|
|
|
2014-06-09 10:04:41 +00:00
|
|
|
|
2014-06-09 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/msp430/msp430x.d: Update to match revised assembler output.
|
|
|
|
|
|
2014-06-03 07:49:02 +00:00
|
|
|
|
2014-06-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/msp430/bad.d: Use -my not -mz.
|
|
|
|
|
|
2014-05-22 09:23:22 +00:00
|
|
|
|
2014-05-22 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/d30v/bittest.l: Update for changed whitespace.
|
|
|
|
|
* gas/d30v/serial.l: Likewise.
|
|
|
|
|
* gas/d30v/serial2.l: Likewise.
|
|
|
|
|
* gas/d30v/serial2O.l: Likewise.
|
|
|
|
|
* gas/d30v/warn_oddreg.l: Likewise.
|
|
|
|
|
* gas/i386/inval-equ-2.l: Likewise.
|
|
|
|
|
* gas/i386/mpx-inval-1.l: Likewise.
|
|
|
|
|
* gas/i386/sse-check-error.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-mpx-inval-1.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-mpx-inval-2.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-size-inval-1.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-sse-check-error.l: Likewise.
|
|
|
|
|
|
2014-05-20 22:50:21 +00:00
|
|
|
|
2014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips.exp: Add new tests. Use 64-bit ABI for relax-bc1any.
|
|
|
|
|
Fix micromips arch definition to use mips64r2 consistently.
|
|
|
|
|
* gas/mips/module-defer-warn1.s: New.
|
|
|
|
|
* gas/mips/module-defer-warn1.d: New.
|
|
|
|
|
* gas/mips/module-defer-warn2.s: New.
|
|
|
|
|
* gas/mips/module-defer-warn2.l: New.
|
|
|
|
|
* gas/mips/module-override.d: New.
|
|
|
|
|
* gas/mips/module-override.s: New.
|
|
|
|
|
* gas/mips/mips-gp32-fp64.l: Update expected output.
|
|
|
|
|
* gas/mips/mips-gp64-fp32-pic.l: Update expected output.
|
|
|
|
|
* gas/mips/mips-gp64-fp32.l: Update expected output.
|
|
|
|
|
|
2014-05-20 11:45:47 +00:00
|
|
|
|
2014-05-20 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/micromips@msa-branch.d: Rework expected output for fp64.
|
|
|
|
|
* gas/mips/msa-branch.d: Likewise.
|
|
|
|
|
|
2014-05-20 09:28:42 +00:00
|
|
|
|
2014-05-20 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/elf/struct.d: Expect extra output from some toolchains.
|
|
|
|
|
* gas/symver/symver0.d: Likewise.
|
|
|
|
|
* gas/symver/symver1.d: Likewise.
|
|
|
|
|
|
2014-05-09 17:58:00 +00:00
|
|
|
|
2014-05-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/nops-1-core2.d: Replace data32 with data16.
|
|
|
|
|
* gas/i386/nops-4a-i686.d: Likewise.
|
|
|
|
|
* gas/i386/nops-5-i686.d: Likewise.
|
|
|
|
|
* gas/i386/nops-5.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-cbw-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-cbw.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-io-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-io-suffix.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-io.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-1-core2.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-1-g64.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-1-nocona.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-1.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-2.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-3.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-4-core2.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-4.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-5-k8.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-nops-5.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-stack-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-stack-suffix.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-stack.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-cbw-intel.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-cbw.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-io-intel.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-io-suffix.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-io.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-1-core2.d:
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-1-nocona.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-1.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-2.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-3.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-4-core2.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-4.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-5-k8.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-nops-5.: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-stack-intel.d: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-stack-suffix.: Likewise.
|
|
|
|
|
* gas/i386/ilp32/x86-64-stack.d: Likewise.
|
|
|
|
|
|
2014-05-07 21:37:00 +00:00
|
|
|
|
2014-05-08 Matthew Fortune <matthew.fortune@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/attr-gnu-abi-fp-1.s: New.
|
|
|
|
|
* gas/mips/attr-gnu-abi-fp-1.d: New.
|
|
|
|
|
* gas/mips/attr-gnu-abi-msa-1.s: New.
|
|
|
|
|
* gas/mips/attr-gnu-abi-msa-1.d: New.
|
|
|
|
|
* gas/mips/mips.exp: Add new tests.
|
|
|
|
|
|
Add MIPS r3 and r5 support.
This patch firstly adds support for mips32r3 mips32r5, mips64r3
and mips64r5. Secondly it adds support for the eretnc instruction.
ChangeLog:
bfd/
* aoutx.h (NAME (aout, machine_type)): Add mips32r3, mips64r3,
mips32r5 and mips64r5.
* archures.c (bfd_architecture): Likewise.
* bfd-in2.h (bfd_architecture): Likewise.
* cpu-mips.c (arch_info_struct): Likewise.
* elfxx-mips.c (mips_set_isa_flags): Likewise.
gas/
* tc-mips.c (ISA_SUPPORTS_MIPS16E): Add mips32r3, mips32r5, mips64r3
and mips64r5.
(ISA_HAS_64BIT_FPRS): Likewise.
(ISA_HAS_ROR): Likewise.
(ISA_HAS_ODD_SINGLE_FPR): Likewise.
(ISA_HAS_MXHC1): Likewise.
(hilo_interlocks): Likewise.
(md_longopts): Likewise.
(ISA_HAS_64BIT_REGS): Add mips64r3 and mips64r5.
(ISA_HAS_DROR): Likewise.
(options): Add OPTION_MIPS32R3, OPTION_MIPS32R5, OPTION_MIPS64R3, and
OPTION_MIPS64R5.
(mips_isa_rev): Add support for mips32r3, mips32r5, mips64r3 and
mips64r5.
(md_parse_option): Likewise.
(s_mipsset): Likewise.
(mips_cpu_info_table): Add entries for mips32r3, mips32r5, mips64r3
and mips64r5. Also change p5600 entry to be mips32r5.
* configure.in: Add support for mips32r3, mips32r5, mips64r3 and
mips64r5.
* configure: Regenerate.
* doc/c-mips.texi: Document the -mips32r3, -mips32r5, -mips64r3 and
-mips64r5 command line options.
* doc/as.texinfo: Likewise.
gas/testsuite/
* gas/mips/mips.exp: Add MIPS32r5 tests. Also add the mips32r3,
mips32r5, mips64r3 and mips64r5 isas to the testsuite.
* gas/mips/r5.s: New test.
* gas/mips/r5.d: Likewise.
include/opcode/
* mips.h (INSN_ISA_MASK): Updated.
(INSN_ISA32R3): New define.
(INSN_ISA32R5): New define.
(INSN_ISA64R3): New define.
(INSN_ISA64R5): New define.
(INSN_ISA64, INSN_ISA64R2, INSN_ISA3_32, INSN_ISA3_32R2, INSN_ISA4_32
INSN_ISA4_32R2, INSN_ISA5_32R2): Renumbered.
(mips_isa_table): Add entries for mips32r3, mips32r5, mips64r3 and
mips64r5.
(INSN_UPTO32R3): New define.
(INSN_UPTO32R5): New define.
(INSN_UPTO64R3): New define.
(INSN_UPTO64R5): New define.
(ISA_MIPS32R3): New define.
(ISA_MIPS32R5): New define.
(ISA_MIPS64R3): New define.
(ISA_MIPS64R5): New define.
(CPU_MIPS32R3): New define.
(CPU_MIPS32R5): New define.
(CPU_MIPS64R3): New define.
(CPU_MIPS64R5): New define.
opcodes/
* mips-opc.c (mips_builtin_opcodes): Add MIPS32r5 eretnc instruction.
(I34): New define.
(I36): New define.
(I66): New define.
(I68): New define.
* mips-dis.c (mips_arch_choices): Add mips32r3, mips32r5, mips64r3 and
mips64r5.
(parse_mips_dis_option): Update MSA and virtualization support to
allow mips64r3 and mips64r5.
2014-05-02 13:12:48 +00:00
|
|
|
|
2014-05-07 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips.exp: Add MIPS32r5 tests. Also add the mips32r3,
|
|
|
|
|
mips32r5, mips64r3 and mips64r5 isas to the testsuite.
|
|
|
|
|
* gas/mips/r5.s: New test.
|
|
|
|
|
* gas/mips/r5.d: Likewise.
|
|
|
|
|
|
2014-05-02 18:22:04 +00:00
|
|
|
|
2014-05-05 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16893
|
|
|
|
|
* gas/i386/katmai.d: Expect "gs" as prefix.
|
|
|
|
|
|
|
|
|
|
* gas/i386/long-1.s: Replace movapd with movss.
|
|
|
|
|
* gas/i386/x86-64-long-1.s: Likewise.
|
|
|
|
|
* gas/i386/long-1-intel.d: Updated.
|
|
|
|
|
* gas/i386/long-1.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-long-1-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-long-1.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/prefix.s: Add tests for multiple 0x66, 0x67, 0xf0,
|
|
|
|
|
0xf2 and 0xf3 prefixes.
|
|
|
|
|
* gas/i386/prefix.d: Updated.
|
|
|
|
|
|
2014-05-02 15:39:09 +00:00
|
|
|
|
2014-05-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/opcode-intel.d: Undo the last change.
|
|
|
|
|
* gas/i386/opcode-suffix.d: Likewise.
|
|
|
|
|
* gas/i386/opcode.d: Likewise.
|
|
|
|
|
* gas/i386/opcode.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/prefix.s: Add test for fwait with prefix.
|
|
|
|
|
* gas/i386/prefix.d: Updated.
|
|
|
|
|
|
2014-05-01 16:39:51 +00:00
|
|
|
|
2014-05-01 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16891
|
|
|
|
|
* gas/i386/opcode.s: Add test for fwait with prefix.
|
|
|
|
|
* gas/i386/opcode-intel.d: Updated.
|
|
|
|
|
* gas/i386/opcode-suffix.d: Likewise.
|
|
|
|
|
* gas/i386/opcode.d: Likewise.
|
|
|
|
|
|
2014-04-04 09:07:06 +00:00
|
|
|
|
2014-04-23 Will Newton <will.newton@linaro.org>
|
|
|
|
|
|
2014-04-04 10:52:59 +00:00
|
|
|
|
* gas/arm/backslash-at.d: Fix dump output regexps for
|
|
|
|
|
armeb-linux-eabi configuration.
|
|
|
|
|
* gas/arm/got_prel.d: Likewise.
|
|
|
|
|
* gas/arm/inst-po.d: Likewise.
|
|
|
|
|
* gas/arm/unwind.d: Likewise.
|
|
|
|
|
|
2014-04-04 09:07:06 +00:00
|
|
|
|
* gas/arm/mapmisc.d: Check literal pool mapping with
|
|
|
|
|
a trailing .align statement.
|
|
|
|
|
* gas/arm/mapmisc.s: Likewise.
|
|
|
|
|
|
2014-04-23 10:24:30 +00:00
|
|
|
|
2014-04-23 Andrew Bennett <andrew.bennett@imgtec.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips.exp: Add xpa tests.
|
|
|
|
|
* gas/mips/xpa.s: New test.
|
|
|
|
|
* gas/mips/xpa.d: Likewise.
|
|
|
|
|
|
2014-04-23 02:41:14 +00:00
|
|
|
|
2014-04-22 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/nios2/selftest.s: New.
|
|
|
|
|
* gas/nios2/selftest.d: New.
|
|
|
|
|
|
2014-04-15 15:12:46 +00:00
|
|
|
|
2014-04-22 Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/xtensa/all.exp: Add test for the first section frag alignment.
|
|
|
|
|
* gas/xtensa/first_frag_align.d: First section frag alignment expected
|
|
|
|
|
dump.
|
|
|
|
|
* gas/xtensa/first_frag_align.s: First section frag alignment test
|
|
|
|
|
source.
|
|
|
|
|
|
2014-04-22 14:57:47 +00:00
|
|
|
|
2014-04-22 Christian Svensson <blue@cmd.nu>
|
|
|
|
|
|
|
|
|
|
* Makefile.am: Remove openrisc and or32 support. Add support for or1k.
|
|
|
|
|
* gas/all/gas.exp: Likewise.
|
|
|
|
|
* gas/elf/warn-2.s: Likewise.
|
|
|
|
|
* gas/lns/lns.exp: Likewise.
|
|
|
|
|
* gas/lns/lns-common-1-or1k.s: New file.
|
|
|
|
|
* gas/or1k/allinsn.d: New file.
|
|
|
|
|
* gas/or1k/allinsn.exp: New file.
|
|
|
|
|
* gas/or1k/allinsn.s: New file.
|
|
|
|
|
* gas/openrisc/addi.d: Delete.
|
|
|
|
|
* gas/openrisc/addi.s: Delete.
|
|
|
|
|
* gas/openrisc/allinsn.d: Delete.
|
|
|
|
|
* gas/openrisc/allinsn.exp: Delete.
|
|
|
|
|
* gas/openrisc/allinsn.s: Delete.
|
|
|
|
|
* gas/openrisc/lohi.d: Delete.
|
|
|
|
|
* gas/openrisc/lohi.s: Delete.
|
|
|
|
|
* gas/openrisc/store.d: Delete.
|
|
|
|
|
* gas/openrisc/store.s: Delete.
|
|
|
|
|
|
2014-04-10 15:50:33 +00:00
|
|
|
|
2014-04-10 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
|
|
|
|
|
|
|
|
|
|
* gas/avr/diffreloc_withrelax.d: New testcase.
|
|
|
|
|
* gas/avr/noreloc_withoutrelax.d: Likewise.
|
|
|
|
|
* gas/avr/relax.s: Likewise.
|
|
|
|
|
|
2014-04-03 12:40:04 +00:00
|
|
|
|
2014-04-04 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/i386.exp: Run SE1 tests.
|
|
|
|
|
* gas/i386/se1.d: New file.
|
|
|
|
|
* gas/i386/se1.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-se1.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-se1.s: Ditto.
|
|
|
|
|
|
2014-03-21 11:53:42 +00:00
|
|
|
|
2014-03-21 David Weatherford <weath@cadence.com>
|
|
|
|
|
Max Filippov <jcmvbkbc@gmail.com>
|
|
|
|
|
|
|
|
|
|
* gas/xtensa/all.exp: Add test for trampoline relaxation.
|
|
|
|
|
* gas/xtensa/trampoline.d: Trampoline relaxation expected dump.
|
|
|
|
|
* gas/xtensa/trampoline.s: Trampoline relaxation test source.
|
|
|
|
|
|
gas/
* config/tc-mips.h (DIFF_EXPR_OK, CFI_DIFF_EXPR_OK): Define.
* config/tc-mips.c (md_pcrel_from): Remove error message.
(md_apply_fix): Convert PC-relative BFD_RELOC_32s to
BFD_RELOC_32_PCREL. Report a specific error message for unhandled
PC-relative expressions. Handle BFD_RELOC_8.
gas/testsuite/
* gas/all/gas.exp: Remove XFAIL of forward.d for MIPS.
* gas/mips/pcrel-1.s, gas/mips/pcrel-1.d, gas/mips/pcrel-2.s,
gas/mips/pcrel-2.d, gas/mips/pcrel-3.s, gas/mips/pcrel-3.l,
gas/mips/pcrel-4.s, gas/mips/pcrel-4-32.d, gas/mips/pcrel-4-n32.d,
gas/mips/pcrel-4-64.d: New tests.
* gas/mips/mips.exp: Run them.
* gas/mips/lui-2.l: Tweak error message for line 7.
ld/testsuite/
* ld-elf/merge.d: Remove MIPS XFAIL.
2014-03-20 21:18:43 +00:00
|
|
|
|
2014-03-20 Richard Sandiford <rdsandiford@googlemail.com>
|
|
|
|
|
|
|
|
|
|
* gas/all/gas.exp: Remove XFAIL of forward.d for MIPS.
|
|
|
|
|
* gas/mips/pcrel-1.s, gas/mips/pcrel-1.d, gas/mips/pcrel-2.s,
|
|
|
|
|
gas/mips/pcrel-2.d, gas/mips/pcrel-3.s, gas/mips/pcrel-3.l,
|
|
|
|
|
gas/mips/pcrel-4.s, gas/mips/pcrel-4-32.d, gas/mips/pcrel-4-n32.d,
|
|
|
|
|
gas/mips/pcrel-4-64.d: New tests.
|
|
|
|
|
* gas/mips/mips.exp: Run them.
|
|
|
|
|
* gas/mips/lui-2.l: Tweak error message for line 7.
|
|
|
|
|
|
Fix memory size for gather/scatter instructions
For gathers with indices larger than elements (e. g.)
vpgatherqd ymm6{k1}, ZMMWORD PTR [ebp+zmm7*8-123]
We currently treat memory size as a size of index register, while it is
actually should be size of destination register:
vpgatherqd ymm6{k1}, YMMWORD PTR [ebp+zmm7*8-123]
This patch fixes it.
opcodes/
* i386-opc.tbl: Change memory size for vgatherpf0qps, vgatherpf1qps,
vscatterpf0qps, vscatterpf1qps, vgatherqps, vpgatherqd, vpscatterqd,
vscatterqps.
* i386-tbl.h: Regenerate.
gas/testsuite/
* gas/i386/avx512pf-intel.d: Change memory size for vgatherpf0qps,
vgatherpf1qps, vscatterpf0qps, vscatterpf1qps.
* gas/i386/avx512pf.s: Ditto.
* gas/i386/x86-64-avx512pf-intel.d: Ditto.
* gas/i386/x86-64-avx512pf.s: Ditto.
* gas/i386/avx512f-intel.d: Change memory size for vgatherqps,
vpgatherqd, vpscatterqd, vscatterqps.
* gas/i386/avx512f.s: Ditto.
* gas/i386/x86-64-avx512f-intel.d: Ditto.
* gas/i386/x86-64-avx512f.s: Ditto.
2014-03-20 09:12:16 +00:00
|
|
|
|
2014-03-20 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512pf-intel.d: Change memory size for vgatherpf0qps,
|
|
|
|
|
vgatherpf1qps, vscatterpf0qps, vscatterpf1qps.
|
|
|
|
|
* gas/i386/avx512pf.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512pf-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512pf.s: Ditto.
|
|
|
|
|
* gas/i386/avx512f-intel.d: Change memory size for vgatherqps,
|
|
|
|
|
vpgatherqd, vpscatterqd, vscatterqps.
|
|
|
|
|
* gas/i386/avx512f.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512f-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512f.s: Ditto.
|
|
|
|
|
|
2014-03-19 16:22:31 +00:00
|
|
|
|
2014-03-19 Jose E. Marchesi <jose.marchesi@oracle.com>
|
|
|
|
|
|
|
|
|
|
* gas/sparc/ldd_std.d: Fix objdump invocation in order to get
|
|
|
|
|
the old opcodes for the ldtw, ldtwa, stw and stwa instructions.
|
|
|
|
|
|
2014-03-19 16:43:41 +00:00
|
|
|
|
* gas/sparc/rdhpr.s: Test rd %hstick_offset and %hstick_enable.
|
|
|
|
|
* gas/sparc/rdhpr.d: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/sparc/wrhpr.s: Test wr %hstick_offset and %hstick_enable.
|
|
|
|
|
* gas/sparc/wrhpr.d: Likewise.
|
|
|
|
|
|
2014-03-19 16:22:31 +00:00
|
|
|
|
2014-03-19 Daniel Gutson <daniel.gutson@tallertechnologies.com>
|
2014-03-19 14:31:25 +00:00
|
|
|
|
Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/ccs.s: New test case.
|
|
|
|
|
* gas/arm/ccs.d: New expected disassembly.
|
|
|
|
|
|
2014-03-19 09:38:25 +00:00
|
|
|
|
2014-03-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/rx/mov.d: Update expected disassembly.
|
|
|
|
|
|
2014-03-18 17:41:43 +00:00
|
|
|
|
2014-03-18 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/illegal.d: Pass -mno-verbose-error.
|
|
|
|
|
* gas/aarch64/verbose-error.s: Add more verbose message testcases.
|
|
|
|
|
* gas/aarch64/verbose-error.l: Ditto.
|
|
|
|
|
|
2014-03-17 16:30:30 +00:00
|
|
|
|
2014-03-17 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16694
|
|
|
|
|
* gas/cfi/cfi-arm-1.s: Add checks of VFP registers.
|
|
|
|
|
* gas/cfi/cfi-arm-1.d: Update expected output.
|
|
|
|
|
|
2014-03-13 12:47:05 +00:00
|
|
|
|
2014-03-13 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/litpool.s: Make the test endian agnostic.
|
|
|
|
|
* gas/aarch64/litpool.d: Update expected disassembly.
|
|
|
|
|
|
2013-12-02 13:30:32 +00:00
|
|
|
|
2014-03-13 Tristan Gingold <gingold@adacore.com>
|
|
|
|
|
|
|
|
|
|
* gas/pe/big-obj.d, gas/pe/big-obj.s: Add test.
|
|
|
|
|
* gas/pe/pe.exp: Add test.
|
|
|
|
|
|
2014-03-12 15:44:09 +00:00
|
|
|
|
2014-03-12 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16688
|
|
|
|
|
* gas/aarch64/litpool.s: New test case.
|
|
|
|
|
* gas/aarch64/litpool.d: Expected disassembly.
|
|
|
|
|
|
2014-03-05 11:46:15 +00:00
|
|
|
|
2014-03-05 Alan Modra <amodra@gmail.com>
|
|
|
|
|
|
|
|
|
|
Update copyright years.
|
|
|
|
|
|
2014-03-03 17:27:55 +00:00
|
|
|
|
2014-03-03 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/msp430/bad.d: Add -mz option.
|
|
|
|
|
* gas/msp430/bad.s: Add more cases where warnings should be
|
|
|
|
|
generated.
|
|
|
|
|
* gas/msp430/bad.l: Add expected warning messages.
|
|
|
|
|
|
2014-02-27 15:06:56 +00:00
|
|
|
|
2014-02-27 Jiong Wang <jiong.wang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/fp-const0-parsing.s: New test.
|
|
|
|
|
* gas/aarch64/fp-const0-parsing.d: Likewise.
|
|
|
|
|
|
2014-02-27 14:55:46 +00:00
|
|
|
|
2014-02-27 Yufeng Zhang <yufeng.zhang@arm.com>
|
|
|
|
|
|
|
|
|
|
* gas/aarch64/ldst-reg-reg-offset.s: Add tests.
|
|
|
|
|
* gas/aarch64/ldst-reg-reg-offset.d: Update.
|
|
|
|
|
|
2014-02-20 14:57:31 +00:00
|
|
|
|
2014-02-21 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512pf-intel.d: Remove prefetchwt1.
|
|
|
|
|
* gas/i386/avx512pf.s: Ditto.
|
|
|
|
|
* gas/i386/avx512pf.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512pf-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512pf.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512pf.d: Ditto.
|
|
|
|
|
* gas/i386/prefetchwt1-intel.d: New file.
|
|
|
|
|
* gas/i386/prefetchwt1.s: Ditto.
|
|
|
|
|
* gas/i386/prefetchwt1.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-prefetchwt1-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-prefetchwt1.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-prefetchwt1.d: Ditto.
|
|
|
|
|
|
2014-02-20 14:31:11 +00:00
|
|
|
|
2014-02-20 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx512cd-intel.d: Remove vptestnmq, vptestnmd.
|
|
|
|
|
* gas/i386/avx512cd.s: Ditto.
|
|
|
|
|
* gas/i386/avx512cd.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512cd-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512cd.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512cd.d: Ditto.
|
|
|
|
|
* gas/i386/avx512f-intel.d: Add vptestnmq, vptestnmd.
|
|
|
|
|
* gas/i386/avx512f.s: Ditto.
|
|
|
|
|
* gas/i386/avx512f.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512f-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512f.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-avx512f.d: Ditto.
|
|
|
|
|
|
Add clflushopt, xsaves, xsavec, xrstors
gas/
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* config/tc-i386.c (cpu_arch): Add .clflushopt, .xsavec, .xsaves.
* doc/c-i386.texi: Document .xsavec/xsavec/.xsaves/xsaves/
clflushopt/.clfushopt.
gas/testsuite/
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* gas/i386/clflushopt-intel.d: New.
* gas/i386/clflushopt.d: Ditto.
* gas/i386/clflushopt.s: Ditto.
* gas/i386/i386.exp: Run new tests.
* gas/i386/x86-64-clflushopt-intel.d: New.
* gas/i386/x86-64-clflushopt.d: Ditto.
* gas/i386/x86-64-clflushopt.s: Ditto.
* gas/i386/x86-64-xsavec-intel.d: Ditto.
* gas/i386/x86-64-xsavec.d: Ditto.
* gas/i386/x86-64-xsavec.s: Ditto.
* gas/i386/x86-64-xsaves-intel.d: Ditto.
* gas/i386/x86-64-xsaves.d: Ditto.
* gas/i386/x86-64-xsaves.s: Ditto.
* gas/i386/xsavec-intel.d: Ditto.
* gas/i386/xsavec.d: Ditto.
* gas/i386/xsavec.s: Ditto.
* gas/i386/xsaves-intel.d: Ditto.
* gas/i386/xsaves.d: Ditto.
* gas/i386/xsaves.s: Ditto.
opcodes/
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
* i386-dis.c (MOD enum): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4,
MOD_0FC7_REG_5.
(PREFIX enum): Add PREFIX_0FAE_REG_7.
(reg_table): Add MOD_0FC7_REG_3, MOD_0FC7_REG_4 MOD_0FC7_REG_5.
(prefix_table): Add clflusopt.
(mod_table): Add xrstors, xsavec, xsaves.
* i386-gen.c (cpu_flag_init): Add CPU_CLFLUSHOPT_FLAGS,
CPU_XSAVES_FLAGS, CPU_XSAVEC_FLAGS.
(cpu_flags): Add CpuClflushOpt, CpuXSAVES, CpuXSAVEC.
* i386-init.h: Regenerate.
* i386-opc.tbl: Add clflushopt, xrstors, xrstors64, xsaves,
xsaves64, xsavec, xsavec64.
* i386-tbl.h: Regenerate.
2013-11-25 12:35:42 +00:00
|
|
|
|
2014-02-12 Ilya Tocar <ilya.tocar@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/clflushopt-intel.d: New.
|
|
|
|
|
* gas/i386/clflushopt.d: Ditto.
|
|
|
|
|
* gas/i386/clflushopt.s: Ditto.
|
|
|
|
|
* gas/i386/i386.exp: Run new tests.
|
|
|
|
|
* gas/i386/x86-64-clflushopt-intel.d: New.
|
|
|
|
|
* gas/i386/x86-64-clflushopt.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-clflushopt.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-xsavec-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-xsavec.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-xsavec.s: Ditto.
|
|
|
|
|
* gas/i386/x86-64-xsaves-intel.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-xsaves.d: Ditto.
|
|
|
|
|
* gas/i386/x86-64-xsaves.s: Ditto.
|
|
|
|
|
* gas/i386/xsavec-intel.d: Ditto.
|
|
|
|
|
* gas/i386/xsavec.d: Ditto.
|
|
|
|
|
* gas/i386/xsavec.s: Ditto.
|
|
|
|
|
* gas/i386/xsaves-intel.d: Ditto.
|
|
|
|
|
* gas/i386/xsaves.d: Ditto.
|
|
|
|
|
* gas/i386/xsaves.s: Ditto.
|
|
|
|
|
|
2014-01-31 16:13:06 +00:00
|
|
|
|
2014-01-31 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16488
|
|
|
|
|
* gas/i386/inval-avx512f.s: Add test for incorrect memory operand
|
|
|
|
|
for gather/scatter instructions.
|
|
|
|
|
* gas/i386/x86-64-inval-avx512f.s: Likewise.
|
|
|
|
|
* gas/i386/inval-avx512f.l: Adjust correspondingly.
|
|
|
|
|
* gas/i386/x86-64-inval-avx512f.l: Likewise.
|
|
|
|
|
|
Nios II CALL26 linker relaxation
2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
bfd/
* bfd-in2.h: Update from reloc.c.
* elf32-nios2.c: Include elf32-nios2.h.
(elf_nios2_howto_table_rel): Add entry for R_NIOS2_CALL26_NOAT.
(nios2_reloc_map): Likewise.
(enum elf32_nios2_stub_type): Declare.
(struct elf32_nios2_stub_hash_entry): Declare.
(nios2_stub_hash_entry, nios2_stub_hash_lookup): New macros.
(struct elf32_nios2_link_hash_entry): Add hsh_cache field.
(struct elf32_nios2_link_hash_table): Add new fields bstab,
stub_bfd, add_stub_section, layout_sections_again, stub_group,
bfd_count, top_index, input_list, all_local_syms.
(nios2_call26_stub_entry): New.
(nios2_elf32_install_imm16): Move up in file.
(nios2_elf32_install_data): Move up in file.
(hiadj): Move up in file.
(stub_hash_newfunc): New.
(link_hash_newfunc): Initialize hsh_cache field.
(STUB_SUFFIX): New.
(nios2_stub_name): New.
(nios2_get_stub_entry): New.
(nios2_add_stub): New.
(nios2_elf32_setup_section_lists): New.
(nios2_elf32_next_input_section): New.
(CALL26_SEGMENT): New.
(MAX_STUB_SECTION_SIZE): New.
(group_sections): New.
(nios2_type_of_stub): New.
(nios2_build_one_stub): New.
(nios2_size_one_stub): New.
(get_local_syms): New.
(nios2_elf32_size_stubs): New.
(nios2_elf32_build_stubs): New.
(nios2_elf32_do_call26_relocate): Correct CALL26 overflow test.
(nios2_elf32_relocate_section): Handle R_NIOS2_CALL26_NOAT. Add
trampolines for R_NIOS2_CALL26 stubs.
(nios2_elf32_check_relocs): Handle R_NIOS2_CALL26_NOAT.
(nios2_elf32_gc_sweep_hook): Likewise.
(nios2_elf32_link_hash_table_create): Initialize the stub hash table.
(nios2_elf32_link_hash_table_free): New.
(bfd_elf32_bfd_link_hash_table_free): Define.
* elf32-nios2.h: New file.
* libbfd.h: Update from reloc.c.
* reloc.c (BFD_RELOC_NIOS2_CALL26_NOAT): New.
gas/
* config/tc-nios2.c (md_apply_fix): Handle BFD_RELOC_NIOS2_CALL26_NOAT.
(nios2_assemble_args_m): Likewise.
(md_assemble): Likewise.
gas/testsuite/
* gas/nios2/call26_noat.d: New.
* gas/nios2/call26_noat.s: New.
* gas/nios2/call_noat.d: New.
* gas/nios2/call_noat.s: New.
include/elf/
* nios2.h (elf_nios2_reloc_type): Add R_NIOS2_CALL26_NOAT.
ld/
* Makefile.am (enios2elf.c, enios2linux.c): Update dependencies.
* Makefile.in: Regenerated.
* emulparams/nios2elf.sh (EXTRA_EM_FILE): Set.
* emulparams/nios2linux.sh (EXTRA_EM_FILE): Set.
* emultempl/nios2elf.em: New file.
* gen-doc.texi (NIOSII): Set.
* ld.texinfo (NIOSII): Set.
ld/testsuite/
* ld-nios2/relax_call26.s: New.
* ld-nios2/relax_call26_boundary.ld: New.
* ld-nios2/relax_call26_boundary.s: New.
* ld-nios2/relax_call26_boundary_c8.d: New.
* ld-nios2/relax_call26_boundary_cc.d: New.
* ld-nios2/relax_call26_boundary_d0.d: New.
* ld-nios2/relax_call26_boundary_d4.d: New.
* ld-nios2/relax_call26_boundary_d8.d: New.
* ld-nios2/relax_call26_boundary_dc.d: New.
* ld-nios2/relax_call26_boundary_f0.d: New.
* ld-nios2/relax_call26_boundary_f4.d: New.
* ld-nios2/relax_call26_boundary_f8.d: New.
* ld-nios2/relax_call26_boundary_fc.d: New.
* ld-nios2/relax_call26_cache.d: New.
* ld-nios2/relax_call26_cache.ld: New.
* ld-nios2/relax_call26_cache.s: New.
* ld-nios2/relax_call26_multi.d: New.
* ld-nios2/relax_call26_multi.ld: New.
* ld-nios2/relax_call26_norelax.d: New.
* ld-nios2/relax_call26_shared.d: New.
* ld-nios2/relax_call26_shared.ld: New.
2014-01-31 01:47:07 +00:00
|
|
|
|
2014-01-30 Sandra Loosemore <sandra@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/nios2/call26_noat.d: New.
|
|
|
|
|
* gas/nios2/call26_noat.s: New.
|
|
|
|
|
* gas/nios2/call_noat.d: New.
|
|
|
|
|
* gas/nios2/call_noat.s: New.
|
|
|
|
|
|
2014-01-30 15:38:09 +00:00
|
|
|
|
2014-01-30 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
|
|
|
|
|
Jan Beulich <jbeulich@suse.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16490
|
|
|
|
|
* gas/i386/avx512f.d: Fix test output.
|
|
|
|
|
* gas/i386/avx512f-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx512f-intel.d: Likewise.
|
|
|
|
|
|
2014-01-28 12:18:01 +00:00
|
|
|
|
2014-01-28 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR binutils/16317
|
|
|
|
|
* gas/ia64/group-2.d: Expect I attribute with RELA sections.
|
|
|
|
|
* gas/ia64/xdata.d: Likewise.
|
|
|
|
|
|
2014-01-22 17:57:31 +00:00
|
|
|
|
2014-01-22 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
|
|
|
|
|
|
|
|
|
|
PR gas/16489
|
|
|
|
|
* gas/i386/vgather-check.s: Add tests for AVX512 gathers.
|
|
|
|
|
* gas/i386/x86-64-vgather-check.s: Likewise.
|
|
|
|
|
* gas/i386/vgather-check-error.l: Update correspondingly.
|
|
|
|
|
* gas/i386/vgather-check-none.d: Likewise.
|
|
|
|
|
* gas/i386/vgather-check-warn.d: Likewise.
|
|
|
|
|
* gas/i386/vgather-check-warn.e: Likewise.
|
|
|
|
|
* gas/i386/vgather-check.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-vgather-check-error.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-vgather-check-none.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-vgather-check-warn.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-vgather-check-warn.e: Likewise.
|
|
|
|
|
* gas/i386/x86-64-vgather-check.d: Likewise.
|
|
|
|
|
|
2014-01-16 10:08:45 +00:00
|
|
|
|
2014-01-17 Will Newton <will.newton@linaro.org>
|
|
|
|
|
|
|
|
|
|
* gas/arm/armv8-a+fp.d: Correct encoding of vcvta.s32.f64.
|
|
|
|
|
|
2014-01-08 13:32:12 +00:00
|
|
|
|
For older changes see ChangeLog-2013
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
2014-01-08 13:32:12 +00:00
|
|
|
|
Copyright (C) 2014 Free Software Foundation, Inc.
|
2012-12-10 12:48:03 +00:00
|
|
|
|
|
|
|
|
|
Copying and distribution of this file, with or without modification,
|
|
|
|
|
are permitted in any medium without royalty provided the copyright
|
|
|
|
|
notice and this notice are preserved.
|
|
|
|
|
|
2004-01-02 11:16:21 +00:00
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|