Commit Graph

393 Commits

Author SHA1 Message Date
Corinna Vinschen b4f0ee661e * allinsn.exp: Add new tests.
* bandor.s: New file.
	* bandornot.s: New file.
	* bclr.s: New file.
	* bld.s: New file.
	* bldnot.s: New file.
	* bset.s: New file.
	* bst.s: New file.
	* bxor.s: New file.
	* clip.s: New file.
	* div.s: New file.
	* fail.s: New file, make sure fail works.
	* fsca.s: New file.
	* fsrra.s: New file.
	* mov.s: New file.
	* mulr.s: New file.
	* pass.s: New file, make sure pass works.
	* pushpop.s: New file.
	* resbank.s: New file.
	* testutils.inc (bf8k, bt8k, assertmem): New macros.
2004-09-08 09:20:29 +00:00
Alexandre Oliva e073c4747a sim/h8300/ChangeLog:
2003-07-23  Richard Sandiford  <rsandifo@redhat.com>
* compile.c (sim_resume): Make sure that dst.reg refers to the
right register byte in mova/sz.l @(dd,RnL),ERn.
2003-07-21  Richard Sandiford  <rsandifo@redhat.com>
* compile.c (sim_resume): Zero-extend immediate to muls, mulsu,
mulxs, divs and divxs.
sim/testsuite/sim/h8300/ChangeLog:
2003-07-22  Michael Snyder  <msnyder@redhat.com>
* mul.s: Don't try to use negative immediate (it's always
unsigned).
* div.s: Ditto.
2004-06-28 19:26:37 +00:00
Alexandre Oliva eaabf82046 2004-06-17 Alexandre Oliva <aoliva@redhat.com>
* band.s, biand.s: imm3_abs16 is not available on h8300h.
* bset.s: Likewise.  Ditto for rn_abs32.
2004-06-24 21:08:11 +00:00
Ben Elliston bc81a370c5 * lib/sim-defs.exp: Remove stray semicolons. 2004-05-12 03:34:26 +00:00
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
Jason Molenda c3f6f71df3 import gdb-2000-01-05 snapshot 2000-01-06 03:07:20 +00:00
Jason Molenda 4ce44c668d import gdb-1999-11-16 snapshot 1999-11-17 02:31:06 +00:00
Jason Molenda c2c6d25f0d import gdb-1999-09-21 1999-09-22 03:28:34 +00:00
Jason Molenda cff3e48be7 import gdb-1999-09-13 snapshot 1999-09-13 21:40:00 +00:00
Stan Shebs d4f3574e77 import gdb-1999-09-08 snapshot 1999-09-09 00:02:17 +00:00
Jason Molenda 104c1213b4 import gdb-1999-08-30 snapshot 1999-08-31 01:14:27 +00:00
Jason Molenda adf40b2e16 import gdb-1999-07-19 snapshot 1999-07-19 23:30:11 +00:00
Stan Shebs 7a292a7adf import gdb-19990422 snapshot 1999-04-26 18:34:20 +00:00
Stan Shebs c906108c21 Initial creation of sourceware repository 1999-04-16 01:35:26 +00:00
Stan Shebs 071ea11e85 Initial creation of sourceware repository 1999-04-16 01:34:07 +00:00
Jeff Law 579d9a9749 m32rx -> cygnus sanitization change. 1999-02-05 17:39:42 +00:00
Jason Molenda 984b70f0c8 1999-01-13 Jason Molenda (jsm@bugshack.cygnus.com)
* t-sadd.s: New file.
	* Makefile.in (TESTS): Add t-sadd.

PR 18438.
1999-01-14 00:46:01 +00:00
Dave Brolley e1ef54a703 Add new test cases to the list of files to be kept. 1999-01-12 16:27:49 +00:00
Doug Evans e5e95c7d80 keep fr30 1999-01-11 23:16:57 +00:00
Doug Evans b83dc7fc11 keep fr30-elf 1999-01-11 23:15:16 +00:00
Doug Evans 5759b13198 fix typo in comment 1999-01-11 23:14:23 +00:00
Frank Ch. Eigler 3372836e0d * Test for PR 18288 and its predecessors.
1999-01-11  Frank Ch. Eigler  <fche@cygnus.com>
	* do-flags.S: New test for parallel PSW update conflicts.
	* Makefile.in (TESTS): Run it.
1999-01-11 14:48:48 +00:00
Frank Ch. Eigler 0d320ebfc9 * Test for PR 18679.
1999-01-07  Frank Ch. Eigler  <fche@cygnus.com>
	* do-2wordops.S: New test for sign-extension by ld2h.
1999-01-07 08:55:49 +00:00
Frank Ch. Eigler ba50f16ab7 * sky test case updates for MTIR insn PR
1998-12-31  Frank Ch. Eigler  <fche@cygnus.com>
	* sim/sky/t-cop2.s: Adjust vmtir instruction tests for new syntax.
	* sim/sky/t-cop2.vuexpect: Matching changes.
1998-12-31 06:00:29 +00:00
Felix Lee d98ee4f5af * sim/sky/sky-defs.tcl: various changes for remote host testing.
* sim/sky/mload.exp: ditto.
        * sim/sky/sky_sce.exp: ditto.
        * sim/sky/sky_sce_accurate.exp: ditto.
        * sim/sky/sky_sce_fast.exp: ditto.
        * sim/sky/mload.exp: mark as unresolved on error.
1998-12-31 01:07:51 +00:00
Dave Brolley 27f6ea6995 New testcase. 1998-12-18 22:22:55 +00:00
Dave Brolley f45ee50714 Fri Dec 18 17:09:34 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/ldres.cgs: New testcase.
	* sim/fr30/stres.cgs: New testcase.
	* sim/fr30/copop.cgs: New testcase.
	* sim/fr30/copld.cgs: New testcase.
	* sim/fr30/copst.cgs: New testcase.
	* sim/fr30/copsv.cgs: New testcase.
	* sim/fr30/nop.cgs: New testcase.
	* sim/fr30/andccr.cgs: New testcase.
	* sim/fr30/orccr.cgs: New testcase.
	* sim/fr30/addsp.cgs: New testcase.
	* sim/fr30/stilm.cgs: New testcase.
	* sim/fr30/extsb.cgs: New testcase.
	* sim/fr30/extub.cgs: New testcase.
	* sim/fr30/extsh.cgs: New testcase.
	* sim/fr30/extuh.cgs: New testcase.
	* sim/fr30/enter.cgs: New testcase.
	* sim/fr30/leave.cgs: New testcase.
	* sim/fr30/xchb.cgs: New testcase.
	* sim/fr30/dmovb.cgs: New testcase.
	* sim/fr30/dmov.cgs: New testcase.
	* sim/fr30/dmovh.cgs: New testcase.
1998-12-18 22:15:44 +00:00
Dave Brolley de6fb7e775 Thu Dec 17 17:18:43 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (take_branch{_d},no_branch{_d}): New macros.
	* sim/fr30/ret.cgs: Add tests fir ret:d.
	* sim/fr30/inte.cgs: New testcase.
	* sim/fr30/reti.cgs: New testcase.
	* sim/fr30/bra.cgs: New testcase.
	* sim/fr30/bno.cgs: New testcase.
	* sim/fr30/beq.cgs: New testcase.
	* sim/fr30/bne.cgs: New testcase.
	* sim/fr30/bc.cgs: New testcase.
	* sim/fr30/bnc.cgs: New testcase.
	* sim/fr30/bn.cgs: New testcase.
	* sim/fr30/bp.cgs: New testcase.
	* sim/fr30/bv.cgs: New testcase.
	* sim/fr30/bnv.cgs: New testcase.
	* sim/fr30/blt.cgs: New testcase.
	* sim/fr30/bge.cgs: New testcase.
	* sim/fr30/ble.cgs: New testcase.
	* sim/fr30/bgt.cgs: New testcase.
	* sim/fr30/bls.cgs: New testcase.
	* sim/fr30/bhi.cgs: New testcase.
1998-12-17 22:25:05 +00:00
Doug Evans f7fb02ba10 More sce_testNN cases updated, pr 18402. 1998-12-17 22:21:31 +00:00
Doug Evans 331a809018 * sim/sky/sce_test58.vuasm: Update syntax of MTIR insn.
PR 18402
1998-12-17 21:29:06 +00:00
Frank Ch. Eigler 0615cacf10 * Sanitization fixes to retain new files. 1998-12-16 16:10:16 +00:00
Doug Evans b58ffc7b4e * sim/m32r/uread16.ms: New testcase.
* sim/m32r/uread32.ms: New testcase.
	* sim/m32r/uwrite16.ms: New testcase.
	* sim/m32r/uwrite32.ms: New testcase.
1998-12-14 23:31:28 +00:00
Doug Evans 71d0d0a788 * sim/fr30/hello.ms: Add trailing \n to expected output.
* sim/m32r/hello.ms: Ditto.
	* sim/m32r/hw-trap.ms: Ditto.
1998-12-14 23:28:41 +00:00
Doug Evans ebc5ff70a2 lib/sim-defs.exp (sim_run): Look for board_info sim,options. 1998-12-14 23:22:25 +00:00
Doug Evans d4dd077a94 * lib/sim-defs.exp (run_sim_test): New option xerror, for expected
errors.  Translate \n sequences in expected output to newline char.
	(slurp_options): Make parentheses optional.
1998-12-14 23:17:02 +00:00
Dave Brolley ecbc0c5533 1998-12-14 Dave Brolley <brolley@cygnus.com>
* sim/fr30/call.cgs: Test ret here as well.
	* sim/fr30/ld.cgs: Remove bogus comment.
	* sim/fr30/testutils.inc (save_rp,restore_rp): New macros.
	* sim/fr30/div.ms: New testcase.
	* sim/fr30/st.cgs: New testcase.
	* sim/fr30/sth.cgs: New testcase.
	* sim/fr30/stb.cgs: New testcase.
	* sim/fr30/mov.cgs: New testcase.
	* sim/fr30/jmp.cgs: New testcase.
	* sim/fr30/ret.cgs: New testcase.
	* sim/fr30/int.cgs: New testcase.
1998-12-14 20:06:17 +00:00
Dave Brolley d8d144a0ab Thu Dec 10 18:46:25 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/div0s.cgs: New testcase.
	* sim/fr30/div0u.cgs: New testcase.
	* sim/fr30/div1.cgs: New testcase.
	* sim/fr30/div2.cgs: New testcase.
	* sim/fr30/div3.cgs: New testcase.
	* sim/fr30/div4s.cgs: New testcase.
	* sim/fr30/testutils.inc (mvi_h_dr,set_dbits,test_dbits): New Macros.
1998-12-10 23:48:37 +00:00
Dave Brolley 18e45ca1b3 Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
	(set_s_system): Correct Mask.
	* sim/fr30/ld.cgs (ld): Move previously failing test back
	into place.
	* sim/fr30/ldm0.cgs: New testcase.
	* sim/fr30/ldm1.cgs: New testcase.
	* sim/fr30/stm0.cgs: New testcase.
	* sim/fr30/stm1.cgs: New testcase.
1998-12-08 18:22:44 +00:00
Dave Brolley 11a2d92065 Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/ldm0.cgs: New testcase.
	* sim/fr30/ldm1.cgs: New testcase.
	* sim/fr30/stm0.cgs: New testcase.
	* sim/fr30/stm1.cgs: New testcase.
1998-12-08 18:22:25 +00:00
Dave Brolley f628df5785 Tue Dec 8 13:16:53 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/testutils.inc (set_s_user): Correct Mask.
	(set_s_system): Correct Mask.
	* sim/fr30/ld.cgs (ld): Move previously failing test back
	into place.
1998-12-08 18:19:13 +00:00
Frank Ch. Eigler eeba69f17f * Test case for PR 18452.
1998-12-08  Frank Ch. Eigler  <fche@cygnus.com>
	* do-2wordops.S: New test for double-word load-like operations.
1998-12-08 08:53:58 +00:00
Frank Ch. Eigler beef5e777c * Test case for PR 18364, over from d30v branch.
1998-12-04  Frank Ch. Eigler  <fche@cygnus.com>
	* do-shifts.S: Update an older test case.
1998-12-04 04:17:08 +00:00
Dave Brolley 2cf8f53cc9 Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30/ld.cgs: Implement more loads.
	* sim/fr30/call.cgs: New testcase.
	* sim/fr30/testutils.inc (testr_h_dr): New macro.
	(set_s_user,set_s_system): New macros.
1998-12-03 22:38:13 +00:00
Dave Brolley 3bf9790595 Thu Dec 3 14:20:03 1998 Dave Brolley <brolley@cygnus.com>
* sim/fr30: New Directory.
1998-12-03 19:22:56 +00:00
Dave Brolley 7259fc9491 Mon Nov 23 17:02:47 1998 Dave Brolley <brolley@cygnus.com>
* Directory created.
1998-11-23 23:25:28 +00:00
Frank Ch. Eigler 74cc43debc * fix for minor sanitization lossage 1998-11-22 11:50:48 +00:00
Frank Ch. Eigler fca5abc13a * sanitize fix for do-shifts.S 1998-11-14 04:32:00 +00:00
Frank Ch. Eigler 78cec885d7 * test case for PR 18230, over from d30v branch
1998-11-12  Frank Ch. Eigler  <fche@cygnus.com>
        * br-djsr.S: New test for new R62-update timing.
1998-11-12 11:39:05 +00:00
Andrew Cagney 7d88afe63e div(-0) sets both I/SI and D/SD (PR16522) 1998-11-11 08:18:55 +00:00
Doug Evans ca40ecdcec remove cgen support from Makefile.in, moved to cgen dir 1998-11-07 02:47:22 +00:00
Frank Ch. Eigler edba5926c8 * Patch for PR 18196, brought over from d30v branch.
[d30v/ChangeLog]
1998-11-06  Frank Ch. Eigler  <fche@cygnus.com>
	* d30v-insns (do_mvfacc): Use loop to limit shift count to 63 .. 0.
[testsuite/d30v-elf/ChangeLog]
1998-11-06  Frank Ch. Eigler  <fche@cygnus.com>
	* do-shifts.S: Add test for large mvfacc shifts.
1998-11-06 08:45:57 +00:00
Frank Ch. Eigler 1995094e7f * r5900 sim test case fix
Thu Nov  5 10:37:40 EST 1998  Frank Ch. Eigler <fche@cygnus.com>

	* t-prot3w.s: Correct test of prot3w insn.
1998-11-05 15:42:02 +00:00
Andrew Cagney dd0f610960 PR 16522
Fix RSQRT.S instruction, add test case.
1998-11-05 09:42:05 +00:00
Frank Ch. Eigler 2fee67aeb8 * Updated sanitization
- remove memories of old sim/testsuite/sky directory
- add new dir sim/testsuite/mips64el-elf to "always-keep" list
1998-10-30 07:03:14 +00:00
Felix Lee baa791ae9b * lib/sim-defs.exp (sim_run): download target program to remote
host, if necessary.  for unix-driven win32 testing.
1998-10-30 00:39:44 +00:00
Frank Ch. Eigler 271f091db7 * Test cases for PR 18015.
Thu Oct 29 12:07:06 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* t-psrlvw.s (test_psrlvw): Add test for sign-extension in insn.
	* t-padsbh.s: New test.
	* t-mult1.s: New test.
	* Makefile.in: Run them.
1998-10-29 17:28:18 +00:00
Frank Ch. Eigler 0d51822e3b * monster sky->devo merge -- sky sim test suites 1998-10-29 12:59:50 +00:00
Frank Ch. Eigler afacff5074 * sky->devo merge; dummy test suite directory for mips64el-skyb-elf target. 1998-10-29 12:07:51 +00:00
Andrew Cagney b9a9cde40b Unify (well almost) --enable-build-warnings configuration option
across GDB and SIM directories.
1998-10-28 02:01:32 +00:00
Frank Ch. Eigler fe146542dd * Fix for testcase for checking PR 17362.
Tue Oct 27 15:20:16 EST 1998  Frank Ch. Eigler <fche@cygnus.com>

	* t-prot3w.s: Test changed spec of prot3w insn.
1998-10-27 21:49:15 +00:00
Doug Evans 3efbfbebdc * sim/sky/pr17191.s: New file.
* sim/sky/pr17191.brn: New file.
	* sim/sky/t-macros.inc: New file.
1998-09-09 21:50:10 +00:00
Doug Evans fe63ffef0a New testcases for PR 16547 (new instructions added). 1998-07-28 18:43:52 +00:00
Doug Evans fa653bc01e * Makefile.in (clean,mostlyclean): Change leading spaces to a tab. 1998-07-24 16:44:43 +00:00
Ian Lance Taylor 965f532708 remove d30v sanitization 1998-07-24 04:38:45 +00:00
Jillian Ye 27de7e18c4 Forward fit sky-branch updates to devo. 1998-07-17 18:43:30 +00:00
Jeff Holcomb 7034215bc6 fix sanitization; add trap.S 1998-07-14 23:00:31 +00:00
James Lemke 0a3ec14442 Add a test case for PR16213. 1998-07-02 20:20:32 +00:00
Doug Evans 8686807e30 * sim/m32r/hw-trap.ms: New testcase. 1998-07-01 22:57:07 +00:00
Doug Evans 9ae0ae657f * sim/sky/vureloc{.brn,-main.c,.dvpasm}: New files. 1998-07-01 21:37:10 +00:00
Frank Ch. Eigler dcf63a62ea * Bringing sky pke disasm from sky branch. 1998-06-25 11:35:43 +00:00
James Lemke 7e3459149e * sim/sky/t-int.c, sim/sky/t-int-handler.c:
Testcase errors: two in the former file, one in the latter.
1998-06-24 22:19:38 +00:00
James Lemke 2a7392656c Updated sim/sky/t-dma.c: It missed check-in earlier today. 1998-06-24 21:55:45 +00:00
James Lemke b8f4ecc8d6 Updated sim/sky/t-dma.{brn|dmaexpect} because a warning msg being checked
for, contains an address that differs between -mhard-float and -msoft-float.
1998-06-24 16:02:01 +00:00
Jillian Ye f4f78bcc9c Remove the directory, all sky sim testcases are now in sim/sky/ 1998-06-19 20:26:23 +00:00
release c773c22617 fix sanitization; add t-ldl.s t-ldr.s t-lwl.s t-lwr.s t-sdr.s t-sub.s t-swl.s t-swr.s 1998-06-18 06:52:03 +00:00
Jillian Ye 419997a6d4 *** empty log message *** 1998-06-16 22:39:28 +00:00
Jillian Ye d80e0c96ef *** empty log message *** 1998-06-16 19:47:31 +00:00
Frank Ch. Eigler a2d12e4971 * sky testsuite fixes
Tue Jun 16 09:03:37 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* t-cop2.s: Reorder instruction blocks to prevent "Out of bounds"
	messages during test execution.  Added dummy branch labels for BC2*
 	instructions.
	* t-cop2.brn: Use --sky-debug option instead of env var.
	* t-cop2.vuexpect: Updated for with new disassembly format.
	* sky_sce_fast.exp: Don't compare GIF outputs for
 	--float-type=fast.
	* sce_test{17,33,49}.dvpasm: Use ".DmaPackVif 1" option to
	exercise assembler / PKE.
	* rw-vureg.c: Cast memcpy operand to allay warning.
1998-06-16 16:53:49 +00:00
Doug Evans 1a1f786125 cangelog entries moved here from sim/sky/ChangeLog 1998-06-16 16:53:48 +00:00
Doug Evans b8f9289f19 * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
	* sim/sky/sky-defs.tcl (run_trc_test): Update to new way of
	environment variables to sim_run.
1998-06-12 01:08:57 +00:00
Doug Evans 2a62c9b87b * lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
1998-06-12 01:08:26 +00:00
Doug Evans bee3033d5a * sim/sky/sky-defs.tcl (run_brn_test): Fix handling of dvpasm_flags. 1998-06-11 22:52:40 +00:00
Doug Evans cfedac2213 * sim/sky/sky-defs.tcl (run_brn_test): Fix `options' arg to
sim_compile.
1998-06-11 22:50:51 +00:00
Doug Evans 42d9651198 (sim_compile): Tweak output text. 1998-06-11 22:49:25 +00:00
Doug Evans 21ba2ab4c6 * sim/sky/vu.h (VU0_MEM1_WINDOW_START): New macro.
(VU0_MEM1_SIZE): New macro.
1998-06-11 22:28:03 +00:00
Doug Evans 072ba14861 * sim/sky/vu01reg-main.c: New file.
* sim/sky/vu01reg.dvpasm: New file.
	* sim/sky/vu01reg.brn: New file.
1998-06-11 22:27:01 +00:00
Frank Ch. Eigler f337710aff * SKY hardware interrupt tests.
Wed Jun 10 15:56:10 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* sim/sky/t-int.c: New file to test sky hardware
	interrupts.
	* sim/sky/t-int-handler.s: New file for null interrupt
	handler.
	* sim/sky/t-int.brn: New file to build new test.
1998-06-10 17:56:19 +00:00
Doug Evans f3c7eb69df * sim/m32r/addx.cgs: Add another test.
* sim/m32r/jmp.cgs: Add another test.
	* sim/m32r/bra8-2.cgs: New testcase.
	* sim/m32r/hello.ms: Run on m32rx too.
1998-06-10 17:56:18 +00:00
Doug Evans 5724515d03 * sim/sky/dma.h: New file.
* sim/sky/vif.h: New file.
	* sim/sky/vu.h: New file.
	* sim/sky/sce_main.c: Move magic numbers to .h files.
1998-06-09 16:01:59 +00:00
James Lemke a77734aa1e sky.ld: Remove big endian stuff in OUTPUT_FORMAT 1998-06-09 15:55:49 +00:00
Doug Evans cacc867752 * sim/m32r/trap.cgs: Test trap 2. 1998-06-08 23:09:54 +00:00
Doug Evans 02c6148370 Test trap 2. 1998-06-08 23:08:49 +00:00
David Taylor e62b6fed2a add test to verify that changes made to the PSW in-parallel-with a trap
instruction end up in the bPSW and not in the PSW.  (PR 16026).
1998-06-08 19:18:21 +00:00
Frank Ch. Eigler 22134bdb43 * sky test suite fixes.
Mon Jun  1 18:54:22 1998  Frank Ch. Eigler  <fche@cygnus.com>
	* lib/sim-defs.exp (sim_run): Add possible environment variable
 	list to simulator run.
start-sanitize-sky
	* sim/sky/sky-defs.tcl: Use it.
	* sim/sky/t-pke2.vif1out: Update to match recent word-precise
 	tracking table change in sim/mips/sky-pke.c.
	* sim/sky/t-pke3.trc: Ditto.
	* sim/sky/t-pke4.vif0expect: Ditto.
end-sanitize-sky
Mon May 18 10:37:47 1998  Doug Evans  <devans@canuck.cygnus.com>
1998-06-01 16:09:52 +00:00
Andrew Cagney ce82378189 Fix mips SWL on 64bit ISA when 32 bit word appears in second half of
64 bit bus.
Test.
1998-05-25 05:48:34 +00:00
Andrew Cagney 26feb3a83d Fix sign extension on 32 bit add/sub instructions. 1998-05-21 09:32:07 +00:00
Jillian Ye e0459470a9 c_gen.pl: Added subroutine "print_comment"
and on/off option for "src line #"
1998-05-20 22:14:16 +00:00
Doug Evans 496b3694af * sim/sky/sky.ld: Delete file. 1998-05-18 17:38:48 +00:00
Doug Evans 882d99e4b6 * sim/m32r/allinsn.exp: Pass --m32rx-enable-special to gas.
* sim/m32r/misc.exp: Ditto.
1998-05-16 00:32:09 +00:00
Doug Evans 02a0ec918f Tweak last entry. 1998-05-15 00:49:37 +00:00
Doug Evans 90ef07f2e5 * config/default.exp (CC,SIM): Delete.
* sky-defs.tcl (LDSCRIPT,SIM): Delete.
	(run_trc_test): Use sim_compile, sim_run.  Only delete temp files
	if testcase passed.
	(run_brn_test): Ditto.
1998-05-15 00:49:24 +00:00