Commit Graph

289 Commits

Author SHA1 Message Date
Chris Demetriou adad0f8a2b 2004-04-11 Chris Demetriou <cgd@broadcom.com>
* utils-fpu.inc (enable_fpu, ckm_fp_cc): New macros.
        (clrset_fp_cc): Fix mask used for upper 7 condition codes.
        * utils-mdmx.inc: Include utils-fpu.inc.
        (enable_mdmx): Use enable_fpu.
2004-04-11 07:12:13 +00:00
Chris Demetriou cdc89eb2c3 2004-04-10 Chris Demetriou <cgd@broadcom.com>
* utils-fpu.inc: New file.
        * utils-mdmx.inc: New file.
        * mdmx-ob.s: New file.
        * mdmx-ob-sb1.s: New file.
        * basic.exp: Run new mdmx-ob and mdmx-ob-sb1 tests.
2004-04-11 06:28:08 +00:00
Chris Demetriou 5dbb7b5a1d im/mips/ChangeLog ]
2004-04-10  Chris Demetriou  <cgd@broadcom.com>

        * sb1.igen (DIV.PS, RECIP.PS, RSQRT.PS, SQRT.PS): New.

[ sim/testsuite/sim/mips/ChangeLog ]
2004-04-10  Chris Demetriou  <cgd@broadcom.com>

        * fpu64-ps-sb1.s: New file.
        * basic.exp: Recognize mipsisa64sb1 targets, and run fpu64-ps-sb1.s
        if appropriate.
2004-04-10 07:11:29 +00:00
Chris Demetriou 55dc1ac473 2004-04-10 Chris Demetriou <cgd@broadcom.com>
* fpu64-ps.s: New file.
        * basic.exp: Run fpu64-ps.s.
2004-04-10 07:02:57 +00:00
Chris Demetriou f90bdbaba7 (and adjust paths in last entry, for move 2004-04-10 06:58:54 +00:00
Chris Demetriou ba3b645acc move entry from:
2004-03-29  Richard Sandiford  <rsandifo@redhat.com>
from ChangeLog into sim/mips/Changelog
2004-04-10 06:58:21 +00:00
Richard Sandiford 11d66e667f Fix date in last delta. 2004-03-29 22:01:45 +00:00
Richard Sandiford a584aa6330 * sim/mips/hilo-hazard-[123].s: New files.
* sim/mips/basic.exp (run_hilo_test): New procedure.
	(models): Only list models that are included in the configuration.
	(submodels): New variable, set to submodels of the above.
	(mips64vr-*-elf, mips64vrel-*-elf): New configuration stanza.
	Run hilo-hazard-[123].s.
2004-03-29 21:58:01 +00:00
Richard Sandiford 676a64f422 Add fr450 support. 2004-03-01 10:11:46 +00:00
Richard Sandiford 8b73069fed sim/frv/
* frv.c (frvbf_iacc_cut): Rework, taking rounding into account.

testsuite/
	* sim/frv/fr400/scutss.cgs: Fix tests to account for rounding.
	Add some new ones.
2004-03-01 09:33:48 +00:00
Richard Sandiford 8ae0baa268 cpu/
* frv.cpu (r-store, r-store-dual, r-store-quad): Delete.
	(rstb, rsth, rst, rstd, rstq): Delete.
	(rstbf, rsthf, rstf, rstdf, rstqf): Delete.

gas/testsuite/
	* gas/frv/allinsn.s (rstb, rsth, rst, rstd, rstq): Replace with nops.
	(rstbf, rsthf, rstf, rstdf, rstqf): Likewise.
	* gas/frv/allinsn.d: Update accordingly.

opcodes/
	* frv-desc.c, frv-opc.c, frv-opc.h: Regenerate.

sim/frv/
	* decode.c, decode.h, model.c, sem.c: Regenerate.

sim/testsuite/
	* sim/frv/{rstb,rsth,rst,rstd,rstq}.cgs: Delete.
	* sim/frv/{rstbf,rsthf,rstf,rstdf,rstqf}.cgs: Delete.
2004-03-01 09:26:33 +00:00
Michael Snyder d60d62653d 2004-02-12 Michael Snyder <msnyder@redhat.com>
* and.s, movi.s, sett.s: New files.
	* allinsn.exp: Add new tests.
	* testutils.inc (set_sr_bit): Fix macro labels.
2004-02-12 22:29:48 +00:00
Chris Demetriou df0a8012b1 [ sim/ChangeLog ]
2004-01-26  Chris Demetriou  <cgd@broadcom.com>

        * configure.in (mips*-*-*): Configure in testsuite.
        * configure: Regenerate.

[ sim/testsuite/ChangeLog ]
2004-01-26  Chris Demetriou  <cgd@broadcom.com>

        * sim/mips: New directory.  Tests for the MIPS simulator.

[ sim/testsuite/sim/mips/ChangeLog ]
2004-01-26  Chris Demetriou  <cgd@broadcom.com>

        * basic.exp: New file.
        * testutils.inc: New file.
        * sanity.s: New file.
2004-01-26 08:12:44 +00:00
Ben Elliston 2345c93c5f * lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
test passes.
2004-01-23 03:15:27 +00:00
Michael Snyder 4321271fd4 2004-01-07 Michael Snyder <msnyder@redhat.com>
* dmxy.s, fipr.s, fpchg.s, ldrc.s, loop.s, movli.s, movua.s,
        movxy.s, pabs.s, pclr.s, prnd.s, psub.s, pswap.s: New files.
        * allinsn.exp: Add new tests.
        * testutils.inc (set_sr_bit): Add argument.
        (set_greg): Add .align directives.
2004-01-09 19:47:36 +00:00
Dave Brolley 5ca353c3d9 2003-10-10 Dave Brolley <brolley@redhat.com>
* sim/frv/testutils.inc (or_gr_immed): New macro.
        * sim/frv/fp_exception-fr550.cgs: Write insns using
        unaligned registers into the program in order to
        cause the required exceptions.
        * sim/frv/fp_exception.cgs: Ditto.
        * sim/frv/regalign.cgs: Ditto.
2003-10-10 19:30:50 +00:00
Dave Brolley 086419a898 2003-10-06 Dave Brolley <brolley@redhat.com>
* sim/frv/fr550: New subdirectory.
        * sim/frv/fr400/*.cgs: Add fr550 as appropriate.
        * sim/frv/fr500/*.cgs: Add fr550 as appropriate.
        * sim/frv/interrupts/*.cgs: Add fr550 as appropriate.
        * sim/frv/interrupts/*-fr550.cgs: New test cases for fr550.
2003-10-08 18:21:02 +00:00
Michael Snyder f6f87075ea 2003-09-19 Michael Snyder <msnyder@redhat.com>
* sim/frv/nldqi.cgs: Remove.  This insn was never implemented
	by Fujitsu.
2003-09-19 18:59:45 +00:00
Dave Brolley d45d015e0c 2003-09-19 Dave Brolley <brolley@redhat.com>
* sim/frv/rstqf.cgs: Use nldq instead of nldqi.
        * sim/frv/rstq.cgs: Use nldq instead of nldqi.
2003-09-19 17:38:57 +00:00
Michael Snyder e961d8dc41 2003-09-11 Michael Snyder <msnyder@redhat.com>
* sim/testsuite/sim/frv/movgs.cgs: Change lcr to spr[273],
	which according to the comments seems to be the intent.
2003-09-11 18:39:05 +00:00
Dave Brolley fbd93201df 2003-09-09 Dave Brolley <brolley@redhat.com>
* sim/frv/maddaccs.cgs: move to fr400 subdirectory.
        * sim/frv/msubaccs.cgs: move to fr400 subdirectory.
        * sim/frv/masaccs.cgs: move to fr400 subdirectory.
2003-09-09 22:34:53 +00:00
Ben Elliston cc9855138d Spelling fix by the ChangeLog police. 2003-09-03 22:40:45 +00:00
Michael Snyder 19121792cc 2003-09-03 Michael Snyder <msnyder@redhat.com>
* sim/frv/fr500/mclracc.cgs: Change mach to 'all',
        to be consistant with other tests in the directory.
2003-09-03 21:56:01 +00:00
Michael Snyder 0eb3d26069 2003-09-03 Michael Snyder <msnyder@redhat.com>
* sim/frv/interrupts/Ipipe-fr400.cgs: New file.
	* sim/frv/interrupts/Ipipe-fr500.cgs: New file.
	* sim/frv/interrupts/Ipipe.cgs: Remove (replaced by above).
2003-09-03 21:51:57 +00:00
Dave Brolley 51796a3f8b 2003-08-20 Michael Snyder <msnyder@redhat.com>
On behalf of Dave Brolley

        * sim/frv: New testsuite.
        * frv-elf: New testsuite.
2003-08-29 16:42:18 +00:00
Dave Brolley 4a30611667 New sim testsuite for Fujitsu FRV. Contributed by Red Hat. 2003-08-29 16:41:31 +00:00
Michael Snyder be8fb42bc5 2003-08-11 Michael Snyder <msnyder@redhat.com>
* macl.s: New file.
        * macw.s: New file.
        * allinsn.exp: Add new tests for mac.w and mac.l.
2003-08-11 19:36:23 +00:00
Michael Snyder 735979c782 2003-07-22 Michael Snyder <msnyder@redhat.com>
* cmpw.s: Add test for less-than-zero immediate.
	* shll.s: Test for shll reg, reg.
	* shlr.s: Test for shlr reg, reg.
	* mova.s: Add dozens of new mova tests.
2003-07-29 21:07:40 +00:00
Michael Snyder a5de4c570e 2003-07-25 Michael Snyder <msnyder@redhat.com>
* pshai.s, pshar.s, pshli.s, pshlr.s: New files.
	* allinsn.exp: Add psha, pshl tests.
	* pdec.s, pinc.s, padd.s, paddc.s: New files.
	* allinsn.exp: Add pdec, pinc, padd, paddc tests.
	* pand.s, pdmsb.s: New files.
	* allinsn.exp: Add pand, pdmsb tests.
2003-07-26 01:00:33 +00:00
Michael Snyder 9142f946a7 2003-07-08 Michael Snyder <msnyder@redhat.com>
* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
        fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
        float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
        fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
        shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
2003-07-26 00:54:58 +00:00
Michael Snyder b2bc310144 2003-07-23 Michael Snyder <msnyder@redhat.com>
* pmuls.s: New	file.
2003-07-23 21:45:36 +00:00
Michael Snyder b7c7b62431 2003-07-09 Michael Snyder <msnyder@redhat.com>
* sim/sh: New directory.  Tests for Renesas sh family.
2003-07-23 21:41:09 +00:00
Michael Snyder 20358547b7 2003-07-08 Michael Snyder <msnyder@redhat.com>
* allinsn.exp, testutils.inc, add.s, fabs.s, fadd.s, fcmpeq.s,
	fcmpgt.s, fcnvds.s, fcnvsd.s, fdiv.s, fldi0.s, fldi1.s, flds.s,
	float.s, fmac.s, fmov.s, fmul.s, fneg.s, frchg.s, fschg.s,
	fsqrt.s, fsub.s, ftrc.s, shll16.s, shll2.s, shll8.s, shll.s,
	shlr16.s, shlr2.s, shlr8.s, shlr.s, swap.s: New files.
2003-07-23 21:40:43 +00:00
Michael Snyder 3df3a316d3 2003-05-30 Alexandre Oliva <aoliva@redhat.com>
* allinsn.exp: Fix typos introduced on 2003-05-27.

2003-05-29  Michael Snyder  <msnyder@redhat.com>

	* tas.s: Use er4 for h8h and h8s, er3 for h8sx.

2003-05-28  Michael Snyder  <msnyder@redhat.com>

	* subs.s: New file.
	* subx.s: New file.
	* allinsn.exp: Add new subs and subx tests.
	* testutils.inc: Simplify (and fix) set_carry_flag.
	(clear_carry_flag, set_zero_flag, clear_zero_flag...): New macros.
	* addx.s: Use simplified set_carry_flag.

2003-05-27  Michael Snyder  <msnyder@redhat.com>

	* tas.s: New file.
	* band.s: New file.
	* biand.s: New file.
	* allinsn.exp: Add tas, band, biand tests.
	* brabc.s: Add abs8 test.
	* bset.s: Add bset/ne, bclr/ne tests.

2003-05-23  Michael Snyder  <msnyder@redhat.com>

	* and.b.s: Add andc exr.
	* or.b.s: Add orc.exr.
	* xor.b.s: Add xor exr.

	* jmp.s: Fix 8-bit indirect test.  Add 7-bit vector test.

2003-05-22  Michael Snyder  <msnyder@redhat.com>

	* stack.s: Add rte/l and rts/l tests.
	* allinsn.exp: Add stack tests.

2003-05-21  Michael Snyder  <msnyder@redhat.com>

	* stack.s: New file: test stack operations.
	* stack.s: Add bsr, jsr tests.
	* stack.s: Add trapa, rte tests.

	* div.s: Corrections for size of dividend.

2003-05-20  Michael Snyder  <msnyder@redhat.com>

	* mul.s: Corrections for unsigned multiply.

	* div.s: New file, test div instructions.
	* allinsn.exp: Add div test.

2003-05-19  Michael Snyder  <msnyder@redhat.com>

	* mul.s: New file, test mul instructions.
	* allinsn.exp: Add mul test.
2003-06-19 02:40:12 +00:00
Michael Snyder a27a0651eb 2003-04-13 Michael Snyder <msnyder@redhat.com>
* sim/h8300: New directory.  Tests for Renesas h8/300 family.
2003-05-14 22:59:12 +00:00
Michael Snyder cd44367114 New ChangeLog 2003-05-14 21:08:29 +00:00
Michael Snyder 32ebdc4ce3 2003-05-14 Michael Snyder <msnyder@redhat.com>
* addb.s, addw.s, addl.s, addw.s, addx.s, andb.s, andw.s, andl.s,
        bfld.s, brabc.s, bra.s, bset.s, cmpb.s, cmpw.s, cmpl.s, daa.s,
        das.s, dec.s, extw.s, extl.s, inc.s, jmp.s, ldc.s, ldm.s, mac.s,
        mova.s, movb.s, movw.s, movl.s, movmd.s, movsd.s, neg.s, nop.s,
        not.s, orb.s, orw.s, orl.s, rotl.s, rotr.s, rotxl.s, rotxr.s,
        shal.s, shar.s, shll.s, shlr.s, stc.s,	subb.s, subw.s, subl.s,
        xorb.s,	xorw.s, xorl.s: New files.
        * allinsn.exp: New file.
2003-05-14 21:07:55 +00:00
Michael Snyder 105e800205 Remove for renaming with 8.3 dos-compatible names. 2003-05-14 20:58:21 +00:00
Michael Snyder ab12e95ba6 Remove, rename using dos-compatible 8.3 names. 2003-05-14 20:01:55 +00:00
Michael Snyder 5fe8b0dfe1 2003-04-13 Michael Snyder <msnyder@redhat.com>
* configure.in: Add testsuite to extra_subdirs.
	* configure: Regenerate.

2003-04-13  Michael Snyder  <msnyder@redhat.com>

	* sim/h8300: New directory.  Tests for Hitachi h8/300 family.
2003-04-13 16:44:57 +00:00
Nick Clifton 49634642a5 Add tests for ARM simulator. 2003-04-01 11:07:58 +00:00
Andrew Cagney c8cca39f98 Import current --enable-gdb-build-warnings. 2002-06-16 16:33:35 +00:00
Ben Elliston cbb38b47b3 * Contribute Hitachi SH5 simulator. 2002-02-01 11:44:32 +00:00
Ben Elliston f18ee7ef71 2001-07-31 Ben Elliston <bje@redhat.com>
* lib/sim-defs.exp (run_sim_test): Include a description such as
	"assembling" or "linking" that identifies the phase a test fails
	in, for easier analysis of failures.
2001-07-31 04:59:59 +00:00
Andrew Cagney bf1bef8f1c Regenerate using autoconf 2.13. 2001-07-18 06:20:29 +00:00
Dave Brolley 0ab7df8a89 2000-11-01 Dave Brolley <brolley@cygnus.com>
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
	"xerror" options do not use a list of machines. Clear options from
	previous test case. Use "$cpu_option"  to identify the machine to the
	assembler, if specified.
2000-11-01 15:40:35 +00:00
Andrew Cagney eb2d80b469 Change profiling so that it is enabled by default. Re-generate everything. 2000-05-24 04:39:50 +00:00
Andrew Cagney 27842f65f2 Add support for SIGILL (reserved-instruction-exception). 2000-04-18 07:55:35 +00:00
Frank Ch. Eigler 58fddbac5a * whitespace correction 2000-03-02 18:12:44 +00:00
Andrew Cagney baa7ae6f10 When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o''
option (operating environment); when a signal occurs, only continue
execution when operating environment mode.
Update d10v.
2000-02-22 08:52:21 +00:00