M68K TLS support.
ld/testsuite/
* ld-m68k/got-multigot-12-13-14-34-35-ok.d: Update.
* ld-m68k/got-multigot-14-ok.d: Update.
* ld-m68k/m68k-got.exp: Update.
* ld-m68k/got-negative-12-13-14-34-ok.d: Update.
* ld-m68k/got-negative-14-ok.d: Update.
* ld-m68k/tls-gd-1.d, ld-m68k/tls-gd-2.d: New tests.
* ld-m68k/tls-gd-ie-1.d, ld-m68k/tls-ie-1.d: New tests.
* ld-m68k/tls-ld-1.d, ld-m68k/tls-ld-2.d: New tests.
* ld-m68k/tls-ld-1.s, ld-m68k/tls-ld-2.s, ld-m68k/tls-le-1.s:
New test sources.
* ld-m68k/tls-no-1.s, ld-m68k/tls-gd-ie-1.s, ld-m68k/tls-gd-1.s:
New test sources.
* ld-m68k/tls-gd-2.s, ld-m68k/tls-ie-1.s: New test sources.
* ld-m68k/m68k.exp: Run new tests.
(merge isa-a isa-a:nodiv): Fix.
gas/testsuite/
* gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
* gas/m68k/all.exp: Run it.
gas/
* config/m68k-parse.h (enum pic_relocation): Add values for TLS
relocations.
* config/m68k-parse.y (yylex): Parse TLS relocations.
* config/tc-m68k.c (m68k_elf_cons): New static function.
(md_pseudo_table): Use it.
(get_reloc_code, tc_m68k_fix_adjustable, tc_gen_reloc): Handle TLS
relocations.
(md_apply_fix): Fix to set thread local flag.
(m68k_elf_suffix): New static function; helper for m68k_elf_cons.
include/elf/
* m68k.h: Map TLS relocations to numbers.
bfd/
* bfd-in2.h: Regenerate.
* elf32-m68k.c: Handle 2-slot GOT entries. Rename variables and
fields from n_entries to n_slots where appropriate, update comments.
(HOWTO): Add TLS relocations.
(reloc_map): Map BFD_RELOC_68K_TLS_* to R_68K_TLS_*.
(enum elf_m68k_got_offset_size): New enum.
(struct elf_m68k_got_entry.type): Move field to ...
(struct elf_m68k_got_entry_key): ... here. Update all uses.
(elf_m68k_reloc_got_type, elf_m68k_reloc_got_offset_size): New static
functions.
(elf_m68k_reloc_got_n_entries, elf_m68k_reloc_tls_p): New static
functions.
(struct elf_m68k_got): merge rel_8o_n_entries and rel_8o_16o_n_entries
fields into n_entries array. Update comments.
(elf_m68k_init_got): Simplify, update all uses.
(elf_m68k_init_got_entry_key): Handle R_68K_TLS_LDM32 reloc, update.
(ELF_M68K_REL_8O_MAX_N_ENTRIES_IN_GOT): Adjust to handle 2-slot
GOT entries; update name, update all uses.
(ELF_M68K_REL_8O_16O_MAX_N_ENTRIES_IN_GOT): Ditto.
(elf_m68k_get_got_entry): Update.
(elf_m68k_update_got_entry_type): Rewrite to handle TLS GOT entries,
simplify.
(elf_m68k_remove_got_entry_type): Simplify.
(elf_m68k_add_entry_to_got, elf_m68k_can_merge_gots_1): Update.
(elf_m68k_can_merge_gots): Update.
(elf_m68k_merge_gots_1, elf_m68k_merge_gots): Update.
(struct elf_m68k_finalize_got_offsets_arg): Rewrite to handle 2-slot
GOT entries, simplify.
(elf_m68k_finalize_got_offsets_1, elf_m68k_finalize_got_offsets): Same.
(struct elf_m68k_partition_multi_got_arg): Add slots_relas_diff
field, remove obsoleted local_n_entries field.
(elf_m68k_partition_multi_got_2): New static function.
(elf_m68k_partition_multi_got_1, elf_m68k_partition_multi_got): Use it;
update.
(elf_m68k_remove_got_entry_type): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_check_relocs): Handle TLS relocations. Remove unnecessary
update of sgot->size and srelgot->size.
(elf_m68k_gc_sweep_hook): Update.
(elf_m68k_install_rela, dtpoff_base, tpoff): New static functions.
(elf_m68k_relocate_section, elf_m68k_finish_dynamic_symbol): Handle
TLS relocations.
* reloc.c (BFD_RELOC_68K_TLS_*): Declare TLS relocations.
* libbfd.h (bfd_reloc_code_real_names): Add BFD_RELOC_68K_TLS_*.
2009-02-03 14:36:47 +00:00
|
|
|
|
2009-02-03 Maxim Kuvyrkov <maxim@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/m68k/tls-gd-3.d, gas/m68k/tls-gd-3.s: New test.
|
|
|
|
|
* gas/m68k/all.exp: Run it.
|
|
|
|
|
|
2009-01-29 11:56:19 +00:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/copro.s: Avoid using r15 where not permitted.
|
|
|
|
|
* gas/arm/copro.d: Adjust accordingly.
|
|
|
|
|
* gas/arm/thumb2_bad_reg.s: New.
|
|
|
|
|
* gas/arm/thumb2_bad_reg.l: Likewise.
|
|
|
|
|
* gas/arm/thumb2_bad_reg.d: Likewise.
|
|
|
|
|
|
2009-01-29 11:52:26 +00:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/thumb32.s: Add tests for orn and rrx.
|
|
|
|
|
* gas/arm/thumb32.d: Adjust accordingly.
|
|
|
|
|
* gas/arm/thumb32.l: Likewise.
|
|
|
|
|
* gas/arm/thumb2_invert.s: Add tests for orn and orr.
|
|
|
|
|
* gas/arm/thumb2_invert.d: Adjust accordingly.
|
|
|
|
|
* gas/arm/tcompat.s: Add tests for rrx.
|
|
|
|
|
* gas/arm/tcompat.d: Adjust accordingly.
|
|
|
|
|
|
gas:
2009-01-29 Mark Mitchell <mark@codesourcery.com>
* config/tc-arm.c (insns): Add qasx, qsax, shasx, shsax, ssax,
uasx, uhasx, uhsx, uqasx, uqsax, usax.
gas/testsuite:
2009-01-29 Mark Mitchell <mark@codesourcery.com>
* gas/arm/thumb32.s (qadd): Add tests for them.
* gas/arm/thumb32.d: Adjust accordingly.
2009-01-29 11:50:46 +00:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/thumb32.s (qadd): Add tests for them.
|
|
|
|
|
* gas/arm/thumb32.d: Adjust accordingly.
|
|
|
|
|
|
2009-01-29 11:48:34 +00:00
|
|
|
|
2009-01-29 Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/thumb32.s (qadd): Add qadd, qdadd, qsub, and qdsub.
|
|
|
|
|
* gas/arm/thumb32.d: Likewise.
|
|
|
|
|
|
2009-01-29 11:46:02 +00:00
|
|
|
|
2009-01-29 Paul Brook <paul@codesourcery.com>
|
|
|
|
|
Mark Mitchell <mark@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/thumb2_mul.s: New file.
|
|
|
|
|
* gas/arm/thumb2_mul.d: Likewise.
|
|
|
|
|
* gas/arm/thumb2_mul-bad.s: Likewise.
|
|
|
|
|
* gas/arm/thumb2_mul-bad.d: Likewise.
|
|
|
|
|
* gas/arm/thumb2_mul-bad.l: Likewise.
|
|
|
|
|
* gas/arm/t16-bad.s: Add tests for"mul" with high registers.
|
|
|
|
|
* gas/arm/t16-bad.l: Update accordingly.
|
|
|
|
|
|
2009-01-29 09:03:13 +00:00
|
|
|
|
2009-01-29 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/all/gas.exp: Expect forward test to fail for MeP.
|
|
|
|
|
Expect relax test to fail for MeP.
|
|
|
|
|
* gas/mep/relocs.d: Update expected disassembly.
|
|
|
|
|
|
2009-01-27 15:20:11 +00:00
|
|
|
|
2009-01-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/attr-cpu-directive.d: Only run test for EABI targets.
|
|
|
|
|
* gas/arm/attr-default.d : Likewise.
|
|
|
|
|
* gas/arm/attr-march-all.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv1.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv2a.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv2s.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv3.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv3m.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv4.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv4t.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv4txm.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv4xm.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv5.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv5t.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv5te.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv5tej.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv5texp.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv5txm.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6-m.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6j.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6k.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6kt2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6t2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6z.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6zk.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6zkt2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv6zt2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7-a.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7-m.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7-r.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7a.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7m.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-armv7r.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-iwmmxt.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-iwmmxt2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-march-xscale.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mcpu.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1020e.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1020t.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-arm7500fe.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-fpa.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-fpa10.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-fpa11.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-fpe.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-fpe2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-fpe3.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-maverick.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-neon-fp16.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-neon.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-softfpa.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-softvfp.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp10.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp3.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp9.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpv2.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpv3.d: Likewise.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpxd.d: Likewise.
|
|
|
|
|
* gas/arm/attr-order.d: Likewise.
|
|
|
|
|
* gas/arm/attr-override-cpu-directive.d: Likewise.
|
|
|
|
|
* gas/arm/attr-override-mcpu.d: Likewise.
|
|
|
|
|
|
2009-01-27 13:48:14 +00:00
|
|
|
|
2009-01-27 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/lib/gas-defs.exp: Update description of run_dump_test proc.
|
|
|
|
|
|
|
|
|
|
* gas/mips/dli.d: Pass -64 to gas.
|
|
|
|
|
* gas/mips/mips64-mips3d-incl.d: Likewise.
|
|
|
|
|
* gas/mips/octeon.d: Likewise.
|
|
|
|
|
* gas/mips/sb1-ext-mdmx.d: Likewise.
|
|
|
|
|
* gas/mips/sb1-ext-ps.d: Likewise.
|
|
|
|
|
* gas/mips/e32el-rel2.s: Pass -march=mips3 to gas.
|
|
|
|
|
Update expected relocs.
|
|
|
|
|
* gas/mips/ld-ilocks-addr32.d: Do not run for tx39 targets.
|
|
|
|
|
* gas/mips/mips.exp: Remove 'ilocks' variable.
|
|
|
|
|
Add ecoff targets to 'addr32' variable.
|
|
|
|
|
Set 'no_mips16' for ecoff targets.
|
|
|
|
|
Do not run div-ilocks or mul-ilocks test variants.
|
|
|
|
|
* gas/mips/mips16-intermix.d: Use nm instead of objdump so that
|
|
|
|
|
the symbol table output is sorted. Update expecetd output.
|
|
|
|
|
|
2009-01-26 14:36:43 +00:00
|
|
|
|
2009-01-26 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/attr-cpu-directive.d: New file.
|
|
|
|
|
* gas/arm/attr-cpu-directive.s: New file.
|
|
|
|
|
* gas/arm/attr-default.d: New file.
|
|
|
|
|
* gas/arm/attr-march-all.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv1.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv2.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv2a.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv2s.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv3.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv3m.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv4.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv4t.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv4txm.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv4xm.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv5.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv5t.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv5te.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv5tej.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv5texp.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv5txm.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6-m.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6j.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6k.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6kt2.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6t2.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6z.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6zk.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6zkt2.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv6zt2.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7-a.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7-m.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7-r.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7a.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7m.d: New file.
|
|
|
|
|
* gas/arm/attr-march-armv7r.d: New file.
|
|
|
|
|
* gas/arm/attr-march-iwmmxt.d: New file.
|
|
|
|
|
* gas/arm/attr-march-iwmmxt2.d: New file.
|
|
|
|
|
* gas/arm/attr-march-xscale.d: New file.
|
|
|
|
|
* gas/arm/attr-mcpu.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1020e.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1020t.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1136jf-s.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-arm1136jfs.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-arm7500fe.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-fpa.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-fpa10.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-fpa11.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-fpe.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-fpe2.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-fpe3.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-maverick.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-neon-fp16.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-neon.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-softfpa.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-softvfp+vfp.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-softvfp.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp10-r0.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp10.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp3.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfp9.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpv2.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpv3-d16.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpv3.d: New file.
|
|
|
|
|
* gas/arm/attr-mfpu-vfpxd.d: New file.
|
|
|
|
|
* gas/arm/attr-order.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.
|
|
|
|
|
* gas/arm/attr-override-cpu-directive.d: New file.
|
|
|
|
|
* gas/arm/attr-override-cpu-directive.s: New file.
|
|
|
|
|
* gas/arm/attr-override-mcpu.d: New file.
|
|
|
|
|
* gas/arm/attr-override-mcpu.s: New file.
|
|
|
|
|
* gas/arm/blank.s: New file.
|
|
|
|
|
* gas/arm/eabi_attr_1.d: Update Tag_ARM_ISA_use and Tag_THUMB_ISA_use.
|
|
|
|
|
|
2009-01-26 09:27:30 +00:00
|
|
|
|
2009-01-26 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/attr-order.d: Do not run this test for non-ELF based ARM
|
2009-01-27 13:48:14 +00:00
|
|
|
|
targets.
|
2009-01-26 09:27:30 +00:00
|
|
|
|
|
2009-01-24 09:57:31 +00:00
|
|
|
|
2009-01-24 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* gas/lns/lns.exp: Don't run lns-duplicate for d10v target.
|
|
|
|
|
|
2009-01-23 14:45:48 +00:00
|
|
|
|
2009-01-23 Andreas Schwab <schwab@suse.de>
|
|
|
|
|
|
|
|
|
|
* gas/mips/mips16-e.d: Adjust for change in LOCAL_LABEL_PREFIX.
|
|
|
|
|
* gas/mips/mipsel16-e.d: Likewise.
|
|
|
|
|
* gas/mips/tmips16-e.d: Likewise.
|
|
|
|
|
* gas/mips/tmipsel16-e.d: Likewise.
|
|
|
|
|
|
2009-01-19 15:49:08 +00:00
|
|
|
|
2009-01-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* lib/gas-defs.exp (run_list_test): Fix typo in comment.
|
|
|
|
|
|
2009-01-19 15:46:31 +00:00
|
|
|
|
2009-01-19 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/attr-syntax.d: Do not run for non-ELF based ARM
|
|
|
|
|
targets.
|
|
|
|
|
|
2009-01-19 12:14:05 +00:00
|
|
|
|
2009-01-19 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/attr-order.d: New file.
|
|
|
|
|
* gas/arm/attr-order.s: New file.
|
|
|
|
|
|
2009-01-16 10:26:49 +00:00
|
|
|
|
2009-01-16 Andrew Stubbs <ams@codesourcery.com>
|
|
|
|
|
Daniel Jacobowitz <dan@codesourcery.com>
|
|
|
|
|
|
|
|
|
|
* gas/arm/attr-syntax.d: New file.
|
|
|
|
|
* gas/arm/attr-syntax.s: New file.
|
|
|
|
|
|
2009-01-15 12:33:46 +00:00
|
|
|
|
2009-01-15 Nick Clifton <nickc@redhat.com>
|
|
|
|
|
|
|
|
|
|
PR 9722
|
|
|
|
|
* gas/testsuite/gas/arm/archv6m.d: Update expected NOP opcode.
|
|
|
|
|
* gas/testsuite/gas/arm/pr9722.s: New test.
|
|
|
|
|
* gas/testsuite/gas/arm/pr9722.d: Expected disassembly.
|
|
|
|
|
|
2009-01-15 04:27:28 +00:00
|
|
|
|
2009-01-14 Peter Bergner <bergner@vnet.ibm.com>
|
|
|
|
|
|
|
|
|
|
* gas/ppc/power6.s ("mtfsf", "mtfsf.", "mtfsfi", "mtfsfi."): Add tests.
|
|
|
|
|
* gas/ppc/power6.d: Likewise.
|
|
|
|
|
|
2009-01-13 00:00:35 +00:00
|
|
|
|
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/sse-noavx.s: Add tests for lfence, mfence and movnti.
|
|
|
|
|
* gas/i386/x86-64-sse-noavx.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/sse-noavx.d: Updated.
|
|
|
|
|
* gas/i386/x86-64-sse-noavx.d: Likewise.
|
|
|
|
|
|
gas/testsuite/
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
sub and xor.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
opcodes/
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
subS, xorS and cmpS.
2009-01-12 16:04:11 +00:00
|
|
|
|
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
|
|
|
|
|
sub and xor.
|
|
|
|
|
* gas/i386/x86-64-opts.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/opts.d: Updated.
|
|
|
|
|
* gas/i386/opts-intel.d: Likewise.
|
2009-01-12 16:53:08 +00:00
|
|
|
|
* gas/i386/sse2avx-opts.d: Likewise.
|
|
|
|
|
* gas/i386/sse2avx-opts-intel.d: Likewise.
|
gas/testsuite/
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
sub and xor.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
opcodes/
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
subS, xorS and cmpS.
2009-01-12 16:04:11 +00:00
|
|
|
|
* gas/i386/x86-64-opts.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-opts-intel.d: Likewise.
|
2009-01-12 16:53:08 +00:00
|
|
|
|
* gas/i386/x86-64-sse2avx-opts.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-sse2avx-opts-intel.d: Likewise.
|
gas/testsuite/
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/opts.s: Add tests for add, adc, and, cmp, or, sbb,
sub and xor.
* gas/i386/x86-64-opts.s: Likewise.
* gas/i386/opts.d: Updated.
* gas/i386/opts-intel.d: Likewise.
* gas/i386/x86-64-opts.d: Likewise.
* gas/i386/x86-64-opts-intel.d: Likewise.
opcodes/
2009-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (dis386): Use EbS on addB, orB, adcB, sbbB, andB,
subB, xorB and cmpB. Use EvS on addS, orS, adcS, sbbS, andS,
subS, xorS and cmpS.
2009-01-12 16:04:11 +00:00
|
|
|
|
|
gas/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/config/tc-i386.c (cpu_arch): Add corei7, .clflush and
.syscall.
(i386_align_code): Handle PROCESSOR_COREI7.
(md_show_usage): Add corei7, clflush and syscall.
(i386_target_format): Replace cpup4 with cpuclflush.
* gas/config/tc-i386.h (processor_type): Add PROCESSOR_COREI7.
* doc/c-i386.texi: Document corei7, clflush and syscall.
gas/testsuite/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/arch-10.s: Add clflush and syscall.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
opcodes/
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
* i386-gen.c (cpu_flag_init): Replace CpuP4 and CpuK6 with
CpuClflush and CpuSYSCALL, respectively. Remove CpuK8. Add
CPU_COREI7_FLAGS, CPU_CLFLUSH_FLAGS and CPU_SYSCALL_FLAGS.
(cpu_flags): Remove CpuP4, CpuK6 and CpuK8. Add CpuClflush
and CpuSYSCALL.
(lineno): Removed.
(set_bitfield): Take an argument, lineno. Don't report lineno
on error if it is -1.
(process_i386_cpu_flag): Take an argument, lineno.
(process_i386_opcode_modifier): Likewise.
(process_i386_operand_type): Likewise.
(output_i386_opcode): Likewise.
(opcode_hash_entry): Add lineno.
(process_i386_opcodes): Updated.
(process_i386_registers): Likewise.
(process_i386_initializers): Likewise.
* i386-opc.h (CpuP4): Removed.
(CpuK6): Likewise.
(CpuK8): Likewise.
(CpuClflush): New.
(CpuSYSCALL): Likewise.
(CpuMMX): Updated.
(i386_cpu_flags): Remove cpup4, cpuk6 and cpuk8. Add
cpuclflush and cpusyscall.
* i386-opc.tbl: Update movnti, clflush, lfence, mfence, pause,
syscall and sysret.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2009-01-10 17:25:52 +00:00
|
|
|
|
2009-01-10 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/arch-10.s: Add clflush and syscall.
|
|
|
|
|
* gas/i386/x86-64-arch-2.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/arch-10.d: Updated.
|
|
|
|
|
* gas/i386/arch-10-1.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-2.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-3.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-4.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-arch-2.d: Likewise.
|
|
|
|
|
|
2009-01-09 20:32:32 +00:00
|
|
|
|
2009-01-09 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
* gas/i386/arch-10.s: Add rdtscp.
|
|
|
|
|
* gas/i386/x86-64-arch-2.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/arch-10.d: Updated.
|
|
|
|
|
* gas/i386/arch-10-1.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-2.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-3.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-4.l: Likewise.
|
|
|
|
|
* gas/i386/x86-64-arch-2.d: Likewise.
|
|
|
|
|
|
2009-01-06 19:24:28 +00:00
|
|
|
|
2009-01-06 Chao-ying Fu <fu@mips.com>
|
|
|
|
|
|
|
|
|
|
* gas/mips/jalr.s, gas/mips/jalr.l: Add more tests for jalr
|
|
|
|
|
and jalr.hb.
|
|
|
|
|
|
2009-01-06 17:15:28 +00:00
|
|
|
|
2009-01-06 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
|
|
|
|
|
|
AVX Programming Reference (December, 2008)
|
|
|
|
|
* gas/i386/avx.s: Add tests for 256bit vmovntdq, vmovntpd and
|
|
|
|
|
vmovntps.
|
|
|
|
|
* gas/i386/x86-64-avx.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/avx.d: Updated.
|
|
|
|
|
* gas/i386/avx-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx-intel.d: Likewise.
|
|
|
|
|
|
2009-01-06 01:03:27 +00:00
|
|
|
|
2009-01-05 H.J. Lu <hongjiu.lu@intel.com>
|
2008-12-30 10:41:47 +00:00
|
|
|
|
|
2009-01-06 01:03:27 +00:00
|
|
|
|
AVX Programming Reference (December, 2008)
|
|
|
|
|
* gas/i386/arch-10.s: Replace vfmaddpd with vfmadd132pd.
|
gas/
2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (August, 2008)
* config/tc-i386.c (CPU_FLAGS_AES_MATCH): New.
(CPU_FLAGS_AVX_MATCH): Likewise.
(CPU_FLAGS_32BIT_MATCH): Updated.
(cpu_flags_match): Likewise.
gas/testsuite/
2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (August, 2008)
* gas/i386/avx.s: Add AES + AVX tests.
* gas/i386/arch-10.s: Likewise.
* gas/i386/sse2avx.s: Likewise.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-sse2avx.s: Likewise.
* gas/i386/arch-10.d: Updated.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.
* gas/i386/i386.exp: Run arch-avx-1, arch-avx-1-1 and
arch-avx-1-2.
* gas/i386/arch-avx-1.d: New.
* gas/i386/arch-avx-1.s: Likewise.
* gas/i386/arch-avx-1-1.l: Likewise.
* gas/i386/arch-avx-1-1.s: Likewise.
* gas/i386/arch-avx-1-2.l: Likewise.
* gas/i386/arch-avx-1-2.s: Likewise.
opcodes/
2008-08-20 H.J. Lu <hongjiu.lu@intel.com>
AVX Programming Reference (August, 2008)
* i386-dis.c (PREFIX_VEX_38DB): New.
(PREFIX_VEX_38DC): Likewise.
(PREFIX_VEX_38DD): Likewise.
(PREFIX_VEX_38DE): Likewise.
(PREFIX_VEX_38DF): Likewise.
(PREFIX_VEX_3ADF): Likewise.
(VEX_LEN_38DB_P_2): Likewise.
(VEX_LEN_38DC_P_2): Likewise.
(VEX_LEN_38DD_P_2): Likewise.
(VEX_LEN_38DE_P_2): Likewise.
(VEX_LEN_38DF_P_2): Likewise.
(VEX_LEN_3ADF_P_2): Likewise.
(PREFIX_VEX_3A04): Updated.
(VEX_LEN_3A06_P_2): Likewise.
(prefix_table): Add PREFIX_VEX_38DB, PREFIX_VEX_38DC,
PREFIX_VEX_38DD, PREFIX_VEX_38DE and PREFIX_VEX_3ADF.
(x86_64_table): Likewise.
(vex_len_table): Add VEX_LEN_38DB_P_2, VEX_LEN_38DC_P_2,
VEX_LEN_38DD_P_2, VEX_LEN_38DE_P_2, VEX_LEN_38DF_P_2 and
VEX_LEN_3ADF_P_2.
* i386-opc.tbl: Add AES + AVX instructions.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-08-20 18:38:40 +00:00
|
|
|
|
* gas/i386/x86-64-arch-2.s: Likewise.
|
|
|
|
|
|
|
|
|
|
* gas/i386/arch-10.d: Updated.
|
|
|
|
|
* gas/i386/arch-10-1.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-2.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-3.l: Likewise.
|
|
|
|
|
* gas/i386/arch-10-4.l: Likewise.
|
|
|
|
|
* gas/i386/avx.d: Likewise.
|
|
|
|
|
* gas/i386/avx-intel.d: Likewise.
|
2009-01-06 01:03:27 +00:00
|
|
|
|
* gas/i386/inval-avx.l: Likewise.
|
2008-04-18 13:10:32 +00:00
|
|
|
|
* gas/i386/x86-64-arch-2.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx-intel.d: Likewise.
|
2009-01-06 01:03:27 +00:00
|
|
|
|
* gas/i386/x86-64-inval-avx.l: Likewise.
|
2008-04-18 13:10:32 +00:00
|
|
|
|
|
2009-01-06 01:03:27 +00:00
|
|
|
|
* gas/i386/avx.s: Remove vpermil2ps/vpermil2pd and FMA
|
|
|
|
|
instructions. Update tests.
|
binutils/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* dwarf.c (dwarf_regnames_i386): Add AVX registers.
(dwarf_regnames_x86_64): Likewise.
gas/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* NEWS: Mention AES, CLMUL, AVX/FMA and -msse2avx.
* doc/c-i386.texi: Add avx, aes, clmul and fma to -march=.
Document -msse2avx, .avx, .aes, .clmul and .fma.
* config/tc-i386.c (YMMWORD_MNEM_SUFFIX): New.
(vex_prefix): Likewise.
(sse2avx): Likewise.
(CPU_FLAGS_ARCH_MATCH): Likewise.
(CPU_FLAGS_64BIT_MATCH): Likewise.
(CPU_FLAGS_32BIT_MATCH): Likewise.
(CPU_FLAGS_PERFECT_MATCH): Likewise.
(regymm): Likewise.
(vex_imm4): Likewise.
(fits_in_imm4): Likewise.
(build_vex_prefix): Likewise.
(VEX_check_operands): Likewise.
(bad_implicit_operand): Likewise.
(OPTION_MSSE2AVX): Likewise.
(T_YMMWORD): Likewise.
(_i386_insn): Add vex.
(cpu_arch): Add .avx, .aes, .clmul and .fma.
(cpu_flags_match): Changed to take a pointer to const template.
Enable encoding SSE instructions with VEX prefix for -msse2avx.
(match_mem_size): Also check ymmword.
(operand_type_match): Clear ymmword.
(md_begin): Allow '_' in mnemonic.
(type_names): Add OPERAND_TYPE_VEX_IMM4.
(process_immext): Update assert.
(md_assemble): Don't call process_immext if sse2avx and immext
are true. Call build_vex_prefix if vex is true.
(parse_insn): Updated for cpu_flags_match.
(swap_operands): Handle 5 operands.
(match_template): Handle 5 operands. Updated for cpu_flags_match.
Check regymm. Call VEX_check_operands. Handle YMMWORD_MNEM_SUFFIX.
(process_suffix): Handle YMMWORD_MNEM_SUFFIX.
(check_byte_reg): Check regymm.
(process_operands): Duplicate the destination register for
-msse2avx if needed.
(build_modrm_byte): Updated for instructions with VEX encoding.
(output_insn): Output VEX prefix if needed.
(md_longopts): Add msse2avx.
(md_parse_option): Handle OPTION_MSSE2AVX.
(md_show_usage): Add avx, aes, clmul, fma and -msse2avx.
(intel_e09): Support YMMWORD.
(intel_e11): Likewise.
(intel_get_token): Likewise.
gas/testsuite/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Run aes, aes-intel, x86-64-aes,
x86-64-aes-intel, avx, avx-intel, inval-avx, x86-64-avx,
x86-64-avx-intel and x86-64-inval-avx.
* gas/cfi/cfi-i386.s: Add tests for AVX register maps.
* gas/cfi/cfi-x86_64.s: Likewise.
* gas/i386/aes.d: New.
* gas/i386/aes.s: Likewise.
* gas/i386/aes-intel.d: Likewise.
* gas/i386/avx.d: Likewise.
* gas/i386/avx.s: Likewise.
* gas/i386/avx-intel.d: Likewise.
* gas/i386/clmul.d: Likewise.
* gas/i386/clmul-intel.d: Likewise.
* gas/i386/clmul.s: Likewise.
* gas/i386/i386.exp: Likewise.
* gas/i386/inval-avx.l: Likewise.
* gas/i386/inval-avx.s: Likewise.
* gas/i386/sse2avx.d: Likewise.
* gas/i386/sse2avx.s: Likewise.
* gas/i386/x86-64-aes.d: Likewise.
* gas/i386/x86-64-aes.s: Likewise.
* gas/i386/x86-64-aes-intel.d: Likewise.
* gas/i386/x86-64-avx.d: Likewise.
* gas/i386/x86-64-avx.s: Likewise.
* gas/i386/x86-64-avx-intel.d: Likewise.
* gas/i386/x86-64-clmul.d: Likewise.
* gas/i386/x86-64-clmul-intel.d: Likewise.
* gas/i386/x86-64-clmul.s: Likewise.
* gas/i386/x86-64-inval-avx.l: Likewise.
* gas/i386/x86-64-inval-avx.s: Likewise.
* gas/i386/x86-64-sse2avx.d: Likewise.
* gas/i386/x86-64-sse2avx.s: Likewise.
* gas/i386/arch-10.s: Add tests for AVX, AES, CLMUL and FMA.
* gas/i386/x86-64-arch-2.s: Likewise.
* gas/i386/rexw.s: Add AVX tests.
* gas/i386/x86-64-opcode-inval.s: Remove lds/les test.
* gas/cfi/cfi-i386.d: Updated.
* gas/cfi/cfi-x86_64.d: Likewise.
* gas/i386/arch-10.d: Likewise.
* gas/i386/arch-10-1.l: Likewise.
* gas/i386/arch-10-2.l: Likewise.
* gas/i386/arch-10-3.l: Likewise.
* gas/i386/arch-10-4.l: Likewise.
* gas/i386/rexw.d: Likewise.
* gas/i386/x86-64-arch-2.d: Likewise.
* gas/i386/x86-64-opcode-inval.d: Likewise.
* gas/i386/x86-64-opcode-inval-intel.d: Likewise.
include/opcode/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (MAX_OPERANDS): Set to 5.
(MAX_MNEM_SIZE): Changed to 20.
opcodes/
2008-04-03 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E_register): New.
(OP_E_memory): Likewise.
(OP_VEX): Likewise.
(OP_EX_Vex): Likewise.
(OP_EX_VexW): Likewise.
(OP_XMM_Vex): Likewise.
(OP_XMM_VexW): Likewise.
(OP_REG_VexI4): Likewise.
(PCLMUL_Fixup): Likewise.
(VEXI4_Fixup): Likewise.
(VZERO_Fixup): Likewise.
(VCMP_Fixup): Likewise.
(VPERMIL2_Fixup): Likewise.
(rex_original): Likewise.
(rex_ignored): Likewise.
(Mxmm): Likewise.
(XMM): Likewise.
(EXxmm): Likewise.
(EXxmmq): Likewise.
(EXymmq): Likewise.
(Vex): Likewise.
(Vex128): Likewise.
(Vex256): Likewise.
(VexI4): Likewise.
(EXdVex): Likewise.
(EXqVex): Likewise.
(EXVexW): Likewise.
(EXdVexW): Likewise.
(EXqVexW): Likewise.
(XMVex): Likewise.
(XMVexW): Likewise.
(XMVexI4): Likewise.
(PCLMUL): Likewise.
(VZERO): Likewise.
(VCMP): Likewise.
(VPERMIL2): Likewise.
(xmm_mode): Likewise.
(xmmq_mode): Likewise.
(ymmq_mode): Likewise.
(vex_mode): Likewise.
(vex128_mode): Likewise.
(vex256_mode): Likewise.
(USE_VEX_C4_TABLE): Likewise.
(USE_VEX_C5_TABLE): Likewise.
(USE_VEX_LEN_TABLE): Likewise.
(VEX_C4_TABLE): Likewise.
(VEX_C5_TABLE): Likewise.
(VEX_LEN_TABLE): Likewise.
(REG_VEX_XX): Likewise.
(MOD_VEX_XXX): Likewise.
(PREFIX_0F38DB..PREFIX_0F38DF): Likewise.
(PREFIX_0F3A44): Likewise.
(PREFIX_0F3ADF): Likewise.
(PREFIX_VEX_XXX): Likewise.
(VEX_OF): Likewise.
(VEX_OF38): Likewise.
(VEX_OF3A): Likewise.
(VEX_LEN_XXX): Likewise.
(vex): Likewise.
(need_vex): Likewise.
(need_vex_reg): Likewise.
(vex_i4_done): Likewise.
(vex_table): Likewise.
(vex_len_table): Likewise.
(OP_REG_VexI4): Likewise.
(vex_cmp_op): Likewise.
(pclmul_op): Likewise.
(vpermil2_op): Likewise.
(m_mode): Updated.
(es_reg): Likewise.
(PREFIX_0F38F0): Likewise.
(PREFIX_0F3A60): Likewise.
(reg_table): Add REG_VEX_71...REG_VEX_73 and REG_VEX_AE.
(prefix_table): Add PREFIX_0F38DB..PREFIX_0F38DF, PREFIX_0F3ADF
and PREFIX_VEX_XXX entries.
(x86_64_table): Use VEX_C4_TABLE and VEX_C5_TABLE.
(three_byte_table): Use PREFIX_0F38DB..PREFIX_0F38DF and
PREFIX_0F3ADF.
(mod_table): Use VEX_C4_TABLE, VEX_C5_TABLE and VEX_LEN_TABLE.
Add MOD_VEX_XXX entries.
(ckprefix): Initialize rex_original and rex_ignored. Store the
REX byte in rex_original.
(get_valid_dis386): Handle the implicit prefix in VEX prefix
bytes and USE_VEX_LEN_TABLE/USE_VEX_C4_TABLE/USE_VEX_C5_TABLE.
(print_insn): Set need_vex/need_vex_reg/vex_i4_done to 0 before
calling get_valid_dis386. Use rex_original and rex_ignored when
printing out REX.
(putop): Handle "XY".
(intel_operand_size): Handle VEX, xmm_mode, xmmq_mode and
ymmq_mode.
(OP_E_extended): Updated to use OP_E_register and
OP_E_memory.
(OP_XMM): Handle VEX.
(OP_EX): Likewise.
(XMM_Fixup): Likewise.
(CMP_Fixup): Use ARRAY_SIZE.
* i386-gen.c (cpu_flag_init): Add CpuAES, CPU_CLMUL_FLAGS,
CPU_FMA_FLAGS and CPU_AVX_FLAGS.
(operand_type_init): Add OPERAND_TYPE_REGYMM and
OPERAND_TYPE_VEX_IMM4.
(cpu_flags): Add CpuAVX, CpuAES, CpuCLMUL and CpuFMA.
(opcode_modifiers): Add Implicit1stXmm0, Vex, Vex256, VexNDD,
VexNDS, VexW0, VexW1, Vex0F, Vex0F38, Vex0F3A, Vex3Sources,
VexImmExt and SSE2AVX.
(operand_types): Add RegYMM, Ymmword and Vex_Imm4.
* i386-opc.h (CpuAVX): New.
(CpuAES): Likewise.
(CpuCLMUL): Likewise.
(CpuFMA): Likewise.
(Vex): Likewise.
(Vex256): Likewise.
(VexNDS): Likewise.
(VexNDD): Likewise.
(VexW0): Likewise.
(VexW1): Likewise.
(Vex0F): Likewise.
(Vex0F38): Likewise.
(Vex0F3A): Likewise.
(Vex3Sources): Likewise.
(VexImmExt): Likewise.
(SSE2AVX): Likewise.
(RegYMM): Likewise.
(Ymmword): Likewise.
(Vex_Imm4): Likewise.
(Implicit1stXmm0): Likewise.
(CpuXsave): Updated.
(CpuLM): Likewise.
(ByteOkIntel): Likewise.
(OldGcc): Likewise.
(Control): Likewise.
(Unspecified): Likewise.
(OTMax): Likewise.
(i386_cpu_flags): Add cpuavx, cpuaes, cpuclmul and cpufma.
(i386_opcode_modifier): Add implicit1stxmm0, vex, vex256,
vexnds, vexndd, vexw0, vexw1, vex0f, vex0f38, vex0f3a,
vex3sources, veximmext and sse2avx.
(i386_operand_type): Add regymm, ymmword and vex_imm4.
* i386-opc.tbl: Add AES, CLMUL, AVX and FMA new instructions.
* i386-reg.tbl: Add AVX registers, ymm0..ymm15.
* i386-init.h: Regenerated.
* i386-tbl.h: Likewise.
2008-04-03 14:03:21 +00:00
|
|
|
|
* gas/i386/inval-avx.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-avx.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-inval-avx.s: Likewise.
|
gas/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* config/tc-i386.c (match_template): Handle XMMWORD_MNEM_SUFFIX.
Check memory size in Intel mode.
(process_suffix): Handle XMMWORD_MNEM_SUFFIX.
(intel_e09): Likewise.
* config/tc-i386.h (XMMWORD_MNEM_SUFFIX): New.
gas/testsuite/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* gas/i386/intel.s: Use QWORD on movq instead of DWORD.
* gas/i386/inval.s: Add tests for movq.
* gas/i386/x86-64-inval.s: Likewise.
* gas/i386/inval.l: Updated.
* gas/i386/x86-64-inval.l: Likewise.
opcodes/
2008-01-02 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
* i386-gen.c (opcode_modifiers): Add No_xSuf, CheckSize,
Byte, Word, Dword, QWord and Xmmword.
* i386-opc.h (No_xSuf): New.
(CheckSize): Likewise.
(Byte): Likewise.
(Word): Likewise.
(Dword): Likewise.
(QWord): Likewise.
(Xmmword): Likewise.
(FWait): Updated.
(i386_opcode_modifier): Add No_xSuf, CheckSize, Byte, Word,
Dword, QWord and Xmmword.
* i386-opc.tbl: Add CheckSize|QWord to movq if IgnoreSize is
used.
* i386-tbl.h: Regenerated.
2008-01-02 21:43:34 +00:00
|
|
|
|
|
2009-01-06 01:03:27 +00:00
|
|
|
|
* gas/i386/fma.d: New.
|
|
|
|
|
* gas/i386/fma.s: Likewise.
|
|
|
|
|
* gas/i386/fma-intel.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-fma.d: Likewise.
|
|
|
|
|
* gas/i386/x86-64-fma.s: Likewise.
|
|
|
|
|
* gas/i386/x86-64-fma-intel.d: Likewise.
|
2008-01-02 20:59:47 +00:00
|
|
|
|
|
2009-01-06 01:03:27 +00:00
|
|
|
|
* gas/i386/i386.exp: Run fma, fma-intel, x86-64-fma and
|
|
|
|
|
x86-64-fma-intel.
|
2008-01-02 20:59:47 +00:00
|
|
|
|
|
2009-01-06 01:03:27 +00:00
|
|
|
|
For older changes see ChangeLog-2008
|
2004-01-02 11:16:21 +00:00
|
|
|
|
|
|
|
|
|
Local Variables:
|
|
|
|
|
mode: change-log
|
|
|
|
|
left-margin: 8
|
|
|
|
|
fill-column: 74
|
|
|
|
|
version-control: never
|
|
|
|
|
End:
|