Ian Carmichael
5faa69dac3
* Added missing ITOP instructions to test40,41,42,43.
1998-04-07 20:20:34 +00:00
Jillian Ye
f8c732a164
sce_main.c : Added "return 0;" to the end of main.
...
: ----------------------------------------------------------------------
1998-04-07 16:34:29 +00:00
Jillian Ye
5087a6057a
sce* : files added for the SCE (feb28) testsuite (modified).
...
sce*_testN.* corresponds to the original testN/test.*
*.vuasm : MICRO code
*.dvpasm : DMAtag and VIF code description
*.out_gif.dat : GIF output values for the corresponding testcase.
sce_main.c : driver file for the SCE testcases
sce_macro.s : SCE provided macro file needed by the SCE (feb28) testcases
refresh.s : Needed by sce_main.c
Makefile.in : Updated to run make and run the SCE testsuite.
: ----------------------------------------------------------------------
1998-04-07 16:23:41 +00:00
Jillian Ye
0eebcbd7ab
c_gen.pl: Added sub-routine perform_test64 to read and verify 64bit register.
1998-04-06 20:49:47 +00:00
Frank Ch. Eigler
d61cc1d4b1
* Test case patch for more functional GPUIF implementation
...
Sun Apr 5 12:34:56 1998 Frank Ch. Eigler <fche@cygnus.com>
* t-pke3.trc: Modified to confirm parts of GPUIF PATH3-masking
functionality.
1998-04-05 16:37:04 +00:00
Jillian Ye
f6f81e4a92
c_gen.pl: Added sub-routine process_data_reg64 to handle 64bit register
...
writes.
1998-04-03 19:59:11 +00:00
Frank Ch. Eigler
1d33e94615
* Updated test cases to confirm PKE behavior according to new SCEI specs.
1998-03-28 00:36:59 +00:00
Andrew Cagney
bd85beb90c
Clean up m32rx sanitization
1998-03-27 11:33:16 +00:00
James Lemke
fc609c6c69
Added DMAC unit test cases.
1998-03-20 22:51:39 +00:00
Frank Ch. Eigler
670ae6c936
* Added "t-pke4" test case that I forgot to check in when it was created.
1998-03-17 20:49:50 +00:00
Frank Ch. Eigler
08b284172b
* Added the "c_gen.pl" perl script into this directory, so the current
...
bunch of tests may be run on non-Toronto hosts.
1998-03-17 20:47:03 +00:00
Frank Ch. Eigler
fb9e431635
* Some changes in PKE tests, as per SCEI e-mail. t-pke1 still fails, but
...
will ignore this until next SCEI clarification.
* tsv308_1.trc: Fixed test case as per SCEI email.
* tsv316_1.trc: Ditto.
* tsv408_1.trc: Same.
* tsv416_1.trc: Again.
* t-pke3.trc: Added more padding to one VU test to widen timing race.
1998-03-17 00:07:19 +00:00
Frank Ch. Eigler
86a6094133
* Added "test0" test bucket from SCEI. Due to changes in the behavior specs
...
of PKE, some old test cases had to be modified. There are suspected bugs
in the SCEI test cases too, so "make check" does not run cleanly at present.
* tss*.trc: New files, generated by perl script from
SCEI "test0" bucket.
* tsv*.trc: New files, generated by perl script from SCEI "test0"
bucket. Note that tsv432_0 may obsolete t-pke1.
* Makefile.in (TESTS): Run new scripts.
(check): Bulldoze through failing test cases with "make -k" until
SCEI fixes some of them.
(.run.ok): Increased run-time limit since some test runs can take
several seconds.
1998-03-14 01:51:03 +00:00
Angela Marie Thomas
2b9cac47f5
massive sanitization fixes
1998-03-13 13:09:32 +00:00
Angela Marie Thomas
786786305f
new .Sanitize files
1998-03-13 11:03:37 +00:00
Frank Ch. Eigler
fd90908986
* Numerous changes & small bug fixes in PKE sim code and test suite.
...
for sim/testsuite/sky:
* t-pke4.run: Removed test, since it succeeds yet returns a
non-zero exit code.
* Makefile.in (RUNOPTS): Removed --memory-size flag, made
unnecessary by sim/mips/interp.c changes.
(TESTS): Removed t-pke4.ok target.
* t-pke3.trc: Classified tests with [---] indicators, to match
items up with entries documented in testplan.sgml. Added numerous
additional tests. They assert behavior that assumes certain
favorable answers to PKE question set #6 to SCEI.
* t-pke1.trc: Added some [---] indicators.
for sim/mips:
* sky-pke.c (pke_issue): Revamped interrupt & stall code. Assume
that ER1/ER0/PIS bits are only set if not masked by ERR bits.
Signal PIS only if unmasked.
(pke_code_error): Signal ER1 only if unmasked.
(pke_pc_fifo): Signal ER0 only if unmasked.
(pke_code_unpack): Round up num_operands for last operand's
partial-word. Factor out "R" bit handling for better coverage
analysis. Fill upper words of a quadword with zeroes for Vn_m
UNPACK with n < 4.
* sky-device.c (device_error): Made function accept varargs.
* sky-device.h (device_error): Changed declaration to match.
* interp.c (sim_open): Made 0x0000 area memory be an alias of
the K0/K1 segments. Sanitized code.
1998-03-06 22:46:40 +00:00
Frank Ch. Eigler
48c7100eba
* Added more PKE unit tests. Coverage now at 90%.
...
* t-pke3.trc: Added FLUSH* / PKEMS* tests.
1998-03-02 23:57:35 +00:00
Frank Ch. Eigler
8accf4df14
* Updated build to allow srcdir != objdir. Tests still do not use dejagnu.
1998-02-27 21:58:44 +00:00
Frank Ch. Eigler
574edea8b2
* Enlarged PKE testing mini bucket. Not yet converted to dejagnu.
1998-02-25 19:27:34 +00:00
Doug Evans
9495a61e55
* Makefile.in (RUNTEST): Fix path to runtest.
1998-02-25 19:02:58 +00:00
Andrew Cagney
37d49885d3
Test r5900 floating point instructions.
1998-02-25 15:04:11 +00:00
Frank Ch. Eigler
559eba20a8
* Added test bucket directory for sky tests, which may be run in conjunction
...
with the mips64r5900 tests. It's all meant to be sanitized out without
"keep-sky".
1998-02-25 01:08:47 +00:00
Nick Clifton
c801e51bb6
Fixed UNLOCK test.
1998-02-20 21:01:05 +00:00
Nick Clifton
ab361c3582
Fixed MVFC test.
1998-02-20 20:56:35 +00:00
Nick Clifton
78cbe8f6e4
Fix REMU test.
1998-02-20 20:52:30 +00:00
Nick Clifton
caa71f099d
More instruction tests.
1998-02-20 19:55:27 +00:00
Nick Clifton
f83a90c419
Last of the instruction tests.
1998-02-20 19:01:58 +00:00
Nick Clifton
e843e28b1a
More instruction tests.
1998-02-20 02:04:46 +00:00
Nick Clifton
c4448eec8c
Yet more tests of m32r instructions
1998-02-20 00:30:14 +00:00
Nick Clifton
67dfe6e82c
Even more instruction tests
1998-02-19 23:56:39 +00:00
Nick Clifton
dfe9df588d
Test even more instructions.
1998-02-19 23:18:45 +00:00
Nick Clifton
0a2f6d9304
test 32 bit BCL instruction.
1998-02-19 21:52:27 +00:00
Nick Clifton
4630c94949
Add more tests.
1998-02-19 19:43:18 +00:00
Nick Clifton
d03da19e36
Added a couple of tests.
1998-02-19 19:16:54 +00:00
Doug Evans
b1c9871889
Delete rac-d,rac-ds,rach-d,rach-ds, they're aliases.
1998-02-18 20:39:02 +00:00
Doug Evans
cf6145bc28
.Sanitize for devo/sim/testsuite/sim/m32r.
1998-02-18 20:37:27 +00:00
Doug Evans
761784f055
keep config, lib, sim.
1998-02-17 22:05:11 +00:00
Doug Evans
fdad7ba5a2
* config/default.exp: New file.
...
* lib/sim-defs.exp: New file.
* sim/m32r/*: m32r dejagnu simulator testsuite.
1998-02-17 21:58:11 +00:00
Doug Evans
6b47885968
keep m32r
1998-02-17 21:54:07 +00:00
Doug Evans
6b35d9dd89
m32r simulator testsuite
1998-02-17 21:52:53 +00:00
Doug Evans
ed063d525f
* Makefile.in (build_alias): Define.
...
(arch): Define.
(RUNTEST_FOR_TARGET): Delete.
(RUNTEST): Fix.
(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define.
(check): Depend on site.exp.
(site.exp): New target.
(cgen): New target.
* configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen.
(arch): Define from target_cpu.
* configure: Regenerate.
1998-02-17 20:54:50 +00:00
Andrew Cagney
b104806fd3
Test the RDT and DBT instructions.
1998-02-15 23:21:19 +00:00
Andrew Cagney
93c6a010dc
Test switching between SPI/SPU.
1998-02-13 05:19:02 +00:00
Doug Evans
d04b9852c0
Beginnings of m32r simulator testsuite.
1998-02-13 03:16:48 +00:00
Doug Evans
6dc224fb87
Keep m32r-elf.
1998-02-13 03:01:10 +00:00
Andrew Cagney
86b46474fd
Update tests to match recently modified ABI
1998-02-11 07:12:48 +00:00
Andrew Cagney
fcb12def35
New test - verify sdl insn.
1998-02-02 06:16:07 +00:00
Nick Clifton
61c550e0bd
Renamed v850eq -> v850ea
1997-12-12 19:12:11 +00:00
Nick Clifton
e317cee2ba
Parent directory renamed.
1997-12-12 02:01:21 +00:00
Felix Lee
06434f5f16
sanitization fixes. (files not mentioned, fences misspelled)
1997-12-11 04:18:47 +00:00
Andrew Cagney
c10ae9ad33
Test/fix d10v RTE instruction.
1997-12-09 05:46:48 +00:00
Andrew Cagney
38d0ccc27a
Fix typo, REP_S was refering to REP_E register.
...
Add test.
1997-12-08 23:44:11 +00:00
Andrew Cagney
bc6df23d14
For "trap", IBT and RIE exceptions, mask all PSW.SM. NB: Stepping
...
through an exception may not work correctly.
For GDB reads/writes to the control registers, ensure the cpu state is
updated correctly.
1997-12-08 03:22:58 +00:00
Andrew Cagney
7f48c9fe1d
Add DM (bit 4) to PSW. See 7-1 for more info.
...
Test.
1997-12-04 07:01:30 +00:00
Andrew Cagney
aa49c64f3e
* d10v_sim.h (SEXT56): Define.
...
* simops.c (OP_4201): For "rac", sign extend 56 bit value before
it is shifted.
* d10v_sim.h (MAX32, MIN32, MASK32, MASK40): Re-define using
SIGNED64 macro.
1997-12-03 08:03:33 +00:00
Andrew Cagney
9d9972a38a
For "sub", compute carry by comparing inputs.
...
Test.
1997-12-02 07:59:52 +00:00
Andrew Cagney
d294a657d5
For "msbu", subtract unsigned product from ACC,
...
Test.
1997-12-02 07:18:53 +00:00
Andrew Cagney
9420287ed2
For "mulxu", store unsigned product in ACC.
...
Test.
1997-12-02 06:37:09 +00:00
Andrew Cagney
e8b925f1fd
Test mv[tf]ac instructions.
1997-12-02 05:31:33 +00:00
Andrew Cagney
ae55807561
For MACU add unsigned multiply to accumulator.
...
Test.
1997-12-02 05:18:27 +00:00
Andrew Cagney
51b057f27b
For sub2w, compute carry according to negated addition rules.
...
Test.
1997-12-02 00:27:27 +00:00
Andrew Cagney
bd4ba9023a
Add file alu-n-tst.h
1997-11-25 21:59:39 +00:00
Andrew Cagney
9dcdd9ad73
Sanitization
1997-11-24 13:34:52 +00:00
Andrew Cagney
891703e5e8
Test SUBI omsn
1997-11-17 22:36:19 +00:00
Andrew Cagney
51624b4bf6
Test rachi instruction.
1997-11-10 08:27:15 +00:00
Andrew Cagney
afb1dbe851
Preliminary tests for sim-alu module.
1997-10-17 03:57:53 +00:00
Andrew Cagney
81b3b32cda
Sanitize additional files.
1997-10-15 00:05:28 +00:00
Andrew Cagney
5a9bddea84
Enable d10v simulator testsuite - two tests: Hello World and exit47.
1997-10-15 00:00:41 +00:00
Andrew Cagney
b3c77578dc
Rewrite simulator floating point module. Do not rely on host FP
...
implementation. Add preliminary support for different IEEE-754
rounding modes. Implement SQRT in software.
Update TiC80 simulator.
Add sim-fpu -> TestFloat interface for testing.
1997-10-03 00:03:35 +00:00
Andrew Cagney
63fe2cc799
Fix typo, WITH_TARGET_WORD_BITSIZE not WITH_TARGET_BITSIZE.
1997-10-02 23:37:30 +00:00
Andrew Cagney
e9b53280ba
Do not sanitize out sim/testsuite/common directory.
1997-09-29 00:24:08 +00:00
Jeff Law
bfebf1a52a
r5900 sanitization fixes.
1997-09-24 07:27:43 +00:00
Jeff Law
c118539e6b
mips64vr5900el-elf -> mips64r5900-elf.
1997-09-23 21:45:43 +00:00
Andrew Cagney
1398204eb0
Check v850eq popm[hl] instructions.
...
Check v850 NMI/RETI.
1997-09-23 08:40:55 +00:00
Andrew Cagney
f4822f1e6e
More tests.
...
Have sld check verify that the processor is a v850eq.
1997-09-19 06:40:11 +00:00
Felix Lee
88770c1c90
add missing files.
1997-09-18 04:56:22 +00:00
Felix Lee
e1625ed217
v850 files that weren't being removed if !keep-v850
1997-09-18 01:33:24 +00:00
Andrew Cagney
8bd89725a7
Test US bit of v850eq.
...
Loop program for testing interrupt delivery.
1997-09-17 13:46:29 +00:00
Andrew Cagney
fc07e279aa
More v850 simulator tests.
1997-09-17 05:27:56 +00:00
Andrew Cagney
1a6eb36b62
More v850 simulator tests.
1997-09-17 03:31:09 +00:00
Andrew Cagney
8603b0f0ff
Generic rules for building simple simulator test programs.
1997-09-16 23:57:57 +00:00
Andrew Cagney
6a0f95864a
More sim-bits testing.
1997-09-16 13:58:44 +00:00
Andrew Cagney
65a87fa9e1
v850eq simulator tests.
1997-09-16 07:01:57 +00:00
Andrew Cagney
a2ab5e65eb
Update to reflect change to sim/common/aclocal.m4 (allow sim/common
...
directory to specify its own unqiue config.h file).
1997-09-15 08:25:04 +00:00
Andrew Cagney
db511584c9
Add basic tests for d10v-elf simulator.
1997-09-09 02:22:07 +00:00
Andrew Cagney
75faf9aecb
Check MS* macros from sim/common.
1997-09-08 17:22:01 +00:00
Andrew Cagney
986cb931ca
Sanity check for tic80 simulator.
1997-09-08 17:19:21 +00:00
Andrew Cagney
cb6a7127d9
Basic tests for tic80 simulator.
1997-09-03 07:41:35 +00:00
Andrew Cagney
2bc779d782
Doc directory - README.
...
Make suffix of executables to be run on simulator .run
1997-09-03 07:36:09 +00:00
Andrew Cagney
52352d38d6
Test/fix pabsh, pabsw, psrlvw.
1997-09-01 09:47:03 +00:00
Andrew Cagney
f1bea83b2b
Add test for "mtsa"
1997-07-29 00:57:39 +00:00
Andrew Cagney
64f0e81628
More checks for pdivuw
1997-07-28 10:52:39 +00:00
Andrew Cagney
7cf0d79519
Configure r5900 testsuite sub-directory.
1997-07-15 20:46:15 +00:00
Andrew Cagney
39e9b3369a
Similistic configure/build scripts for tx59 simulator tests.
1997-07-15 20:35:26 +00:00
Andrew Cagney
b31dd8eea2
Generic tests for 5900.
1997-07-15 20:25:09 +00:00
Andrew Cagney
d9c61e8391
Standard simulator tests.
1997-07-14 16:53:04 +00:00
Andrew Cagney
ccc034af67
Tests for mips r5900 instructions
1997-07-11 21:36:11 +00:00
Andrew Cagney
3a8e858f24
Add test for dbt/rtd instructions
1997-06-27 08:33:16 +00:00
Andrew Cagney
3971886ac1
Add flakey floating-point support to the TI c80 simulator.
1997-05-05 12:46:25 +00:00
Andrew Cagney
7ec396d270
Get the BIT/MASK/ROT/... macros to work with any 32/64/MSB0/MSBn target.
1997-04-15 08:54:01 +00:00
Andrew Cagney
0391b23d7b
Handle BSD make and its liking for `set -e'
1997-03-26 01:50:19 +00:00
Andrew Cagney
00729fe3c5
Enable testsuite in sim directory.
1997-03-24 06:59:54 +00:00
Andrew Cagney
139d457d4e
Growing number of tests for d30v
1997-03-24 06:49:54 +00:00