Commit Graph

352 Commits

Author SHA1 Message Date
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