binutils-gdb/sim/v850
Mike Frysinger 383861bd08 sim: invert sim_state storage
Currently all ports have to declare sim_state themselves in their
sim-main.h and then embed the common sim_state_base & sim_cpu in it.
This dynamic makes it impossible to share common object code among
multiple ports because the core data structure is always different.

Let's invert this relationship: common code declares sim_state, and
if the port actually needs state on a per-instance basis, it can use
the new arch_data field for it.  Most ports don't actually use it,
so they don't need to declare anything at all.

This is the first in a series of changes: it adds a define to select
between the old & new layouts, then converts all the ports that don't
need custom state over to the new layout.
2021-05-17 00:42:55 -04:00
..
aclocal.m4 sim: enable hardware support by default 2021-04-26 22:30:55 -04:00
ChangeLog sim: invert sim_state storage 2021-05-17 00:42:55 -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: switch to AC_CHECK_HEADERS_ONCE 2021-04-18 23:53:01 -04:00
interp.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
Makefile.in Remove INCLUDE variable from some sim Makefiles 2021-04-22 19:51:55 -06:00
sim-main.h sim: invert sim_state storage 2021-05-17 00:42:55 -04:00
simops.c sim: switch config.h usage to defs.h 2021-05-16 22:38:41 -04:00
simops.h
v850_sim.h
v850-dc
v850.igen