binutils-gdb/sim/common
Doug Evans 0b517b9cf2 * Make-common.in (sim-reg.o): New rule.
(cgen-run.o): New rule.
	* cgen-ops.h: Delete many BI macros.  Change all UBI -> BI.
	* cgen-run.c (prime_cpu): New function.
	* cgen-scache.c: Add pseudo-basic-block (pbb) scaching support.
	(scache_option_handler, case OPTION_PROFILE_SCACHE): Handle explicitly
	mentioned cpu.
	(scache_flush_cpu,scache_lookup,scache_lookup_or_alloc): New fns.
	* cgen-sim.h (CGEN_INSN_VIRTUAL_TYPE): New enum.
	(CGEN_INSN_VIRTUAL_P): New macro.
	(SEM_PC): New typedef.
	(SEMANTIC_FN): Change type of result to SEM_PC.
	(SEM_SET_FULL_CODE,SEM_SET_FAST_CODE,SEM_SET_CODE): New macros.
	(IDESC_CTI_P,IDESC_SKIP_P): New macros.
	(SCACHE_MAP): New typedef.
	(CPU_SCACHE): Add pbb support.
	(scace_lookup,scache_lookup_or_alloc,scache_flush_cpu): Declare.
	(SEM_BRANCH_INIT_EXTRACT,SEM_BRANCH_INIT,SEM_BRANCH_FINI): New macros.
	(CGEN_CPU): New members running_p,insn_count,{fast,full}_engine_fn,
	max_slice_insns.
	(INSN_NAME): Delete.
	(cgen_insn_name): Declare.
	(sim_engine_invalid_insn): Renamed from sim_engine_illegal_insn.
	* cgen-trace.c (trace_buf): Shrink from 1024 to 256 bytes.
	(first_insn_p): Make static.
	(trace_insn): Handle virtual insns specially.
	(cgen_trace_printf): Ensure we haven't overflowed the buffer.
	* cgen-types.h (UBI): Delete.
	(MODE_TYPE): New enum.
	(HOSTINT,HOSTUINT,HOSTPTR): Delete.
	* cgen-utils.c (mode_names): Delete UBI.  Add INT,UINT,PTR.
	(cgen_virtual_opcode_table): New global.
	(cgen_insn_name): New function.
	(sim_disassemble_insn): Ignore virtual insns.
	* genmloop.sh: Delete top level loop generation.  Add pbb support.
	* sim-cpu.h (CPU_INSN_NAME_FN): New typedef.
	(sim_cpu_base): New members max_insns,insn_name,model_data.
	(CPU_PC_GET,CPU_PC_SET): New macros.
	(sim_pc_get,sim_pc_set): Declare.
	* sim-model.c (model_set): Call model init fn.
	* sim-model.h (MODEL_FN): New typedef.
	(INSN_TIMING): New member model_fn.
	(MODEL): New members num,init.
	* sim-profile.c (sim_profile_print_bar): Renamed from print_bar.
	All callers updated.
	(profile_insn_init): New fn.
	(profile_print_insn): Update, INSN_NAME -> CPU_INSN_NAME.
	Exit early if insn profiling not supported.
	(profile_print_memory): Update, MAX_MODES -> MODE_TARGET_MAX.
	(profile_install): Record profile_insn_init as init fn.
	(profile_uninstall): Free PROFILE_INSN_COUNT if non-null.
	* sim-profile.h: Update, MAX_MODES -> MODE_TARGET_MAX.
	(PROFILE_DATA): Delete member exec_time.
	Change insn_count to pointer to array, rather than the array.
	(sim_profile_print_bar): Declare.
1998-10-09 22:43:05 +00:00
..
.Sanitize cgen-run.c: new mainloop for cgen 1998-10-07 23:55:42 +00:00
acconfig.h * configure: Regenerated to track ../common/aclocal.m4 changes. 1998-04-26 21:39:16 +00:00
aclocal.m4 * configure: Regenerated to track ../common/aclocal.m4 changes. 1998-04-24 20:51:56 +00:00
callback.c
cgen-mem.h
cgen-run.c cgen-run.c: new mainloop for cgen 1998-10-07 23:55:42 +00:00
cgen-scache.c
cgen-scache.h
cgen-sim.h * Make-common.in (SCHEME,SCHEMEFLAGS): Delete. 1998-07-01 23:47:50 +00:00
cgen-trace.c * cgen-trace.c (trace_insn_init): New arg first_p. 1998-05-15 23:31:22 +00:00
cgen-types.h
cgen-utils.c
cgen.sh
ChangeLog * Build fixes for tx39 sim hosted on strange Linux boxen. 1998-09-01 13:19:57 +00:00
config.in
configure * configure: Regenerated to track ../common/aclocal.m4 changes. 1998-04-24 20:51:56 +00:00
configure.in
dv-core.c
dv-glue.c
dv-pal.c Split out hw-event code. Clean up interface. Update all users. 1998-05-25 07:37:30 +00:00
dv-sockser.c * eCos tx3904sio sim - devo part 1/2 1998-08-25 13:58:35 +00:00
dv-sockser.h
gdbinit.in
genmloop.sh * Make-common.in (SCHEME,SCHEMEFLAGS): Delete. 1998-07-01 23:47:50 +00:00
gennltvals.sh * gennltvals.def (m32r): Use common syscall.h now. 1998-06-13 01:39:44 +00:00
gentmap.c
gentvals.sh
hw-alloc.c Add files hw-alloc.[hc] (mising from last CI) 1998-05-25 08:50:22 +00:00
hw-alloc.h Add files hw-alloc.[hc] (mising from last CI) 1998-05-25 08:50:22 +00:00
hw-base.c Make hw-main.h the main header file for H/W devices. Like sim-main.h 1998-05-25 11:06:29 +00:00
hw-base.h Make hw-main.h the main header file for H/W devices. Like sim-main.h 1998-05-25 11:06:29 +00:00
hw-device.c Add files hw-alloc.[hc] (mising from last CI) 1998-05-25 08:50:22 +00:00
hw-device.h Make hw-main.h the main header file for H/W devices. Like sim-main.h 1998-05-25 11:06:29 +00:00
hw-events.c Split out hw-event code. Clean up interface. Update all users. 1998-05-25 07:37:30 +00:00
hw-events.h Split out hw-event code. Clean up interface. Update all users. 1998-05-25 07:37:30 +00:00
hw-handles.c Pull in preliminary versions of hw instances and handles from ../ppc 1998-05-25 11:33:28 +00:00
hw-handles.h Pull in preliminary versions of hw instances and handles from ../ppc 1998-05-25 11:33:28 +00:00
hw-instances.c Pull in preliminary versions of hw instances and handles from ../ppc 1998-05-25 11:33:28 +00:00
hw-instances.h Pull in preliminary versions of hw instances and handles from ../ppc 1998-05-25 11:33:28 +00:00
hw-main.h Make hw-main.h the main header file for H/W devices. Like sim-main.h 1998-05-25 11:06:29 +00:00
hw-ports.c Split out hw-event code. Clean up interface. Update all users. 1998-05-25 07:37:30 +00:00
hw-ports.h Split out hw-event code. Clean up interface. Update all users. 1998-05-25 07:37:30 +00:00
hw-properties.c Initialize/destory hw-properties within the hw-device. 1998-05-25 08:29:05 +00:00
hw-tree.c
hw-tree.h
Make-common.in Memory corruption problems - hw-event list wasn't correct 1998-06-04 06:33:02 +00:00
Makefile.in
nltvals.def * gennltvals.def (m32r): Use common syscall.h now. 1998-06-13 01:39:44 +00:00
nrun.c
run.1
run.c
sim-abort.c
sim-alu.h
sim-assert.h
sim-base.h sim-base.h: Add configure option --with-sim-funit. 1998-04-21 21:19:45 +00:00
sim-basics.h
sim-bits.c
sim-bits.h * sim-bits.h (EXTEND24): Define. 1998-07-06 21:55:37 +00:00
sim-break.c
sim-break.h
sim-config.c
sim-config.h
sim-core.c * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef. 1998-06-11 07:55:29 +00:00
sim-core.h * sim-core.h (SIM_CORE_SIGNAL_FN): New typedef. 1998-06-11 07:55:29 +00:00
sim-cpu.c * Make-common (sim_main_headers): Sort. 1998-05-07 02:08:05 +00:00
sim-cpu.h * Make-common.in (sim-reg.o): New rule. 1998-10-09 22:43:05 +00:00
sim-endian.c
sim-endian.h
sim-engine.c
sim-engine.h
sim-events.c
sim-events.h
sim-fpu.c o CVT.S.W and CVT.W.S were reversed 1998-04-16 07:49:58 +00:00
sim-fpu.h Cleanup INLINE support for simulators using common framework. 1998-04-04 12:33:11 +00:00
sim-hload.c
sim-hrw.c
sim-hw.c Split out hw-event code. Clean up interface. Update all users. 1998-05-25 07:37:30 +00:00
sim-hw.h Do top level sim-hw module for device tree. 1998-03-27 11:42:16 +00:00
sim-info.c
sim-inline.c
sim-inline.h
sim-io.c Copy polling code in PSIM simulator into common directory. Will 1998-05-06 03:32:12 +00:00
sim-io.h
sim-load.c
sim-memopt.c
sim-memopt.h
sim-module.c * sim-hw.c: Include ctype.h. 1998-05-21 08:17:31 +00:00
sim-module.h
sim-n-bits.h
sim-n-core.h
sim-n-endian.h
sim-options.c
sim-options.h
sim-profile.c
sim-profile.h
sim-reason.c
sim-reg.c cgen-run.c: new mainloop for cgen 1998-10-07 23:55:42 +00:00
sim-resume.c
sim-run.c
sim-signal.c
sim-signal.h
sim-stop.c
sim-trace.c
sim-trace.h
sim-types.h Drop leading `_' from macros. 1998-04-24 09:59:22 +00:00
sim-utils.c
sim-utils.h
sim-watch.c
sim-watch.h
syscall.c
tconfig.in