aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2002-05-02Do not convert a subtract of zero into an add of zero.Nick Clifton3-0/+16
2002-04-232002-04-23 H.J. Lu <hjl@gnu.org>H.J. Lu4-0/+9
* gas/mips/elempic.d: Use empic.l. * gas/mips/telempic.d: Likewise. * gas/mips/tempic.d: Likewise.
2002-04-232002-04-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-2/+10
* gas/hppa/parse/parse.exp: Don't expect failure on line separator test on hppa*-*-linux* nor hppa*-*-netbsd*.
2002-04-222002-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou5-0/+19
* gas/mips/mips-gp64-fp32.l: New file. * gas/mips/mips-gp64-fp32.d: Use mips-gp64-fp32.l to check stderr output. * gas/mips/mips-gp64-fp64.l: New file. * gas/mips/mips-gp64-fp64.d: Use mips-gp64-fp64.l to check stderr output.
2002-04-222002-04-22 Chris Demetriou <cgd@broadcom.com>Chris Demetriou4-4/+45
* lib/gas-defs.exp (run_dump_test): Support new attribute "stderr" which is a file used to regexp_diff the assembler's pruned stderr output. (write_file): New helper function to write a string into a file. * gas/mips/empic.l: New file which matches empic tests' warnings. * gas/mips/empic.d: Use empic.l.
2002-04-19(cofftag): Do not run test for xscale-coff toolchain.Nick Clifton2-4/+15
(struct, align, incbin): Use case switch so that other targets to be skipped can be added in the future.
2002-04-17 * gas/ppc/altivec.d: Fix dssall test.Matthew Green7-6/+15
* gas/ppc/altivec.s: Likewise. * gas/ppc/altivec_xcoff.d: Likewise. * gas/ppc/altivec_xcoff.s: Likewise. * gas/ppc/altivec_xcoff64.d: Likewise. * gas/ppc/altivec_xcoff64.s: Likewise. * ppc-opc.c (powerpc_opcode): Fix dssall operand list.
2002-04-04Open out one-line if-then-else test clauses so that other clauses can beNick Clifton2-10/+24
inserted in the future.
2002-03-19 * gas/i386/x86-64-opcode.d: More test cases for x86-64 opcodes.Andreas Jaeger3-314/+338
* gas/i386/x86-64-opcode.s: Likewise
2002-03-16[ gas/ChangeLog ]Chris Demetriou4-0/+296
2002-03-15 Chris G. Demetriou <cgd@broadcom.com> * config/tc-mips.c (mips_set_options): New "ase_mips3d" member. (mips_opts): Initialize "ase_mips3d" member. (file_ase_mips3d): New variable. (CPU_HAS_MIPS3D): New macro. (md_begin): Initialize mips_opts.ase_mips3d and file_ase_mips3d based on command line options and configuration defaults. (macro_build, mips_ip): Accept MIPS-3D instructions if mips_opts.ase_mips3d is set. (OPTION_MIPS3D, OPTION_NO_MIPS3D, md_longopts, md_parse_option): Add support for "-mips3d" and "-no-mips3d" options. (OPTION_ELF_BASE): Move to accomodate new options. (s_mipsset): Support ".set mips3d" and ".set nomips3d". (mips_elf_final_processing): Add a comment indicating that a MIPS-3D ASE ELF header flag should be set, when one exists. * doc/as.texinfo: Document -mips3d and -no-mips3d options. * doc/c-mips.texi: Likewise, and document ".set mips3d" and ".set nomips3d" directives. [ gas/testsuite/ChangeLog ] 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> * gas/mips/mips64-mips3d.s: New file. * gas/mips/mips64-mips3d.d: Likewise. * gas/mips/mips.exp: Run new "mips64-mips3d" test. [ include/opcode/ChangeLog ] 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> * mips.h (INSN_MIPS3D): New definition used to mark MIPS-3D instructions. (OPCODE_IS_MEMBER): Adjust comments to indicate that ASE bit masks may be passed along with the ISA bitmask. [ opcodes/ChangeLog ] 2002-03-15 Chris G. Demetriou <cgd@broadcom.com> * mips-dis.c (mips_isa_type): Add MIPS3D instructions to the ISA bit masks for bfd_mach_mips_sb1 and bfd_mach_mipsisa64. Add comments for bfd_mach_mipsisa32 and bfd_mach_mipsisa64 that indicate that they should dissassemble all applicable MIPS-specified ASEs. * mips-opc.c: Add support for MIPS-3D instructions. (M3D): New definition. * mips-opc.c: Update copyright years.
2002-03-162002-03-15 Chris G. Demetriou <cgd@broadcom.com>Chris Demetriou2-4/+12
* gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2.
2002-03-14 * gas/mmix/weak1.d, gas/mmix/weak1.d: New test.Hans-Peter Nilsson3-0/+34
2002-03-05 * gas/pdp11/pdp11.exp: New file.Alan Modra4-0/+480
* gas/pdp11/opcode.s: Ditto. * gas/pdp11/opcode.d: Ditto.
2002-03-01Add x86-64-opcode (checks valid opcodes) and x86-64-inval (checks invalid ↵Nick Clifton6-0/+695
opcodes) checks
2002-02-262002-02-26 Chris Demetriou <cgd@broadcom.com>Chris Demetriou9-91/+252
* gas/mips/empic2.d: Adjust for the fact that relocations on symbols local to this file are resolved at assembly time into section-relative relocations, even if the symbols are extern. * gas/mips/empic2.s: Add file offset information, so the next person to do the math mentioned above has an easier time. * gas/mips/jal-empic-elf.d: New test. * gas/mips/jal-empic-elf-2.d, gas/mips/jal-empic-elf-2.s: New test. * gas/mips/jal-empic-elf-3.d, gas/mips/jal-empic-elf-3.s: New test. * gas/mips/mips.exp: Run the new tests.
2002-02-25 * config/tc-mips.c (set_at): Fix handling of 64bit register loads.Thiemo Seufer9-164/+191
(macro): Likewise. Fix la/dla address expansions for EMBEDDED_PIC and NO_PIC cases. Code cleanup. (macro2): Fix handling of 64bit register loads. * mips-gp64-fp32-pic.d: Fix test of 64bit register loads. * mips-gp64-fp32-pic.s: Likewise. * mips-gp64-fp32.d: Likewise. * mips-gp64-fp32.s: Likewise. * mips-gp64-fp64-pic.d: Likewise. * mips-gp64-fp64-pic.s: Likewise. * mips-gp64-fp64.d: Likewise. * mips-gp64-fp64.s: Likewise.
2002-02-25 * gas/hppa/reloc/reloc.exp: Update copyright date.Alan Modra2-1/+5
2002-02-24 * gas/mmix/bspec-1.d, gas/mmix/bspec-2.d, gas/mmix/comment-1.d:Hans-Peter Nilsson4-13/+18
Adjust to changes in readelf output.
2002-02-22Fix another spelling typo!Nick Clifton1-1/+1
2002-02-22Fix spelling typoNick Clifton1-1/+1
2002-02-22Do not complain if gasp does not exist.Nick Clifton2-0/+12
2002-02-21XCOFF booke tests. Fix tlbre, tlbwe ppc WS field.Tom Rix6-1/+332
2002-02-182002-02-18 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz2-1/+8
* gas/sh/basic.exp: Don't run PIC tests for targets that don't support it.
2002-02-14xcoff versions of the altivec test.Tom Rix6-1/+77
2002-02-13* fix date on most recent entry.Ben Elliston1-1/+1
2002-02-132002-02-12 Ben Elliston <bje@redhat.com>Ben Elliston4-0/+61
* NEWS: Document floating point number handling in gasp. * gasp.c: Include <assert.h> and "xregex.h". (is_flonum): New function. (chew_flownum): Likewise. (change_base): Consume flonums from the input, where possible. * doc/gasp.texi (Constants): Document floating point numbers. [testsuite/ChangeLog] * gasp/flonums.asm: New test. * gasp/flonums.err: New result. * gasp/flonums.out: Likewise.
2002-02-12 * gas/hppa/reloc/reloc.exp (labelopbug.s): Change test to suitAlan Modra2-12/+36
hppa_fix_adjustable change.
2002-02-09 * config/tc-alpha.c (O_samegp): New.Richard Henderson6-0/+101
(USER_RELOC_P): Include it. (alpha_reloc_op_tag, debug_exp, find_macro_match): Add it. (md_apply_fix3): Handle BFD_RELOC_ALPHA_BRSGP. (alpha_force_relocation, alpha_fix_adjustable): Likewise. (alpha_validate_fix): New. * config/tc-alpha.h (TC_VALIDATE_FIX): New. * gas/alpha/elf-reloc-5.s, gas/alpha/elf-reloc-5.d: New. * gas/alpha/elf-reloc-6.s, gas/alpha/elf-reloc-6.l: New. * gas/alpha/alpha.exp: Run them.
2002-02-092002-02-08 Chris Demetriou <cgd@broadcom.com>Chris Demetriou2-0/+30
* gas/mips/mips.exp: Document (but do not XFAIL) currently-failing MIPS ECOFF tests, providing what information is known about the origins of the failures.
2002-02-08Contribute sh64-elf.Alexandre Oliva141-0/+6170
2002-02-01 Alexandre Oliva <aoliva@redhat.com> * gas/sh/sh64/syntax-1.s: Remove `-4' from @(expr-4,pc). 2002-01-28 Alexandre Oliva <aoliva@redhat.com> * gas/sh/sh64/crange1-1.d: Formatting changes to match the current output of objdump. * gas/sh/sh64/crange1-2.d: Likewise. * gas/sh/sh64/crange2-2.d: Likewise. * gas/sh/sh64/crange3-1.d: Likewise. * gas/sh/sh64/crange4-1.d: Likewise. * gas/sh/sh64/datal-2.d: Likewise. * gas/sh/sh64/datal32-1.d: Likewise. * gas/sh/sh64/datal32-3.d: Likewise. * gas/sh/sh64/localcom-1.d: Likewise. * gas/sh/sh64/mix-1.d: Likewise. * gas/sh/sh64/pt32-1.d: Likewise. * gas/sh/sh64/rel32-1.d: Likewise. * gas/sh/sh64/rel32-2.d: Likewise. * gas/sh/sh64/rel32-3.d: Likewise. * gas/sh/sh64/rel32-4.d: Likewise. * gas/sh/sh64/rel32-5.d: Likewise. * gas/sh/sh64/ua32-1.d: Likewise. 2001-03-14 DJ Delorie <dj@redhat.com> * gas/sh/sh64/endian-1.d: New test - Little Endianness. * gas/sh/sh64/endian-1.s: New test - Little Endianness. * gas/sh/sh64/endian-2.d: New test - Big Endianness. * gas/sh/sh64/endian-2.s: New test - Big Endianness. 2001-03-12 DJ Delorie <dj@redhat.com> * gas/sh/sh64/syntax-1.d: New test - basic syntax. * gas/sh/sh64/syntax-1.s: New test - basic syntax. * gas/sh/sh64/syntax-2.d: New test - basic syntax, pseudos. * gas/sh/sh64/syntax-2.s: New test - basic syntax, pseudos. 2001-03-06 DJ Delorie <dj@redhat.com> * gas/sh/sh64/lineno.d: New, test dwarf2 line numbers vs macros. * gas/sh/sh64/lineno.s: Ditto. 2001-01-14 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/err-dsp.s: New test. 2001-01-13 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/err-abi-64.s, gas/sh/sh64/err-abi-32.s, gas/sh/sh64/abi-64.s, gas/sh/sh64/abi-64.d, gas/sh/sh64/abi-32.s, gas/sh/sh64/abi-32.d, gas/sh/sh64/crange3.s, gas/sh/sh64/crange3-1.d, gas/sh/sh64/crange4.s, gas/sh/sh64/crange4-1.d, gas/sh/sh64/crange5.s, gas/sh/sh64/crange5-1.d: New tests. 2001-01-07 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/relax-1.s, gas/sh/sh64/relax-1.d: New test. * gas/sh/sh64/err-pt-1.s: New test. * gas/sh/sh64/relax-2.s, gas/sh/sh64/relax-2.d: New test. * gas/sh/sh64/localcom-1.s, gas/sh/sh64/localcom-1.d: New test. * gas/sh/sh64/movi-3.s, gas/sh/sh64/movi-3.d: New test. * gas/sh/sh64/relax-3.s, gas/sh/sh64/relax-3.d: New test. 2001-01-05 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/case-noexp-1.d: Adjust to changed GAS output for check-PTA/PTB / perhaps-change-to-PTB bit in target field. * gas/sh/sh64/case-noexp-1.d: Ditto. * gas/sh/sh64/mix-noexp-1.d: Ditto. * gas/sh/sh64/pt32-noexp-2.d: Ditto. * gas/sh/sh64/pt64-noexp-2.d: Ditto. * gas/sh/sh64/ptc32-noexp-1.d: Ditto. * gas/sh/sh64/ptc64-noexp-1.d: Ditto. * gas/sh/sh64/ptext32-noexp-1.d: Ditto. * gas/sh/sh64/ptext64-noexp-1.d: Ditto. 2000-12-31 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/shift64-3.d: Fix typo. * gas/sh/sh64/shift64-noexp-3.d, gas/sh/sh64/shift32-noexp-3.d, gas/sh/sh64/ptext64-noexp-1.d, gas/sh/sh64/ptext64-32-1.d, gas/sh/sh64/ptext32-noexp-1.d, gas/sh/sh64/ptc64-noexp-1.d, gas/sh/sh64/ptc64-32-1.d, gas/sh/sh64/ptc32-noexp-1.d, gas/sh/sh64/pt64-noexp-2.d, gas/sh/sh64/pt64-32-2.d, gas/sh/sh64/pt64-32-1.d, gas/sh/sh64/pt32-noexp-2.d, gas/sh/sh64/pt-noexp-1.d, gas/sh/sh64/movi64-noexp-2.d, gas/sh/sh64/movi32-noexp-2.d, gas/sh/sh64/mix-noexp-1.d, gas/sh/sh64/err-ptb-2.s, gas/sh/sh64/err-ptb-1.s, gas/sh/sh64/err-pt32-cmd3.s, gas/sh/sh64/err-pt32-cmd2.s, gas/sh/sh64/err-pt32-cmd1.s, gas/sh/sh64/err-noexp-cmd1.s, gas/sh/sh64/err-movi-noexp-1.s, gas/sh/sh64/crange2.s, gas/sh/sh64/crange2-noexp-1.d, gas/sh/sh64/crange2-2.d, gas/sh/sh64/crange2-1.d, gas/sh/sh64/case-noexp-1.d: New tests. 2000-12-18 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/err-4.s: Use option -no-mix to see errors. Adjust for errors not being emitted at the .mode directives anymore. * gas/sh/sh64/crange1.s, gas/sh/sh64/crange1-2.d, gas/sh/sh64/crange1-1.d: New tests for .cranges section. 2000-12-12 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/err-3.s: New test. * gas/sh/sh64/immexpr1.s, gas/sh/sh64/immexpr32-1.d, gas/sh/sh64/immexpr64-1.d: New tests. * gas/sh/sh64/immexpr2.s, gas/sh/sh64/immexpr32-2.d, gas/sh/sh64/immexpr64-2.d: New tests. 2000-12-11 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/rel-1.s, gas/sh/sh64/rel-2.s, gas/sh/sh64/rel-3.s, gas/sh/sh64/rel-4.s, gas/sh/sh64/rel-5.s, gas/sh/sh64/rel32-1.d, gas/sh/sh64/rel32-2.d, gas/sh/sh64/rel32-3.d, gas/sh/sh64/rel32-4.d, gas/sh/sh64/rel32-5.d, gas/sh/sh64/rel64-1.d, gas/sh/sh64/rel64-2.d, gas/sh/sh64/rel64-3.d, gas/sh/sh64/rel64-4.d, gas/sh/sh64/rel64-5.d: New tests. 2000-12-07 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/case-1.d, gas/sh/sh64/mix-1.d, gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt64-1.d, gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d, gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext64-1.d: Correct offsets in PT/PTA/PTB expansion. 2000-12-05 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/datal-3.s, gas/sh/sh64/datal32-3.d, gas/sh/sh64/datal64-3.d: New tests. 2000-11-27 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/datal-1.s: Remove whitespace at end of line. * gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal64-1.d, gas/sh/sh64/movi32-1.d, gas/sh/sh64/movi32-2.d, gas/sh/sh64/movi64-1.d, gas/sh/sh64/movi64-3.d: Correct register. * gas/sh/sh64/mix-1.s, gas/sh/sh64/mix-1.d, gas/sh/sh64/err-4.s: New tests. 2000-11-26 Hans-Peter Nilsson <hpn@cygnus.com> * gas/macros/macros.exp: Import xfail sh*-*-* from net binutils. * gas/sh/sh64/case-1.d: Correct offsets in PT/PTA/PTB expansion. gas/sh/sh64/pt32-1.d, gas/sh/sh64/pt64-1.d: Ditto. gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Ditto. gas/sh/sh64/ptext32-1.d, gas/sh/sh64/ptext64-1.d: Ditto. 2000-11-25 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64/ptc32-1.d, gas/sh/sh64/ptc64-1.d: Correct. * gas/sh/sh64/datal-1.s, gas/sh/sh64/datal32-1.d, gas/sh/sh64/datal64-1.d: New test. * gas/sh/sh64/datal-2.s, gas/sh/sh64/datal-2.d: New test. * gas/sh/sh64/creg-1.d, gas/sh/sh64/creg-1.s: New test. * gas/sh/sh64/creg-2.d, gas/sh/sh64/creg-2.s: New test. 2000-11-24 Hans-Peter Nilsson <hpn@cygnus.com> * gas/sh/sh64: New testsuite.
2002-02-06* gas/sh/pic.d, gas/sh/pic.s: New test.Alexandre Oliva4-3/+90
* gas/sh/basic.exp: Run it.
2002-02-05 * archures (bfd_mach_ppc64): Define.Alan Modra2-1/+5
(bfd_powerpc_arch): Rename to bfd_powerpc_archs. (bfd_powerpc_arch): Define. * bfd-in2.h: Regenerate. * cpu-powerpc.c (arch_info_struct): Rename to bfd_powerpc_archs. (bfd_powerpc_arch): Move to tail of bfd_powerpc_archs. (bfd_powerpc_archs): Add default powerpc64 arch. * gas/ppc/test1elf64.d: Tweak arch name.
2002-02-04* gas/testsuite/gas/sh/pcrel.d: New test.Alexandre Oliva4-1/+44
* gas/testsuite/gas/sh/pcrel.s: Sources for new test. * gas/testsuite/gas/sh/basic.exp: Run it.
2002-02-04 * gas/mmix/basep-8.d, gas/mmix/basep-9.s, gas/mmix/basep-9.d,Hans-Peter Nilsson10-0/+194
gas/mmix/err-bpo6.s, gas/mmix/basep-8.s, gas/mmix/basep-10.d, gas/mmix/basep-10.s, gas/mmix/basep-11.s, gas/mmix/basep-11.d: New tests for base-plus-offset relocations and global register allocations for weak and common symbols.
2002-02-01 * config/tc-v850.c: Add missing prototypes amd use old-styleAlan Modra2-1/+5
function definitions. (AREA_ZDA, AREA_SDA, AREA_TDA): Delete. (sdata_section tdata_section, zdata_section, sbss_section, tbss_section, zbss_section, rosdata_section, rozdata_section, scommon_section, tcommon_section, zcommon_section, call_table_data_section, call_table_text_section): Delete. (v850_sdata, v850_tdata, v850_zdata, v850_sbss, v850_tbss, v850_zbss, v850_bss, v850_rosdata, v850_rozdata, v850_call_table_data, v850_call_table_text): Delete. (struct v850_seg_entry): New. (v850_seg_table): New. (SDATA_SECTION TDATA_SECTION, ZDATA_SECTION, SBSS_SECTION, TBSS_SECTION, ZBSS_SECTION, BSS_SECTION, ROSDATA_SECTION, ROZDATA_SECTION, SCOMMON_SECTION, TCOMMON_SECTION, ZCOMMON_SECTION, CALL_TABLE_DATA_SECTION, CALL_TABLE_TEXT_SECTION): Define. (do_v850_seg): New. (v850_seg): New. (v850_comm): Use do_v850_seg and v850_seg_table. Simplify recording of alignment. (md_pseudo_table): Use v850_seg. (md_begin): Don't init .call_table_data and .call_table_text here. Set v850_seg_table bss entry. * config/tc-v850.h (v850_pcrel_from_section): Prototype. * gas/elf/elf.exp: Don't special case v850.
2002-02-01 * gas/mmix/basep-1b.d, gas/mmix/basep-2b.d, gas/mmix/basep-7.d,Hans-Peter Nilsson12-0/+195
gas/mmix/err-bpo2.s, gas/mmix/basep-3b.d, gas/mmix/err-bpo3.s, gas/mmix/basep-4.d, gas/mmix/err-bpo4.s, gas/mmix/err-bpo5.s, gas/mmix/basep-5.d, gas/mmix/basep-6.d: New tests.
2002-01-23oopsAlexandre Oliva1-1/+1
2002-01-23* gas/mn10300/basic.exp (run_list_test): New proc, from alpha.Alexandre Oliva4-1/+63
* gas/mn10300/movpc.s, gas/mn10300/movpc.l: New tests.
2002-01-22 * gas/alpha/unop.s, gas/alpha/unop.d: New test.Richard Henderson4-0/+22
* gas/alpha/alpha.exp: Run it.
2002-01-21comment typo fixesAlan Modra2-2/+6
2002-01-192002-01-18 Richard Earnshaw <rearnsha@arm.com>Richard Earnshaw4-0/+32
Keith Walker <keith.walker@arm.com> * tc-arm.c (ARM_EXT_V5J, ARM_ARCH_V5TEJ): Define. (insns): Add pattern for bxj instruction. (do_bxj): New function. (arm_cpus): Add arm926ej. (arm_archs): Add armv5tej. Testsuite: 2002-01-18 Richard Earnshaw <rearnsha@arm.com> Keith Walker <keith.walker@arm.com> * gas/arm/arch5tej.s gas/arm/arch5tej.d: New files. * gas/arm/arm.exp (arch5tej): New dump test.
2002-01-18* NEWS: Mention new ARM command-line options and VFP support.Richard Earnshaw5-4/+12
* config/tc-arm.c (ARM_CEXT_XSCALE): Replaces ARM_EXT_XSCALE. All uses changed. (ARM_CEXT_MAVERICK): Similarly. (ARM_ANY): Now means any core instruction. (CPU_DEFAULT): Default to ARM_ANY. (uses_apcs_26, atcps, support_interwork, uses_apcs_float) (pic_code): Declare for all object types. Make type int. (legacy_cpu, legacy_fpu, mcpu_cpu_opt, mcpu_fpu_opt, march_cpu_opt) (march_fpu_opt, mfpu_opt): Declare. (md_longopts): Tidy up conditional definitions. (arm_opts, arm_cpus, arm_archs, arm_fpus, arm_extensions) (arm_long_opts): New tables. (arm_parse_cpu, arm_parse_arch, arm_parse_fpu): New functions. (arm_parse_extension): New function. (md_parse_option): Rewrite using new table-driven system. (md_show_usage): Use new table-driven system. (md_begin): Calculate cpu_variant from command line option data. * doc/as.texinfo (ARM ISA options): Docuement new ARM-specific command-line options. * doc/c-arm.texi: Likewise. Testsuite: * gas/arm/vfp1.d: Use new command-line options. * gas/arm/vfp1xD.d: Likewise. * gas/arm/arm.exp (vfp-bad): Likewise. * gas/arm/maverick.d: Likewise.
2002-01-17Add a more instructive error message on bad syntaxTimothy Wall2-1/+5
2002-01-15Support for VFP instructionsRichard Earnshaw8-0/+1081
* tc-arm.c (CP_WB_OK, CP_NO_WB): New defines. (cp_address_required_here): New argument wb_ok. When false, do not accept write-back forms of addressing. Change all callers. (FPU_VFP_EXT_NONE, FPU_VFP_EXT_V1xD, FPU_VFP_VFP_V1) (FPU_VFP_EXT_V2): Define. (FPU_ARCH_VFP, FPU_ARCH_VFP_V1xD, FPU_ARCH_VFP_V1, FPU_ARCH_VFP_V2): Define in terms of above. (vfp_dp_reg_pos, vfp_sp_reg_pos, vfp_ldstm_type): New enums. (vfp_reg): New struct. (vfp_regs): New array of registers. (insns): Add VFP instructions. (sn_table): New array of VFP single-precision register names. (dn_table): New array of VFP double-precision register names. (all_reg_maps): Add the new register tables. (arm_reg_type): Add new values for above. Increase RET_TYPE_MAX. (vfp_sp_reg_required_here, vfp_dp_reg_required_here, do_vfp_sp_monadic) (do_vfp_dp_monadic, do_vfp_sp_dyadic, do_vfp_dp_dyadic) (do_vfp_reg_from_sp, do_vfp_sp_reg2, do_vfp_sp_from_reg) (do_vfp_reg_from_dp, do_vfp_reg2_from_dp, do_vfp_dp_from_reg) (do_vfp_dp_from_reg2, vfp_psr_parse, vfp_psr_required_here) (do_vfp_reg_from_ctrl, do_vfp_ctrl_from_reg, do_vfp_sp_ldst) (do_vfp_dp_ldst, vfp_sp_reg_list, vfp_dp_reg_list, vfp_sp_ldstm) (vfp_dp_ldstm, do_vfp_sp_ldstmia, do_vfp_sp_ldstmdb, do_vfp_ldstmia) (do_vfp_dp_ldstmdb, do_vfp_xp_ldstmia, do_vfp_xp_ldstmdb) (do_vfp_sp_compare_z, do_vfp_dp_compare_z, do_vfp_dp_sp_cvt) (do_vfp_sp_dp_cvt): New functions. (md_begin): Set soft-float flag for appropriate VFP work. (md_atof): Handle VFP-format doubles. (md_parse_option): Handle VFP command-line options. (md_show_usage): Display VFP command-line options. * testsuite/gas/arm/vfp1.s gas/arm/vf1.d: New files. * testsuite/gas/arm/vfp1xD.s gas/arm/vf1xD.d: New files. * testsuite/gas/arm/vfp-bad.s gas/arm/vfp-bad.l: New files. * testsuite/gas/arm/arm.exp: Run new VFP tests.
2002-01-15Special case handlign for m32r portNick Clifton3-0/+15
2002-01-15Fix expected results of disassembly of DSP instructionsNick Clifton2-18/+22
2002-01-14Use section2.e-mips script for v850-elf toolchain.Nick Clifton2-1/+6
2002-01-14* gas/arm/armv1.s, arm/armv1.d, arm/fpa-mem.s, arm/fpa-mem.dRichard Earnshaw11-1/+965
arm/fpa-monadic.s, arm/fpa-monadic.d, arm/fpa-dyadic.s, arm/fpa-dyadic.d: New tests. * gas/arm/le-fpconst.d (objdump): pass --section=.text * gas/arm/arm.exp: Add new tests. Run le-fpconst test on elf targets.
2002-01-14* gas/arm/armv1-bad.s gas/arm/armv1-bad.l: New files.Richard Earnshaw4-0/+39
* gas/arm/arm.exp (run_error_test): New proc. (armv1-bad): New error test.
2002-01-11* tc-arm.c ((do_ldst): Fix handling an immediate expression pseudoRichard Earnshaw4-0/+63
op that can be translated into a mvn instruction. * gas/arm/ldconst.s gas/arm/ldconst.d: New files. Test ldr with immediate pseudo-operations. * gas/arm/arm.exp: Run it.