You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/include/hw/core
Richard Henderson 33ea495cd3 include/hw/core/cpu: Invert the indexing into CPUTLBDescFast
This array is within CPUNegativeOffsetState, which means the
last element of the array has an offset from env with the
smallest magnitude.  This can be encoded into fewer bits
when generating TCG fast path memory references.

When we changed the NB_MMU_MODES to be a global constant,
rather than a per-target value, we pessimized the code
generated for targets which use only a few mmu indexes.
By inverting the array index, we counteract that.

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
1 week ago
..
cpu.h include/hw/core/cpu: Invert the indexing into CPUTLBDescFast 1 week ago
generic-loader.h
resetcontainer.h hw/core/resetcontainer: Consolidate OBJECT_DECLARE_SIMPLE_TYPE 4 months ago
split-irq.h
sysbus-fdt.h hw/core: Move the ARM sysbus-fdt to core 3 years ago
sysemu-cpu-ops.h cpus: Remove CPUClass::has_work() handler 7 months ago