aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
AgeCommit message (Collapse)AuthorFilesLines
2002-05-21? gas/testsuite/gas/mips/rol64.dThiemo Seufer4-0/+96
? gas/testsuite/gas/mips/rol64.s Index: gas/ChangeLog =================================================================== RCS file: /cvs/src/src/gas/ChangeLog,v retrieving revision 1.1334 diff -u -p -r1.1334 ChangeLog --- gas/ChangeLog 21 May 2002 20:01:51 -0000 1.1334 +++ gas/ChangeLog 21 May 2002 23:32:51 -0000 @@ -1,3 +1,8 @@ +2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * config/tc-mips.c (macro2): Add 64 bit drol, dror macros. + Optimize the rotate by zero case. + 2002-05-21 Nick Clifton <nickc@cambridge.redhat.com> * configure.in: Remove accidental enabling of bfd_gas=yes for Index: gas/config/tc-mips.c =================================================================== RCS file: /cvs/src/src/gas/config/tc-mips.c,v retrieving revision 1.123 diff -u -p -r1.123 tc-mips.c --- gas/config/tc-mips.c 14 May 2002 23:35:59 -0000 1.123 +++ gas/config/tc-mips.c 21 May 2002 23:32:52 -0000 @@ -6686,6 +6686,17 @@ macro2 (ip) --mips_opts.noreorder; break; + case M_DROL: + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "dsubu", + "d,v,t", AT, 0, treg); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "dsrlv", + "d,t,s", AT, sreg, AT); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "dsllv", + "d,t,s", dreg, sreg, treg); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", + "d,v,t", dreg, dreg, AT); + break; + case M_ROL: macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "subu", "d,v,t", AT, 0, treg); @@ -6697,15 +6708,55 @@ macro2 (ip) "d,v,t", dreg, dreg, AT); break; + case M_DROL_I: + { + unsigned int rot; + char *l, *r; + + if (imm_expr.X_op != O_constant) + as_bad (_("rotate count too large")); + rot = imm_expr.X_add_number & 0x3f; + if (! rot) + break; + l = (rot < 0x20) ? "dsll" : "dsll32"; + r = ((0x40 - rot) < 0x20) ? "dsrl" : "dsrl32"; + rot &= 0x1f; + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, l, + "d,w,<", AT, sreg, rot); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, r, + "d,w,<", dreg, sreg, (0x20 - rot) & 0x1f); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", + "d,v,t", dreg, dreg, AT); + } + break; + case M_ROL_I: - if (imm_expr.X_op != O_constant) - as_bad (_("rotate count too large")); - macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "sll", "d,w,<", - AT, sreg, (int) (imm_expr.X_add_number & 0x1f)); - macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "srl", "d,w,<", - dreg, sreg, (int) ((0 - imm_expr.X_add_number) & 0x1f)); - macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", "d,v,t", - dreg, dreg, AT); + { + unsigned int rot; + + if (imm_expr.X_op != O_constant) + as_bad (_("rotate count too large")); + rot = imm_expr.X_add_number & 0x1f; + if (! rot) + break; + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "sll", + "d,w,<", AT, sreg, rot); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "srl", + "d,w,<", dreg, sreg, (0x20 - rot) & 0x1f); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", + "d,v,t", dreg, dreg, AT); + } + break; + + case M_DROR: + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "dsubu", + "d,v,t", AT, 0, treg); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "dsllv", + "d,t,s", AT, sreg, AT); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "dsrlv", + "d,t,s", dreg, sreg, treg); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", + "d,v,t", dreg, dreg, AT); break; case M_ROR: @@ -6719,15 +6770,44 @@ macro2 (ip) "d,v,t", dreg, dreg, AT); break; + case M_DROR_I: + { + unsigned int rot; + char *l, *r; + + if (imm_expr.X_op != O_constant) + as_bad (_("rotate count too large")); + rot = imm_expr.X_add_number & 0x3f; + if (! rot) + break; + r = (rot < 0x20) ? "dsrl" : "dsrl32"; + l = ((0x40 - rot) < 0x20) ? "dsll" : "dsll32"; + rot &= 0x1f; + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, r, + "d,w,<", AT, sreg, rot); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, l, + "d,w,<", dreg, sreg, (0x20 - rot) & 0x1f); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", + "d,v,t", dreg, dreg, AT); + } + break; + case M_ROR_I: - if (imm_expr.X_op != O_constant) - as_bad (_("rotate count too large")); - macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "srl", "d,w,<", - AT, sreg, (int) (imm_expr.X_add_number & 0x1f)); - macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "sll", "d,w,<", - dreg, sreg, (int) ((0 - imm_expr.X_add_number) & 0x1f)); - macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", "d,v,t", - dreg, dreg, AT); + { + unsigned int rot; + + if (imm_expr.X_op != O_constant) + as_bad (_("rotate count too large")); + rot = imm_expr.X_add_number & 0x1f; + if (! rot) + break; + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "srl", + "d,w,<", AT, sreg, rot); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "sll", + "d,w,<", dreg, sreg, (0x20 - rot) & 0x1f); + macro_build ((char *) NULL, &icnt, (expressionS *) NULL, "or", + "d,v,t", dreg, dreg, AT); + } break; case M_S_DOB: Index: gas/testsuite/ChangeLog =================================================================== RCS file: /cvs/src/src/gas/testsuite/ChangeLog,v retrieving revision 1.315 diff -u -p -r1.315 ChangeLog --- gas/testsuite/ChangeLog 20 May 2002 17:05:34 -0000 1.315 +++ gas/testsuite/ChangeLog 21 May 2002 23:32:54 -0000 @@ -1,3 +1,9 @@ +2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * gas/mips/rol64.s: New file, test of drol, dror macros. + * gas/mips/rol64.d: Likewise. + * gas/mips/mips.exp: Add new test. + 2002-05-20 Nick Clifton <nickc@cambridge.redhat.com> * gas/arm/arm.exp: Replace deprecated command line switches Index: gas/testsuite/gas/mips/mips.exp =================================================================== RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips.exp,v retrieving revision 1.32 diff -u -p -r1.32 mips.exp --- gas/testsuite/gas/mips/mips.exp 4 Apr 2002 08:23:30 -0000 1.32 +++ gas/testsuite/gas/mips/mips.exp 21 May 2002 23:32:54 -0000 @@ -122,6 +122,7 @@ if { [istarget mips*-*-*] } then { run_dump_test "mul" } run_dump_test "rol" + run_dump_test "rol64" if !$aout { run_dump_test "sb" } run_dump_test "trunc" if !$aout { run_dump_test "ulh" } Index: include/opcode/ChangeLog =================================================================== RCS file: /cvs/src/src/include/opcode/ChangeLog,v retrieving revision 1.167 diff -u -p -r1.167 ChangeLog --- include/opcode/ChangeLog 17 May 2002 19:01:03 -0000 1.167 +++ include/opcode/ChangeLog 21 May 2002 23:32:57 -0000 @@ -1,3 +1,7 @@ +2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * mips.h: Add M_DROL, M_DROL_I, M_DROR, M_DROR_I macro cases. + 2002-05-17 Andrey Volkov <avolkov@sources.redhat.com> * h8300.h: Corrected defs of all control regs Index: include/opcode/mips.h =================================================================== RCS file: /cvs/src/src/include/opcode/mips.h,v retrieving revision 1.24 diff -u -p -r1.24 mips.h --- include/opcode/mips.h 16 Mar 2002 03:09:18 -0000 1.24 +++ include/opcode/mips.h 21 May 2002 23:32:57 -0000 @@ -526,9 +526,13 @@ enum M_REM_3I, M_REMU_3, M_REMU_3I, + M_DROL, M_ROL, + M_DROL_I, M_ROL_I, + M_DROR, M_ROR, + M_DROR_I, M_ROR_I, M_S_DA, M_S_DOB, Index: opcodes/ChangeLog =================================================================== RCS file: /cvs/src/src/opcodes/ChangeLog,v retrieving revision 1.447 diff -u -p -r1.447 ChangeLog --- opcodes/ChangeLog 17 May 2002 14:36:45 -0000 1.447 +++ opcodes/ChangeLog 21 May 2002 23:33:00 -0000 @@ -1,3 +1,7 @@ +2002-05-22 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de> + + * mips-opc.c (mips_builtin_opcodes): Add drol, dror macros. + Fri May 17 14:26:44 2002 J"orn Rennecke <joern.rennecke@superh.com> * disassemble.c (disassembler): Just use print_insn_sh for bfd_arch_sh. Index: opcodes/mips-opc.c =================================================================== RCS file: /cvs/src/src/opcodes/mips-opc.c,v retrieving revision 1.32 diff -u -p -r1.32 mips-opc.c --- opcodes/mips-opc.c 17 Mar 2002 02:42:25 -0000 1.32 +++ opcodes/mips-opc.c 21 May 2002 23:33:00 -0000 @@ -492,6 +492,10 @@ const struct mips_opcode mips_builtin_op {"dremu", "z,s,t", 0x0000001f, 0xfc00ffff, RD_s|RD_t|WR_HILO, I3 }, {"dremu", "d,v,t", 3, (int) M_DREMU_3, INSN_MACRO, I3 }, {"dremu", "d,v,I", 3, (int) M_DREMU_3I, INSN_MACRO, I3 }, +{"drol", "d,v,t", 0, (int) M_DROL, INSN_MACRO, I3 }, +{"drol", "d,v,I", 0, (int) M_DROL_I, INSN_MACRO, I3 }, +{"dror", "d,v,t", 0, (int) M_DROR, INSN_MACRO, I3 }, +{"dror", "d,v,I", 0, (int) M_DROR_I, INSN_MACRO, I3 }, {"dsllv", "d,t,s", 0x00000014, 0xfc0007ff, WR_d|RD_t|RD_s, I3 }, {"dsll32", "d,w,<", 0x0000003c, 0xffe0003f, WR_d|RD_t, I3 }, {"dsll", "d,w,s", 0x00000014, 0xfc0007ff, WR_d|RD_t|RD_s, I3 }, /* dsllv */
2002-05-20Replace deprecated command line switches with their modern equivalents.Nick Clifton10-14/+27
2002-05-13 * gas/i386/x86-64-opcode.s: Pad out end of .text with zeros.Alan Modra3-3/+8
* gas/i386/x86-64-opcode.d: Adjust.
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