summaryrefslogtreecommitdiff
path: root/gas
Commit message (Collapse)AuthorAgeFilesLines
* 2009-11-06 Sebastian Pop <sebastian.pop@amd.com>spop2009-11-063-192/+582
| | | | | | | | | | | | | * opcodes/i386-dis.c (reg_table): Add XOP_8F_TABLE (XOP_09) to reg_table[REG_8F][1]: for XOP instructions, ModRM.reg first points to B.mm in the RXB.mmmmm byte, and so when B is set, we still should use the xop_table. (get_valid_dis386): Removed unused condition (from cut/n/paste) for XOP instructions. * gas/testsuite/gas/i386/x86-64-lwp.s: Updated to also contain patterns with r[8-15] registers. * gas/testsuite/gas/i386/x86-64-lwp.d: Same.
* 2009-11-06 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-11-062-1/+6
| | | | * doc/c-i386.texi: Move .lwp.
* * config/obj-elf.c (obj_elf_change_section): Remove FIXME fromAlan Modra2009-11-062-2/+7
| | | | comment.
* 2009-11-05 Sebastian Pop <sebastian.pop@amd.com>spop2009-11-059-7/+758
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Quentin Neill <quentin.neill@amd.com> * gas/config/tc-i386.c (cpu_arch): Add CPU_LWP_FLAGS. (build_vex_prefix): Handle xop09 and xop0a. (build_modrm_byte): Handle vexlwp. (md_show_usage): Add lwp. * gas/doc/c-i386.texi (i386-LWP): New section. * gas/testsuite/gas/i386/i386.exp: Run x86-64-lwp in 64-bit mode, run lwp in 32-bit mode. * gas/testsuite/gas/i386/x86-64-lwp.d: New. * gas/testsuite/gas/i386/x86-64-lwp.s: New. * gas/testsuite/gas/i386/lwp.d: New. * gas/testsuite/gas/i386/lwp.s: New. * opcodes/i386-dis.c (OP_LWPCB_E): New. (OP_LWP_E): New. (OP_LWP_I): New. (USE_XOP_8F_TABLE): New. (XOP_8F_TABLE): New. (REG_XOP_LWPCB): New. (REG_XOP_LWP): New. (XOP_09): New. (XOP_0A): New. (reg_table): Redirect REG_8F to XOP_8F_TABLE. Add entries for REG_XOP_LWPCB and REG_XOP_LWP. (xop_table): New. (get_valid_dis386): Handle USE_XOP_8F_TABLE. Use the offsets VEX_0F, VEX_0F38, and VEX_0F3A instead of their values to access to the vex_table. (OP_LWPCB_E): New. (OP_LWP_E): New. (OP_LWP_I): New. * opcodes/i386-gen.c (cpu_flag_init): Add CPU_LWP_FLAGS, CpuLWP. (cpu_flags): Add CpuLWP. (opcode_modifiers): Add VexLWP, XOP09, and XOP0A. * opcodes/i386-opc.h (CpuLWP): New. (i386_cpu_flags): Add bit cpulwp. (VexLWP): New. (XOP09): New. (XOP0A): New. (i386_opcode_modifier): Add vexlwp, xop09, and xop0a. * opcodes/i386-opc.tbl (llwpcb): Added. (lwpval): Added. (lwpins): Added.
* * gas/i386/i386.exp (space1): Move test inside check for x86Nick Clifton2009-11-052-3/+7
| | | | target.
* [opcodes]DJ Delorie2009-11-052-2/+7
| | | | | | | | | | | | | | | * rx-decode.opc (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove. * rx-decode.c: Regenerate. * rx-dis.c (cpen): Remove. [gas] * config/rx-parse.y (MVTIPL): Update bit pattern. (cpen): Remove. [include/opcode] * rx.h (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove.
* 2009-11-04 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-11-044-0/+32
| | | | | | | | PR gas/876 * gas/i386/i386.exp: Run space1. * gas/i386/space1.l: New. * gas/i386/space1.s: Likewise.
* Fix ChangeLog typo.Paul Brook2009-11-041-1/+1
|
* 2009-11-04 Daniel Jacobowitz <dan@codesourcery.com>Maxim Kuvyrkov2009-11-045-3/+53
| | | | | | | | | | | Maxim Kuvyrkov <maxim@codesourcery.com> * config/tc-m68k.h (CF_DIFF_EXPR_OK): Define to 0 for uClinux. (CFI_DIFF_LSDA_OK): Define. * config/te-uclinux.h: New file. * configure.tgt (m68k-uclinux): Define em. * dw2gencfi.c (CFI_DIFF_LSDA_OK): New macro. (dot_cfi_lsda, output_fde): Use instead of CFI_DIFF_EXPR_OK.
* 2009-11-03 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-035-10/+19
| | | | | | | | | gas/ * config/tc-arm.c (do_vfp_nsyn_mla_mls): Fix vmls excoding. gas/testsuite/ * gas/arm/vfp-neon-syntax.d: Update expected results. * gas/arm/vfp-neon-syntax_t2.d: Update expected results.
* 2009-11-02 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-0217-30/+394
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/testsuite/ * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. * ld-arm/attr-merge-vfp-1.d: New test. * ld-arm/attr-merge-vfp-1r.d: New test. * ld-arm/attr-merge-vfp-2.d: New test. * ld-arm/attr-merge-vfp-2r.d: New test. * ld-arm/attr-merge-vfp-3.d: New test. * ld-arm/attr-merge-vfp-3r.d: New test. * ld-arm/attr-merge-vfp-4.d: New test. * ld-arm/attr-merge-vfp-4r.d: New test. * ld-arm/attr-merge-vfp-5.d: New test. * ld-arm/attr-merge-vfp-5r.d: New test. * ld-arm/attr-merge-vfp-2.s: New test. * ld-arm/attr-merge-vfp-3.s: New test. * ld-arm/attr-merge-vfp-3-d16.s: New test. * ld-arm/attr-merge-vfp-4.s: New test. * ld-arm/attr-merge-vfp-4-d16.s: New test. gas/ * doc/c-arm.texi: Document new -mfpu options. * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma, fpu_vfp_ext_fma): New. (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms. (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions. (insns): Move double precision load/store. Split out double precision VFPv3 instrucitons. Add VFPv4 instructions. (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants. (aeabi_set_public_attributes): Set VFPv4 variants gas/testsuite/ * gas/arm/attr-mfpu-vfpv4.d: New test. * gas/arm/attr-mfpu-vfpv4-d16.d: New test. * gas/arm/neon-fma-cov.d: New test. * gas/arm/neon-fma-cov.s: New test. * gas/arm/vfp-fma-inc.s: New test. * gas/arm/vfp-fma-arm.d: New test. * gas/arm/vfp-fma-arm.s: New test. * gas/arm/vfp-fma-thumb.d: New test. * gas/arm/vfp-fma-thumb.s: New test. * gas/arm/vfma1.d: New test. * gas/arm/vfma1.s: New test. * gas/arm/vfpv3xd.d: New test. * gas/arm/vfpv3xd.s: New test. include/opcode/ * arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA, FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define. (FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD, FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16, FPU_ARCH_NEON_VFP_V4): Define. binutils/ * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16. bfd/ * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4 attributes. opcodes/ * arm-dis.c (coprocessor_opcodes): Update to use new feature flags. Add VFPv4 instructions.
* missed from last commitAlan Modra2009-11-021-1/+2
|
* * ecoff.c (ecoff_symbol_clone_hook): New function.Alan Modra2009-11-029-7/+41
| | | | | | | | | | | * ecoff.h (ecoff_symbol_clone_hook): Declare. * obj.h (struct format_ops): Add symbol_clone_hook. * config/obj-aout.c (aout_format_ops): Init new field. * config/obj-coff.c (coff_format_ops): Likewise. * config/obj-ecoff.c (ecoff_format_ops): Likewise. * config/obj-elf.c (elf_format_ops): Likewise. * config/obj-ecoff.h (obj_symbol_clone_hook): Define. * config/obj-multi.h (obj_symbol_clone_hook): Define.
* * messages.c (as_fatal): Apply 2001-01-15 change and followupAlan Modra2009-11-022-0/+7
| | | | to second copy of function.
* * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbolDave Anglin2009-10-302-2/+35
| | | | with local symbol.
* gas/H.J. Lu2009-10-295-150/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * config/tc-i386.c (build_modrm_byte): Do not swap REG and NDS operands for FMA4. gas/testsuite/ 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * gas/i386/fma4.d: Updated patterns. * gas/i386/x86-64-fma4.d: Same. opcodes/ 2009-10-29 Sebastian Pop <sebastian.pop@amd.com> * i386-dis.c (OP_VEX_FMA): Removed. (VexFMA): Removed. (Vex128FMA): Removed. (prefix_table): First source operand of FMA4 insns is decoded with Vex not with VexFMA. (OP_EX_VexW): Second source operand is decoded with get_vex_imm8 when vex.w is set. Third source operand is decoded with get_vex_imm8 when vex.w is cleared. (OP_VEX_FMA): Removed.
* 2009-10-29 Paul Brook <paul@codesourcery.com>Paul Brook2009-10-295-18/+27
| | | | | | | | | gas/ * config/tc-arm.c (neon_tab_entry): Fix VNMLA/VNMLS opcodes. gas/testsuite/ * gas/arm/vfp-neon-syntax.d: Update expected results. * gas/arm/vfp-neon-syntax_t2.d: Update expected results.
* 2009-10-29 Paul Brook <paul@codesourcery.com>Paul Brook2009-10-293-0/+7
| | | | | | gas/ * doc/c-arm.texi: Document ARM -mcpu=cortex-a5. * config/arm/tc-arm.c (arm_cpu_option_table): Add cortex-a5.
* 2009-10-29 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-10-295-10/+8
| | | | | | | | * config/tc-mep.c (md_pseudo_table): Remove dwarf2 pseudo as they are already defined in obj-elf.c * config/tc-m32c.c (md_pseudo_table): Ditto. * config/tc-spu.c (md_pseudo_table): Ditto. * config/tc-avr.c (md_pseudo_table): Ditto.
* * doc/as.texinfo (Set): Delete incorrect HPPA para.Alan Modra2009-10-292-5/+4
|
* 2009-10-28 Paul Brook <paul@codesourcery.com>Paul Brook2009-10-282-5/+7
| | | | | | gas/ * config/tc-arm.c (opcode_lookup): Allow VFP/NEON type suffixes unconditionally.
* PR gas/10856Alan Modra2009-10-284-9/+25
| | | | | | | | * expr.c (resolve_expression): Only add "left" value to O_symbol expression when the symbol is undefined and different from the original symbol. Simplify negative logic. * gas/i386/intelpic.d: Correct.
* 2009-10-27 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-10-273-0/+15
| | | | | | * config/tc-avr.c (md_pseudo_table): Add dwarf2 debug pseudo. * config/tc-avr.h (DWARF2_LINE_MIN_INSN_LENGTH): Define. (DWARF2_ADDR_SIZE): Define.
* PR gas/10850Alan Modra2009-10-264-22/+14
| | | | | | * listing.c (listing_flags): Delete. * listing.h: Likewise. * read.c (potable <lflags>): Call s_ignore.
* * doc/as.texinfo: Add mention of RX port and inclusion of RXNick Clifton2009-10-261-0/+5
| | | | documentation.
* * doc/as.texinfo: Add mention of RX port and inclusion of RXNick Clifton2009-10-261-0/+14
| | | | documentation.
* * gas/z80/equ.d, gas/z80/equ.s: Added test of parsing equ directives.Arnold Metselaar2009-10-255-1/+28
| | | | | | * gas/z80/z80.exp: Run it. * gas/z80/redef.d: Expect little endian output only.
* * config/tc-z80.c (z80_start_line_hook): Fix parsing of 'equ' orArnold Metselaar2009-10-252-11/+17
| | | | | | | | | | 'defl' in cases where the space between the keyword and the expression has been scrubbed away. Do not check whether a symbol is redefined with 'equ' here; the function equals takes an argument indicating whether redefinitions are allowed. Only call LISTING_NEWLINE if needed, and then after the call to bump_line_counters.
* * doc/as.texinfo (Overview): Move -mfix7000/-mno-fix7000 toMaciej W. Rozycki2009-10-253-3/+13
| | | | | | | match the order elsewhere. Add -mfix-vr4120/-mno-fix-vr4120 and -mfix-vr4130/-mno-fix-vr4130. * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-vr4120 to -mno-fix-vr4120 and -no-mfix-vr4130 to -mno-fix-vr4130.
* gas/H.J. Lu2009-10-208-67/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-10-20 H.J. Lu <hongjiu.lu@intel.com> PR gas/10775 * doc/c-i386.texi: Mention movabs. gas/testsuite/ 2009-10-20 H.J. Lu <hongjiu.lu@intel.com> PR gas/10775 * gas/i386/immed64.d: Updated. * gas/i386/l1om.d: Likewise. * gas/i386/x86-64-disp-intel.d: Likewise. * gas/i386/x86-64-disp.d: Likewise. * gas/i386/x86_64.d: Likewise. opcodes/ 2009-10-20 H.J. Lu <hongjiu.lu@intel.com> PR gas/10775 * i386-dis.c: Document LB, LS and LV macros. (dis386): Use mov%LB, mov%LS and mov%LV on mov instruction with the 64-bit displacement or immediate operand. (putop): Handle LB, LS and LV macros.
* 2009-10-19 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-10-192-3/+5
| | | | | * doc/c-i386.texi: Don't mention the 8 extra control registers for x86-64.
* * config/tc-lm32.c (md_begin): Add missing call to bfd_set_arch_mach.Doug Evans2009-10-192-0/+5
|
* * config/tc-xc16x.c (md_cgen_lookup_reloc): Ensure fix_size is setDoug Evans2009-10-195-12/+30
| | | | | | | | | correctly for all 16 bit relocs. Return BFD_RELOC_NONE if reloc isn't recognized, not BFD_RELOC_XC16X_SOF. testsuite: * gas/xc16x/shlrol.s: Specify constant shift amount. * gas/xc16x/xc16x.exp (do_xc16x_shlrol): Update expected output.
* * as.h (know): Don't define as empty.Alan Modra2009-10-183-4/+7
| | | | * config/tc-arm.c (make_mapping_symbol): Revert last patch.
* * config/tc-arm.c (make_mapping_symbol): Add braces to avoid empty bodyAlan Modra2009-10-182-1/+8
| | | | in release builds.
* Exclude more aout targets.Alan Modra2009-10-185-1/+11
|
* 2009-10-16 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-10-162-2/+13
| | | | | | | PR gas/10775 * doc/c-i386.texi: Mention the 8 extra control registers for x86-64. Mention .code64 directive.
* PR gas/1491Alan Modra2009-10-158-89/+99
| | | | | | | | | | | | | | | | gas/ * macro.c: Delete unnecessary function declarations. (buffer_and_nest): Support multiple labels per line for LABELS_WITHOUT_COLONS targets if the labels do have colons. (free_macro): Move so that we don't need forward declaration. * read.c (read_a_source_file): Take a copy of macro expansion line before we trim labels. * listing.c (listing_newline): Adjust stdin line save for input_line_pointer still at start of line. gas/testsuite/ * gas/macros/dot.s: Don't start macro invocations is first column. * gas/macros/dot.l: Update. * gas/macros/macros.exp: Run dot test on more targets.
* Fix a typo.H.J. Lu2009-10-131-1/+1
|
* 2009-10-13 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-10-132-1/+7
| | | | | PR binutils/10766 * config/tc-i386.c (build_modrm_byte): Declare exp earlier.
* gas/H.J. Lu2009-10-138-26/+157
| | | | | | | | | | | | | | | | | | | | | | 2009-10-13 H.J. Lu <hongjiu.lu@intel.com> PR gas/10740 * config/tc-i386-intel.c (i386_intel_operand): Handle call and jump with 2 immediate operands. * config/tc-i386.c (i386_finalize_immediate): Don't generate error message if operand string is NULL. gas/testsuite/ 2009-10-13 H.J. Lu <hongjiu.lu@intel.com> PR gas/10740 * gas/i386/jump.s: Add new tests. * gas/i386/jump16.s: Likewise. * gas/i386/jump.d: Updated. * gas/i386/jump16.d: Likewise.
* gas:Nick Clifton2009-10-138-16/+148
| | | | | | | | | | | | | | | | | | | 2009-10-07 Vincent Riviere <vincent.riviere@freesbee.fr> PR gas/3041 * config/tc-m68k.c (tc_gen_reloc): Fix addend for relocations located in data section an referencing a weak symbol. gas/testsuite: 2009-10-07 Vincent Riviere <vincent.riviere@freesbee.fr> PR gas/3041 * gas/m68k/all.exp: Added "p3041data". * gas/m68k/p3041.d, gas/m68k/p3041.s: Added tests of weak references from text section to all possible sections. * gas/m68k/p3041data.d, gas/m68k/p3041data.s: New test. Check weak references from data section.
* 2009-10-08 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-10-085-16/+22
| | | | | | | | | PR gas/10704 * gas/i386/intelok.s: Move 2 PIC tests to ... * gas/i386/intelpic.s: Here. * gas/i386/intelok.d: Updated. * gas/i386/intelpic.d: Likewise.
* 2009-10-07 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2009-10-073-2/+12
| | | | | | PR gas/10704 * gas/i386/intelok.s: Add 2 new tests. * gas/i386/intelok.d: Updated.
* * config/tc-arm.c (mapping_state, mapping_state_2): Make dummyNathan Sidwell2009-10-072-2/+5
| | | | versions slightly more than nothing.
* * doc/c-arm.texi (ARM Options): Correctly name the two mapcs options.Nathan Sidwell2009-10-072-3/+9
|
* PR gas/2117Alan Modra2009-10-072-36/+82
| | | | | | | | | | * config/tc-ia64.c (parse_operand): Use expression rather than expression_and_evalute. (parse_operand_and_eval): New function. Replace all uses of parse_operand outside of parse_operands with this function. (parse_operans_maybe_eval): New function. Replace uses of parse_operand in parse_operands, except for the dummy, with this function.
* PR gas/10704Alan Modra2009-10-052-4/+6
| | | | * symbols.c (snapshot_symbol): Revert 2006-01-09 patch for PR2117.
* * read.c (s_reloc): Don't use expression_and_evaluate.Alan Modra2009-10-052-1/+5
|
* typo fixAlan Modra2009-10-021-6/+6
|