mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
0b517b9cf2
(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. |
||
---|---|---|
.. | ||
.Sanitize | ||
acconfig.h | ||
aclocal.m4 | ||
callback.c | ||
cgen-mem.h | ||
cgen-run.c | ||
cgen-scache.c | ||
cgen-scache.h | ||
cgen-sim.h | ||
cgen-trace.c | ||
cgen-types.h | ||
cgen-utils.c | ||
cgen.sh | ||
ChangeLog | ||
config.in | ||
configure | ||
configure.in | ||
dv-core.c | ||
dv-glue.c | ||
dv-pal.c | ||
dv-sockser.c | ||
dv-sockser.h | ||
gdbinit.in | ||
genmloop.sh | ||
gennltvals.sh | ||
gentmap.c | ||
gentvals.sh | ||
hw-alloc.c | ||
hw-alloc.h | ||
hw-base.c | ||
hw-base.h | ||
hw-device.c | ||
hw-device.h | ||
hw-events.c | ||
hw-events.h | ||
hw-handles.c | ||
hw-handles.h | ||
hw-instances.c | ||
hw-instances.h | ||
hw-main.h | ||
hw-ports.c | ||
hw-ports.h | ||
hw-properties.c | ||
hw-tree.c | ||
hw-tree.h | ||
Make-common.in | ||
Makefile.in | ||
nltvals.def | ||
nrun.c | ||
run.1 | ||
run.c | ||
sim-abort.c | ||
sim-alu.h | ||
sim-assert.h | ||
sim-base.h | ||
sim-basics.h | ||
sim-bits.c | ||
sim-bits.h | ||
sim-break.c | ||
sim-break.h | ||
sim-config.c | ||
sim-config.h | ||
sim-core.c | ||
sim-core.h | ||
sim-cpu.c | ||
sim-cpu.h | ||
sim-endian.c | ||
sim-endian.h | ||
sim-engine.c | ||
sim-engine.h | ||
sim-events.c | ||
sim-events.h | ||
sim-fpu.c | ||
sim-fpu.h | ||
sim-hload.c | ||
sim-hrw.c | ||
sim-hw.c | ||
sim-hw.h | ||
sim-info.c | ||
sim-inline.c | ||
sim-inline.h | ||
sim-io.c | ||
sim-io.h | ||
sim-load.c | ||
sim-memopt.c | ||
sim-memopt.h | ||
sim-module.c | ||
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 | ||
sim-resume.c | ||
sim-run.c | ||
sim-signal.c | ||
sim-signal.h | ||
sim-stop.c | ||
sim-trace.c | ||
sim-trace.h | ||
sim-types.h | ||
sim-utils.c | ||
sim-utils.h | ||
sim-watch.c | ||
sim-watch.h | ||
syscall.c | ||
tconfig.in |