Use updated MSMASK, MSMASKED macros.
Fix sat problem in d30v.
This commit is contained in:
parent
75faf9aecb
commit
70c8abdb4c
3 changed files with 10 additions and 10 deletions
|
@ -1,3 +1,11 @@
|
||||||
|
Mon Sep 8 20:10:43 1997 Andrew Cagney <cagney@b1.cygnus.com>
|
||||||
|
|
||||||
|
* cpu.h (CPU_CIA): Define.
|
||||||
|
|
||||||
|
* sim-main.h (struct sim_state): Delete halt_ok, path_to_halt,
|
||||||
|
restart_ok, path_to_restart members.
|
||||||
|
(struct sim_state): Delete reason, siggnal members.
|
||||||
|
|
||||||
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
|
Thu Sep 4 17:21:23 1997 Doug Evans <dje@seba>
|
||||||
|
|
||||||
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
||||||
|
|
|
@ -151,6 +151,8 @@ struct _sim_cpu {
|
||||||
sim_cpu_base base;
|
sim_cpu_base base;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#define CPU_CIA(CPU) ((CPU)->cia)
|
||||||
|
|
||||||
#define GPR(N) ((CPU)->reg[N])
|
#define GPR(N) ((CPU)->reg[N])
|
||||||
#define GPR_SET(N, VAL) ((CPU)->reg[N] = (VAL))
|
#define GPR_SET(N, VAL) ((CPU)->reg[N] = (VAL))
|
||||||
#define ACC(N) ((CPU)->acc[N])
|
#define ACC(N) ((CPU)->acc[N])
|
||||||
|
|
|
@ -51,16 +51,6 @@ static const sim_cia null_cia = {0}; /* Dummy */
|
||||||
|
|
||||||
struct sim_state {
|
struct sim_state {
|
||||||
|
|
||||||
/* escape route for inner functions */
|
|
||||||
int halt_ok;
|
|
||||||
jmp_buf path_to_halt;
|
|
||||||
int restart_ok;
|
|
||||||
jmp_buf path_to_restart;
|
|
||||||
|
|
||||||
/* status from last halt */
|
|
||||||
enum sim_stop reason;
|
|
||||||
int siggnal;
|
|
||||||
|
|
||||||
/* the processors proper */
|
/* the processors proper */
|
||||||
sim_cpu cpu;
|
sim_cpu cpu;
|
||||||
#define STATE_CPU(sd, n) (&(sd)->cpu)
|
#define STATE_CPU(sd, n) (&(sd)->cpu)
|
||||||
|
|
Loading…
Reference in a new issue