Files
binutils-gdb/opcodes
Patrick O'Neill 460e0e6e3e RISC-V: Avoid updating state until symbol is found
Currently objdump gets and updates the map state once per symbol. Updating the
state (partiularly riscv_parse_subset) is expensive and grows quadratically
since we iterate over all symbols. By deferring this until once we've found the
symbol of interest, we can reduce the time to dump a 4k insn file of .norvc and
.rvc insns from ~47 seconds to ~0.13 seconds.

opcodes/ChangeLog:

	* riscv-dis.c (riscv_get_map_state): Remove state updating logic
	and rename to riscv_is_valid_mapping_symbol.
	(riscv_update_map_state): Add state updating logic to seperate function.
	(riscv_search_mapping_symbol): Use new riscv_update_map_state.
	(riscv_data_length): Ditto.

Signed-off-by: Patrick O'Neill <patrick@rivosinc.com>
2023-11-30 15:52:30 +08:00
..
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2023-08-02 12:06:23 +01:00
2023-08-26 13:09:38 -06:00
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2023-11-15 12:53:04 +00:00
2023-08-03 21:20:33 +09:30
2023-08-16 14:22:54 +01:00
2023-08-02 12:06:23 +01:00
2023-10-31 16:24:41 +08:00
2023-11-24 09:55:51 +01:00
2023-11-09 12:54:23 +01:00
2023-10-31 16:24:41 +08:00
2023-11-24 09:55:51 +01:00
2023-08-24 12:36:25 +09:30
2023-08-16 14:22:54 +01:00
2023-11-15 12:53:04 +00:00
2023-03-16 17:30:19 +10:30
2023-03-16 17:30:19 +10:30