old-cross-binutils/sim/m32r
Doug Evans bb51b65d68 Add pseudo-basic-block execution support.
* Makefile.in (SIM_OBJS): Add sim-reg.o, cgen-run.o, sim-stop.o.
	(SIM_EXTRA_DEPS): Add include/opcode/cgen.h.
	(INCLUDE_DEPS): Delete cpu-sim.h, include/opcode/cgen.h.
	(mloop.c): Build pseudo-basic-block version.  Depend on stamp-cpu.
	(stamp-decode): Delete, build decode files with other cpu files.
	* arch.c,arch.h,cpuall.h: Regenerate.
	* cpu.c,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate.
	* sem-switch.c,sem.c: Regenerate.
	* m32r-sim.h (M32R_MISC_PROFILE): New members load_regs,
	load_regs_pending.
	* m32r.c (m32rbf_fetch_register): Renamed from m32rb_fetch_register.
	(m32rbf_store_register,m32rbf_h_cr_get,m32rbf_h_cr_set,
	m32rbf_h_psw_get,m32rbf_h_psw_set,m32rbf_h_accum_get,
	m32rbf_h_accum_set): Likewise.
	(m32r_model_{init,update}_insn_cycles): Delete.
	(m32rbf_model_insn_{before,after}): New fns.
	(m32r_model_record_cti,m32r_model_record_cycles): Delete.
	(m32rb_model_mark_get_h_gr,m32rb_model_mark_set_h_gr): Delete.
	(m32rb_model_mark_busy_reg,m32rb_model_mark_unbusy_reg): Delete.
	(check_load_stall): New fn.
	(m32rbf_model_m32r_d_u_{exec,cmp,mac,cti,load,store}): New fns.
	(m32rbf_model_test_u_exec): New fn.
	* mloop.in: Rewrite, use pbb support.
	* sim-if.c (sim_stop,sim_sync_stop,sim_resume): Delete.
	(sim_fetch_register,sim_store_register): Delete.
	* sim-main.h (CIA_GET,CIA_SET): Fix.
	(SIM_ENGINE_HALT_HOOK,SIM_ENGINE_RESTART_HOOK): Delete.
	* tconfig.in (WITH_SCACHE_PBB): Define.
	(WITH_SCACHE_PBB_M32RBF): Define.
	* traps.c (sim_engine_invalid_insn): Renamed from ..._illegal_....
	(m32r_trap): Pass pc to sim_engine_halt.
	* configure.in (SIM_AC_OPTION_SCACHE): Change 1024 to 16384.
	* configure: Regenerate.
start-sanitize-m32rx
	* Makefile.in (M32RX_OBJS): Delete semx.o, add extract.o.
	(mloopx.c): Build pseudo-basic-block version.  Depend on stamp-xcpu.
	(semx.o): Delete.
	(extractx.o): Add.
	(stamp-xdecode): Delete, build decode files with other cpu files.
	* cpux.c,cpux.h,decodex.c,decodex.h,modelx.c: Regenerate.
	* readx.c: Delete.
	* semx.c: Delete.
	* extractx.c: New file.
	* semx-switch.c: New file.
	* m32r-sim.h (BRANCH_NEW_PC): Delete.
	(SEM_SKIP_INSN): New macro.
	* m32rx.c (m32rxf_fetch_register): Renamed from m32rx_fetch_register.
	(m32rxf_store_register,m32rxf_h_cr_get,m32rxf_h_cr_set,
	m32rxf_h_psw_get,m32rxf_h_psw_set,m32rxf_h_accum_get,
	m32rxf_h_accum_set,m32rxf_h_accums_get,m32rxf_h_accums_set): Likewise.
	(m32rxf_model_insn_{before,after}): New fns.
	(m32rx_model_mark_get_h_gr,m32rx_model_mark_set_h_gr): Delete.
	(m32rx_model_mark_busy_reg,m32rx_model_mark_unbusy_reg): Delete.
	(check_load_stall): New fn.
	(m32rxf_model_m32rx_u_{exec,cmp,mac,cti,load,store}): New fns.
	* mloopx.in: Rewrite, use pbb support.
	* tconfig.in (WITH_SCACHE_PBB_M32RXF): Define.
	(WITH_SEM_SWITCH_FULL): Change from 0 to 1.
end-sanitize-m32rx
1998-10-09 23:43:28 +00:00
..
.Sanitize Add pseudo-basic-block execution support. 1998-10-09 23:43:28 +00:00
acconfig.h * configure: Regenerated to track ../common/aclocal.m4 changes. 1998-04-26 22:03:55 +00:00
arch.c Regenerate. 1998-01-20 10:38:29 +00:00
arch.h * Makefile.in (m32r.o): Depend on cpu.h 1998-02-05 21:01:06 +00:00
ChangeLog Add pseudo-basic-block execution support. 1998-10-09 23:43:28 +00:00
configure Tue Apr 28 18:28:58 1998 Geoffrey Noer <noer@cygnus.com> 1998-04-29 01:44:23 +00:00
configure.in Add pseudo-basic-block execution support. 1998-10-09 23:43:28 +00:00
cpu.h * m32r.c (do_lock,do_unlock): Delete. 1998-02-20 00:45:47 +00:00
cpuall.h * arch.c, arch.h, cpuall.h: New files. 1998-01-20 06:17:32 +00:00
cpux.h * m32r-sim.h (m32r_trap): Update prototype. 1998-09-09 22:34:09 +00:00
decode.c * m32r.c (do_lock,do_unlock): Delete. 1998-02-20 00:45:47 +00:00
decode.h * m32r.c (do_lock,do_unlock): Delete. 1998-02-20 00:45:47 +00:00
decodex.c * sim-main.h: #include symcat.h. 1998-02-23 21:36:15 +00:00
decodex.h * sim-main.h: #include symcat.h. 1998-02-23 21:36:15 +00:00
devices.c * m32r-sim.h (GET_H_SM): New macro. 1998-09-15 22:16:08 +00:00
extract.c Add pseudo-basic-block execution support. 1998-10-09 23:43:28 +00:00
extractx.c Add pseudo-basic-block execution support. 1998-10-09 23:43:28 +00:00
m32r-sim.h * m32r-sim.h (m32r_trap): Update prototype. 1998-09-09 22:34:09 +00:00
m32r.c * m32r.c (do_lock,do_unlock): Delete. 1998-02-20 00:45:47 +00:00
m32rx.c * Makefile.in (m32r.o): Depend on cpu.h 1998-02-05 21:01:06 +00:00
Makefile.in Add pseudo-basic-block execution support. 1998-10-09 23:43:28 +00:00
mloop.in * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall, 1998-06-13 14:56:28 +00:00
mloopx.in * m32r-sim.h (M32R_MISC_PROFILE): New members insn_cycles, cti_stall, 1998-06-13 14:56:28 +00:00
model.c * cpu.c,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment 1998-04-27 22:42:22 +00:00
modelx.c * cpu.c,model.c,sem-switch.c,sem.c: Regenerated. Mostly comment 1998-04-27 22:42:22 +00:00
README Getting there ... 1996-12-17 21:08:20 +00:00
sem-switch.c * m32r-sim.h (m32r_trap): Update prototype. 1998-09-09 22:34:09 +00:00
sem.c * m32r-sim.h (m32r_trap): Update prototype. 1998-09-09 22:34:09 +00:00
sim-if.c * Makefile.in (INCLUDE_DEPS): Add include/opcode/cgen.h. 1998-08-03 19:58:36 +00:00
sim-main.h * traps.c: New file. Trap support moved here from sim-if.c. 1998-06-11 01:05:21 +00:00
tconfig.in * arch.c, arch.h, cpuall.h: New files. 1998-01-20 06:17:32 +00:00
traps.c * m32r-sim.h (m32r_trap): Update prototype. 1998-09-09 22:34:09 +00:00

This is the m32r simulator directory.
It is still work-in-progress.