binutils-gdb/sim/lm32
Mike Frysinger 906192d785 sim: cgen: inline cgen_init logic
This function has done only one thing: post-process command line
settings to see if profiling or tracing has been enabled, and if
so, set the run_fast_p flag in the simulator state.  That flag is
only used in one place: to select the fast or slow cgen engine.
By inlining the run_fast_p logic to the one place it's used, we
can delete a good amount of logic specific to cgen ports: both
the call to cgen_init and the conditional simulator state.  This
in turn allows us to have a single simulator state struct across
all ports so we can share objects more between them, and makes
the sim_open calls look more consistent.
2021-06-09 18:21:28 -04:00
..
aclocal.m4 sim: regen against sim/m4/ 2021-04-21 20:40:51 -04:00
arch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
arch.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
ChangeLog sim: cgen: inline cgen_init logic 2021-06-09 18:21:28 -04:00
config.in sim: riscv: move __int128 check to configure 2021-05-16 00:04:17 -04:00
configure sim: riscv: move __int128 check to configure 2021-05-16 00:04:17 -04:00
configure.ac sim: simplify hardware m4 macro 2021-04-23 21:58:21 -04:00
cpu.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpu.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
cpuall.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
decode.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
dv-lm32cpu.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-lm32timer.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
dv-lm32uart.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
lm32-sim.h Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
lm32.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
Makefile.in sim: nltvals: unify common syscall tables 2021-04-26 22:39:55 -04:00
mloop.in Add missing stdlib.h includes to sim 2021-05-04 13:19:33 -06:00
model.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sem-switch.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sem.c Update copyright year range in all GDB files 2021-01-01 12:12:21 +04:00
sim-if.c sim: cgen: inline cgen_init logic 2021-06-09 18:21:28 -04:00
sim-main.h sim: cgen: invert sim_state storage for cgen ports 2021-05-17 00:46:32 -04:00
traps.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
user.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00