binutils-gdb/sim/cris
Hans-Peter Nilsson e7e980c6fa sim cris: Unbreak --disable-sim-hardware builds
With --disable-sim-hardware (--enable-sim-hardware=no),
whose default was changed to --enable-sim-hardware(=yes) in
commit 34cf511206, building for cris-elf fails as
sim_hw_parse then doesn't exist.

A cris-elf simulator configured for --enable-sim-hardware
(or the default after to the mentioned commit) runs about
2.5x slower than one configured --disable-sim-hardware.
A further 2-5% performance regression was not investigated.

When sim_hw_parse doesn't exist, --cris-900000xx can't be
supported.  The best action here is to remove it completely,
so its absence can be identified through --help, but
avoiding littering the code with "#if WITH_HW".

sim/cris:
	* sim-if.c (cris_options) [WITH_HW]: Conditionalize
	support of option --cris-900000xx.
	(sim_open) [WITH_HW]: Conditionalize sim_hw_parse
	call.
2022-02-14 23:51:02 +01:00
..
arch.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
arch.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
ChangeLog-2021 sim: rename ChangeLog files to ChangeLog-2021 2021-08-17 20:27:36 -04:00
cpuall.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpuv10.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpuv10.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpuv32.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cpuv32.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
cris-sim.h sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
cris-tmpl.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
crisv10f.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
crisv32f.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
decodev10.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
decodev10.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
decodev32.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
decodev32.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
dv-cris_900000xx.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
dv-cris.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
dv-rv.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00
local.mk Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
Makefile.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
mloop.in Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
modelv10.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
modelv32.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
rvdummy.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
semcrisv10f-switch.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
semcrisv32f-switch.c Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
sim-if.c sim cris: Unbreak --disable-sim-hardware builds 2022-02-14 23:51:02 +01:00
sim-main.h Automatic Copyright Year update after running gdb/copyright.py 2022-01-01 19:13:23 +04:00
traps.c sim: cris: migrate to standard uintXX_t types 2022-01-06 01:17:38 -05:00