qemu-e2k/target
Philipp Tomsich 3b91323e33 target/riscv: riscv_tr_init_disas_context: copy pointer-to-cfg into cfg_ptr
As the number of extensions is growing, copying them individiually
into the DisasContext will scale less and less... instead we populate
a pointer to the RISCVCPUConfig structure in the DisasContext.

This adds an extra indirection when checking for the availability of
an extension (compared to copying the fields into DisasContext).
While not a performance problem today, we can always (shallow) copy
the entire structure into the DisasContext (instead of putting a
pointer to it) if this is ever deemed necessary.

Signed-off-by: Philipp Tomsich <philipp.tomsich@vrull.eu>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Suggested-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20220202005249.3566542-3-philipp.tomsich@vrull.eu>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-02-16 12:24:18 +10:00
..
alpha exec/memop: Adding signedness to quad definitions 2022-01-08 15:46:10 +10:00
arm arm: force flag recalculation when messing with DAIF 2022-02-08 10:56:28 +00:00
avr
cris exec/memop: Adding signedness to quad definitions 2022-01-08 15:46:10 +10:00
hexagon
hppa hppa: Add support for an emulated TOC/NMI button. 2022-02-02 18:46:42 +01:00
i386 target/i386: use CPU_LOG_INT for IRQ servicing 2022-02-09 12:08:42 +00:00
m68k target/m68k: don't word align SP in stack frame if M68K_FEATURE_UNALIGNED_DATA feature enabled 2022-01-09 12:05:02 +01:00
microblaze
mips target/mips: Extract trap code into env->error_code 2022-01-11 18:40:44 +01:00
nios2
openrisc Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
ppc target/ppc: Change VSX instructions behavior to fill with zeros 2022-02-09 09:08:56 +01:00
riscv target/riscv: riscv_tr_init_disas_context: copy pointer-to-cfg into cfg_ptr 2022-02-16 12:24:18 +10:00
rx
s390x s390x: sigp: Reorder the SIGP STOP code 2022-01-18 15:00:57 +01:00
sh4 exec/memop: Adding signedness to quad definitions 2022-01-08 15:46:10 +10:00
sparc Remove unnecessary minimum_version_id_old fields 2022-01-28 15:38:23 +01:00
tricore exec/memop: Adding signedness to quad definitions 2022-01-08 15:46:10 +10:00
xtensa exec/memop: Adding signedness to quad definitions 2022-01-08 15:46:10 +10:00
Kconfig
meson.build