Fix typo, REP_S was refering to REP_E register.

Add test.
This commit is contained in:
Andrew Cagney 1997-12-08 23:44:11 +00:00
parent 5d187fd318
commit 38d0ccc27a
3 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Tue Dec 9 10:28:31 1997 Andrew Cagney <cagney@b1.cygnus.com>
* d10v_sim.h (RPT_S): Index cregs with RPT_S_CR not RPT_E_CR.
Mon Dec 8 12:58:33 1997 Andrew Cagney <cagney@b1.cygnus.com>
* simops.c (OP_5F00): From Martin Hunt <hunt@cygnus.com>. Change

View File

@ -146,7 +146,7 @@ enum
#define BPSW (0 + State.cregs[PSW_CR])
#define BPC (State.cregs[BPC_CR])
#define RPT_C (State.cregs[RPT_C_CR])
#define RPT_S (State.cregs[RPT_E_CR])
#define RPT_S (State.cregs[RPT_S_CR])
#define RPT_E (State.cregs[RPT_E_CR])
#define MOD_S (0 + State.cregs[MOD_S_CR])
#define MOD_E (0 + State.cregs[MOD_E_CR])

View File

@ -1,3 +1,7 @@
Tue Dec 9 10:41:44 1997 Andrew Cagney <cagney@b1.cygnus.com>
* t-rep.s: Check rep repeats correct number of times.
Fri Dec 5 10:11:18 1997 Andrew Cagney <cagney@b1.cygnus.com>
* t-mvtc.s: Check for stuck-zero in MOD_E, MOD_S.