aboutsummaryrefslogtreecommitdiff
path: root/gas
AgeCommit message (Collapse)AuthorFilesLines
2007-04-23 gas/testsuite/Nathan Sidwell11-17/+150
* gas/m68k/br-isaa.s: New. * gas/m68k/br-isaa.d: New. * gas/m68k/br-isab.s: New. * gas/m68k/br-isab.d: New. * gas/m68k/br-isac.s: New. * gas/m68k/br-isac.d: New. * gas/m68k/all.exp: Adjust. gas/ * config/tc-m68k.c (mcf54455_ctrl): New. (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New. (m68k_archs): Add isac. (m68k_cpus): Add 54455 family. (m68k_ip): Split Bg into Bb, Bs, Bg. (m68k_elf_final_processing): Add ISA_C. * doc/c-m68k.texi (M680x0 Options): Add isac. include/opcode/ * m68k.h (mcfisa_c): New. (mcfusp, mcf_mask): Adjust. bfd/ * archures.c (bfd_mach_mcf_isa_c, bfd_mach_mcf_isa_c_mac, bfd_mach_mcf_isa_c_emac): New. * elf32-m68k.c (ISAC_PLT_ENTRY_SIZE, elf_isac_plt0_entry, elf_isac_plt_entry, elf_isac_plt_info): New. (elf32_m68k_object_p): Add ISA_C. (elf32_m68k_print_private_bfd_data): Print ISA_C. (elf32_m68k_get_plt_info): Detect ISA_C. * cpu-m68k.c (arch_info): Add ISAC. (m68k_arch_features): Likewise, (bfd_m68k_compatible): ISAs B & C are not compatible. opcodes/ * m68k-opc.c: Mark mcfisa_c instructions.
2007-04-22 * read.c (read_a_source_file): Skip multiple spaces toAlan Modra2-11/+10
cover hack in mmix md_start_line_hook which overwrites a colon with a space. Delete sermon and needless assertion.
2007-04-21 * gas/arm/arch4t.d: Convert to unified syntax.Richard Earnshaw17-159/+179
* gas/arm/archv6.d: Likewise. * gas/arm/archv6t2.d: Likewise. * gas/arm/arch3.d: Likewise. * gas/arm/arch7dm.d: Likewise. * gas/arm/arch7t.d: Likewise. * gas/arm/archv1.d: Likewise. * gas/arm/copro.d: Likewise. * gas/arm/inst.d: Likewise. * gas/arm/macro1.d: Likewise. * gas/arm/tcompat.d: Likewise. * gas/arm/wince_inst.d: Likewise. * gas/arm/xscale.d: Likewise. * gas/arm/thumb.d: White space cleanup. * gas/arm/thumb2_relax.d: Likewise. * gas/arm/thumb32.d: Likewise.
2007-04-21 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.Alan Modra7-18/+20
(md_atof): Make number_of_chars unsigned. Revert last change. * config/tc-or32.c (md_apply_fix): Delete bogus assertions. * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF. * config/tc-sh.h (md_optimize_expr): Likewise. * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus assertion. * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
2007-04-21* config/atof-vax.c (md_atof): Fix comparison inside know().Nick Clifton2-1/+3
2007-04-21Fix typo.Nick Clifton2-1/+5
2007-04-21gas/Alan Modra6-14/+24
* expr.c (expr): Assert on rankarg, not rank which can be unsigned. * read.c (read_a_source_file): Remove buffer_limit[-1] assertion. Don't skip over NUL char. (pseudo_set): Set X_op for registers to O_register. * symbols.c (symbol_clone): Remove assertion that sym is defined. (resolve_symbol_value): Resolve O_register symbols. * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab. Instead find st(0) by hash lookup. * config/tc-ppc.c (ppc_macro): Warning fix. opcodes/ * i386-opc.c (i386_float_regtab, i386_float_regtab_size): Delete. Move contents to.. (i386_regtab): ..here. * i386-opc.h (i386_float_regtab, i386_float_regtab_size): Delete.
2007-04-21 * as.h (ENABLE_CHECKING): Default define to 0.Alan Modra6-44/+113
(know): Assert if ENABLE_CHECKING. (struct relax_type): Remove superfluous declaration. * configure.in (--enable-checking): New. * configure: Regenerate. * config.in: Regenerate. * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING. Check for duplicate powerpc_operands entries.
2007-04-20 * config/tc-m68k.c (mcf5253_ctrl): New.Nathan Sidwell2-0/+16
(mcf52223_ctrl): New. (m68k_cpus): Add 5253, 52221, 52223.
2007-04-20 gas/Nathan Sidwell9-23/+94
* config/m68k-parse.h (RAMBAR_ALT): New. * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New. (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl, mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl, mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl, mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for RAMBAR1. (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT. (m68k_cpus): Adjust 5206, 5206e & 5307 entries. (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it to control register mapping. gas/testsuite/ * gas/m68k/ctrl-1.d, gas/m68k/ctrl-1.s: New. * gas/m68k/ctrl-2.d, gas/m68k/ctrl-2.s: New. * gas/m68k/all.exp: Add them. opcodes/ * m68k-dis.c (print_insn_arg): Show c04 as rambar0 and c05 as rambar1.
2007-04-20 * gas/ppc/range64.s: New.Alan Modra6-0/+46
* gas/ppc/range64.l: New. * gas/ppc/range.s: New. * gas/ppc/range.l: New. * gas/ppc/ppc.exp (run_list_test): New. Use to run new tests.
2007-04-20 * messages.c (as_internal_value_out_of_range): Fix typo inAlan Modra3-3/+11
error message. Return after printing domain error. * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits in max when shifting right.
2007-04-20include/opcode/Alan Modra3-51/+132
* ppc.h (struct powerpc_operand): Replace "bits" with "bitm". (num_powerpc_operands): Declare. (PPC_OPERAND_SIGNED et al): Redefine as hex. (PPC_OPERAND_PLUS1): Define. opcodes/ * ppc-dis.c (print_insn_powerpc): Adjust for struct powerpc_operand change. * ppc-opc.c (powerpc_operands): Replace bit count with bit mask in all entries. Add PPC_OPERAND_SIGNED to DE entry. Remove references to following deleted functions. (insert_bd, extract_bd, insert_dq, extract_dq): Delete. (insert_ds, extract_ds, insert_de, extract_de): Delete. (insert_des, extract_des, insert_li, extract_li): Delete. (insert_nb, insert_rsq, insert_rtq, insert_ev2, extract_ev2): Delete. (insert_ev4, extract_ev4, insert_ev8, extract_ev8): Delete. (num_powerpc_operands): New constant. (XSPRG_MASK): Remove entire SPRG field. (powerpc_opcodes <bcctre, bcctrel>): Use XLBB_MASK not XLYBB_MASK. gas/ * messages.c (as_internal_value_out_of_range): Extend to report errors for values with invalid low bits set. * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm fields. Check that operands and opcode fields are disjoint. (ppc_insert_operand): Check operands using mask rather than bit count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust insertion code. (md_apply_fix): Adjust for struct powerpc_operand change.
2007-04-19 * gas/arm/mapshort.s: Add a small .data section.Richard Earnshaw4-0/+14
* gas/arm/mapshort-eabi.d: Check the data section doesn't confuse disassembly. * gas/arm/mapshort-elf.d: Likewise.
2007-04-192007-04-19 Paul Brook <paul@codesourcery.com>Paul Brook5-0/+68
gas/testsuite/ * gas/arm/thumb1_unified.d: New test. * gas/arm/thumb1_unified.s: New test. gas/ * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on Thumb-1. Add sanity check for bogus relaxations.
2007-04-192007-04-19 Paul Brook <paul@codesourcery.com>Paul Brook2-2/+8
gas/ * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
2007-04-19duhAlan Modra1-0/+5
2007-04-19 * Makefile.am: Run "make dep-am".Alan Modra3-26/+26
* Makefile.in: Regenerate.
2007-04-19 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.Alan Modra2-0/+10
2007-04-18 * gas/ppc/booke.s: Add tlbsx, tlbsxe.Alan Modra3-8/+22
* gas/ppc/booke.d: Update.
2007-04-182007-04-18 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-0/+5
* doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
2007-04-18gas/H.J. Lu8-17/+216
2007-04-18 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4. (match_template): Handle operand size for crc32 in SSE4.2. (process_suffix): Handle operand type for crc32 in SSE4.2. (output_insn): Support SSE4.2. gas/testsuite/ 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Add sse4.2 and x86-64-sse4.2. * gas/i386/sse4_2.d: New file. * gas/i386/sse4_2.s: Likewise. * gas/i386/x86-64-sse4_2.d: Likewise. * gas/i386/x86-64-sse4_2.s: Likewise. opcodes/ 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (CRC32_Fixup): New. (PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90, PREGRP91): New. (threebyte_0x38_uses_DATA_prefix): Updated for SSE4.2. (threebyte_0x3a_uses_DATA_prefix): Likewise. (prefix_user_table): Add PREGRP85, PREGRP86, PREGRP87, PREGRP88, PREGRP89, PREGRP90 and PREGRP91. (three_byte_table): Likewise. * i386-opc.c (i386_optab): Add SSE4.2 opcodes. * gas/config/tc-i386.h (CpuSSE4_2): New. (CpuSSE4): Likewise. (CpuUnknownFlags): Add CpuSSE4_2.
2007-04-18gas/H.J. Lu8-14/+484
2007-04-18 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add .sse4.1. (process_operands): Adjust implicit operand for blendvpd, blendvps and pblendvb in SSE4.1. (output_insn): Support SSE4.1. gas/testsuite/ 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/i386.exp: Add sse4.1 and x86-64-sse4.1. * gas/i386/sse4_1.d: New file. * gas/i386/sse4_1.s: Likewise. * gas/i386/x86-64-sse4_1.d: Likewise. * gas/i386/x86-64-sse4_1.s: Likewise. opcodes/ 2007-04-18 H.J. Lu <hongjiu.lu@intel.com> * i386-dis.c (XMM_Fixup): New. (Edqb): New. (Edqd): New. (XMM0): New. (dqb_mode): New. (dqd_mode): New. (PREGRP39 ... PREGRP85): New. (threebyte_0x38_uses_DATA_prefix): Updated for SSE4. (threebyte_0x3a_uses_DATA_prefix): Likewise. (prefix_user_table): Add PREGRP39 ... PREGRP85. (three_byte_table): Likewise. (putop): Handle 'K'. (intel_operand_size): Handle dqb_mode, dqd_mode): (OP_E): Likewise. (OP_G): Likewise. * i386-opc.c (i386_optab): Add SSE4.1 opcodes. * i386-opc.h (CpuSSE4_1): New. (CpuUnknownFlags): Add CpuSSE4_1. (regKludge): Update comment.
2007-04-182007-04-18 Paul Brook <paul@codesourcery.com>Paul Brook5-4/+42
gas/testsuite/ * gas/arm/thumb2_add.s: Add rsb #0 test. * gas/arm/thumb2_add.d: Update expected output. gas/ * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
2007-04-16 * config/tc-sh.c (sh_handle_align): Call as_bad_where insteadKaz Kojima2-1/+6
of as_warn_where for misaligned data.
2007-04-15 * config/tc-sh.c (align_test_frag_offset_fixed_p): HandleKaz Kojima2-4/+17
rs_fill frags.
2007-04-14 * Makefile.am: Add ACLOCAL_AMFLAGS.Steve Ellcey3-0/+7
* Makefile.in: Regenerate.
2007-04-14 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.Kaz Kojima3-0/+96
(sh_optimize_expr): Likewise. * config/tc-sh.h (md_optimize_expr): Define. (sh_optimize_expr): Prototype.
2007-04-062007-04-06 Matt Thomas <matt@netbsd.org>Matt Thomas3-0/+153
* config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp) to emit pcrel relocations by DWARF2 in non-code sections. Borrowed heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
2007-04-04 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.Kazu Hirata2-1/+5
2007-04-042007-04-04 Paul Brook <paul@codesourcery.com>Paul Brook5-2/+15
gas/ * config/tc-arm.c (do_neon_ext): Enforce immediate range. (insns): Use I15 for vext. gas/testsute/ * gas/arm/neon-cov.s: Add new vext test. * gas/arm/neon-cov.d: Ditto.
2007-04-042007-04-04 Paul Brook <paul@codesourcery.com>Paul Brook2-1/+5
ld/ * configure.tgt: Loosen checks for arm uclinux eabi targets. gas/ * configure.tgt: Loosen checks for arm uclinux eabi targets.
2007-04-02 * config/tc-xtensa.c (xtensa_flush_pending_output): CheckBob Wilson2-0/+14
outputting_stabs_line_debug.
2007-04-02 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,Denis Chertykov2-0/+14
at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p devices. * doc/c-avr.texi: Document new devices.
2007-04-02gas/Richard Sandiford4-1/+20
* doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options. * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document. * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
2007-03-31 * gas/z8k/calr.d: Fix for 64bit bfd.Christian Groessler10-103/+115
* gas/z8k/djnz.d: Likewise. * gas/z8k/inout.d: Likewise. * gas/z8k/jmp-cc.d: Likewise. * gas/z8k/jr-back.d: Likewise. * gas/z8k/jr-forw.d: Likewise. * gas/z8k/reglabel.d: Likewise. * gas/z8k/ctrl-names.d: Fix name. Fix for 64bit bfd. * gas/z8k/ret-cc.d: Likewise.
2007-03-31 * gas/i386/nops-3.s: Don't use .align.Alan Modra2-2/+6
2007-03-31 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.Bob Wilson2-35/+15
Do not check is_loop_target flag. (xtensa_frob_label): Adjust calls to xtensa_move_labels. (xg_assemble_vliw_tokens): Likewise. Also avoid calling xtensa_move_labels for alignment of loop opcodes.
2007-03-302007-03-30 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-1/+5
* config/tc-i386.c (process_suffix): Reindent a bit.
2007-03-302007-03-30 Paul Brook <paul@codesourcery.com>Paul Brook5-64/+160
gas/ * config/tc-arm.c (encode_thumb2_ldmstm): New function. (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm. (do_t_push_pop): Use encode_thumb2_ldmstm. gas/testsuite/ * gas/arm/thumb2_ldmstm.d: New test. * gas/arm/thumb2_ldmstm.s: New test.
2007-03-29* m32c.cpu (Imm-8-s4n): Fix print hook.DJ Delorie2-16/+72
(Lab-24-8, Lab-32-8, Lab-40-8): Fix. (arith-jnz-imm4-dst-defn): Make relaxable. (arith-jnz16-imm4-dst-defn): Fix encodings. * m32c-desc.c: Regenerate. * m32c-dis.c: Regenerate. * m32c-opc.c: Regenerate. * config/tc-m32c.c (rl_for, relaxable): Protect argument. (md_relax_table): Add entries for ADJNZ macros. (M32C_Macros): Add ADJNZ macros. (subtype_mappings): Add entries for ADJNZ macros. (insn_to_subtype): Check for adjnz and sbjnz insns. (md_estimate_size_before_relax): Pass insn to insn_to_subtype. (md_convert_frag): Convert adjnz and sbjnz.
2007-03-29* itbl-ops.c (itbl_entry): Remove unnecessary and excessively long ↵Nick Clifton4-10/+13
initialization. * itbl-ops.h (enum e_processor): Initialise the e_nprocs field using ITBL_NUMBER_OF_PROCESSORS. * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
2007-03-29gas/H.J. Lu2-1/+7
2007-03-28 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (build_modrm_byte): For instructions with 2 register operands, encode destination in i.rm.regmem if its RegMem bit is set. opcodes/ 2007-03-28 H.J. Lu <hongjiu.lu@intel.com> * i386-opc.c (i386_optab): Change InvMem to RegMem for mov and movq. Remove InvMem from sldt, smsw and str. * i386-opc.h (InvMem): Renamed to ... (RegMem): Update comments. (AnyMem): Remove InvMem.
2007-03-28bfd/Richard Sandiford2-1/+7
200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * doc/bfd.texinfo: Put the contents after the title page rather than at the end of the document. binutils/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * doc/binutils.texi: Put the contents after the title page rather than at the end of the document. gas/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * doc/as.texinfo: Put the contents after the title page rather than at the end of the document. gprof/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * gprof.texi: Put the contents after the title page rather than at the end of the document. ld/ 200x-xx-xx Richard Sandiford <richard@codesourcery.com> Phil Edwards <phil@codesourcery.com> * ld.texinfo: Put the contents after the title page rather than at the end of the document.
2007-03-27Fix year.H.J. Lu2-7/+7
2007-03-27New testAlan Modra3-0/+30
2007-03-27 * NEWS: Mention ".reloc".Alan Modra2-0/+7
2007-03-26 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idiomsBob Wilson2-4/+10
in FLIX instructions.
2007-03-26 * config/tc-arm.c (arm_it): Add immisfloat field.Julian Brown2-11/+56
(parse_qfloat_immediate): Disallow integer syntax for floating-point immediates. Fix hex immediates, handle 0.0 and -0.0 specially. (parse_neon_mov): Set immisfloat bit for operand if it parsed as a float. (neon_cmode_for_move_imm): Reject non-float immediates for float operands. (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
2007-03-26 * gas/arm/neon-const.s: Use FP syntax for 0/-0.Julian Brown4-4/+10
* gas/arm/vfp-neon-syntax-inc.s: Likewise, for 1. * gas/arm/neon-cov.s: Use float syntax for FP immediate.