Commit Graph

165 Commits

Author SHA1 Message Date
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
Doug Evans
1461afc634 * sim/sky/sky.exp: Add runtest_file_p support. Don't print
unsupported message if not sky.
	* sim/sky/sky_sce.exp: Likewise.
1998-05-14 20:20:59 +00:00
Doug Evans
41ab9a4b7e * lib/sim-defs.exp (sim_run): Fix handling of output redirection.
New arg prog_opts.  All callers updated.
1998-05-14 18:50:37 +00:00
Andrew Cagney
3e8c1f2e16 More test cases. 1998-05-14 08:15:05 +00:00
Doug Evans
801354e772 * lib/sim-defs.exp (sim_version): Simplify.
(sim_run): Implement.
	(run_sim_test): Use sim_run.
	(sim_compile): New proc.
1998-05-08 21:42:49 +00:00
Frank Ch. Eigler
5678ce88c4 * Added hooks to new dejagnu sky tests, removed old test from run.
Mon May  4 17:59:11 1998  Frank Ch. Eigler  <fche@cygnus.com>

start-sanitize-sky
	* configure.in (testdir): Don't use old sky test directory.
	* configure: Regenerated
	* sky/Makefile.in: swallow stderr on buggy tests
end-sanitize-sky
	* config/default.exp: Added C compiler settings.
1998-05-04 22:18:20 +00:00
Andrew Cagney
ad14e4d176 For multiply->add, loose underflow status, overflow when acc is
to-the-max, product can overflow result.
1998-04-30 10:56:49 +00:00
Frank Ch. Eigler
2325ac592f * Test case for modular arithmetic hardware erratum, c.f. PR 14887.
Wed Apr 29 12:49:00 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* ls-modaddr.S: New test for modular addressing.
	* Makefile.in: Run it.
1998-04-29 17:01:23 +00:00
Ron Unrau
56c0f25a5b * rw-vureg.{c,vuexpect}: test VU register read/writes through aliased memory 1998-04-29 14:48:42 +00:00
Jillian Ye
eb0948b006 *** empty log message *** 1998-04-29 00:50:26 +00:00
Jillian Ye
002b3c2f9d sce*test*_out_dif.dat : Change the last line of the files to be
"7f 00000000 00000000"
: ----------------------------------------------------------------------
1998-04-29 00:48:13 +00:00
Jillian Ye
f9c3840555 *** empty log message *** 1998-04-29 00:35:04 +00:00
Doug Evans
c24db1ca0f * Makefile.in (GCC_FOR_TARGET): Add options to find newlib and
libgloss.  Add comment that we should be using dejagnu.
1998-04-22 19:33:56 +00:00
Doug Evans
dca2d4f4dc * Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS. 1998-04-22 19:29:27 +00:00
Jillian Ye
18de2a0134 Fixing typos. 1998-04-21 22:16:12 +00:00
Jillian Ye
680fce2b97 Makefile.in : Use GIF_TRACE to generate the sce_test*_our_gif.out files. 1998-04-21 21:53:05 +00:00
Doug Evans
581fd0423c * sim/m32r/addx.cgs: Test (-1)+(-1)+1. 1998-04-21 17:54:03 +00:00
Doug Evans
aa4677044a * lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
try all machs.
1998-04-21 17:52:16 +00:00
Frank Ch. Eigler
f61321eaaf * Added one new R5900 COP2 test.
Mon Apr 20 18:36:50 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* t-cop2b.c (test01): Additional COP2 tests (QMFC2/QMTC2/LQ/SQ).
	Don't use $1 ($at) register in inline assembly.
1998-04-20 22:59:16 +00:00
Jillian Ye
54a0a7df08 t-pke2.trc t-pke2.vif1expect: Update the testcase to use the
correct registers permitted by gpus.
1998-04-20 21:56:01 +00:00
Doug Evans
d8d0c6a627 * Makefile.in (ULIMIT): New variable.
(sce%.ok): Use it.
	(.run.ok,.run.ko): Ditto.
1998-04-17 21:21:12 +00:00
Frank Ch. Eigler
aa4d43968a * New R5900 COP2 test case. 1998-04-17 19:04:41 +00:00
Jillian Ye
73181dfff8 Update the testcase to work with gpu2 lib. 1998-04-16 19:07:57 +00:00
Doug Evans
489564e28b * sim/m32r/maclh1.cgs: Fix testcase.
* sim/m32r/maclh1-2.cgs: New testcase.
1998-04-14 21:09:35 +00:00
Jillian Ye
c6ae153421 c_gen.pl: Change to use data type "int" instead of "long int" in
function perform_test_read_only.
1998-04-14 16:25:44 +00:00
Frank Ch. Eigler
1e83118b79 * COP2 testing changes.
[ChangeLog]

Mon Apr 13 16:51:00 1998  Frank Ch. Eigler  <fche@cygnus.com>

	* Makefile.in (*): Added .vuout/.vuexpect/.vuok test targets
	for confirming VU instruction trace.
	(t-cop2): Test COP2 sim using above facility.

	* t-cop2.vuexpect: New file.
1998-04-13 20:55:26 +00:00
Frank Ch. Eigler
e5cccb7177 * Added one PKE test after finding unexpected #### for a block of
code in gcov output.
1998-04-09 20:31:18 +00:00
Jillian Ye
ef23b3efd1 c_gen.pl : Added handling for data from GIF path1/2/3 FIFO. 1998-04-09 17:06:19 +00:00
Ian Carmichael
05c29245c9 * Fixed testcase. 1,$ s/ITOP 412/ITOP 421/ 1998-04-09 03:57:20 +00:00