aboutsummaryrefslogtreecommitdiff
path: root/scripts/qapi
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-07-11 18:20:26 -0600
committerRichard Henderson <richard.henderson@linaro.org>2025-09-23 16:55:32 -0700
commit33ea495cd3bfb21db920b6928af7eda39ced5c20 (patch)
treebb8c5a9c8634db4ea0bbd096ccbdd4a54c89e3fc /scripts/qapi
parent3c58ddc9d784cd65af3d5810d9d66e57900e280a (diff)
downloadqemu-33ea495cd3bfb21db920b6928af7eda39ced5c20.zip
qemu-33ea495cd3bfb21db920b6928af7eda39ced5c20.tar.gz
qemu-33ea495cd3bfb21db920b6928af7eda39ced5c20.tar.bz2
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>
Diffstat (limited to 'scripts/qapi')
0 files changed, 0 insertions, 0 deletions