diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2020-03-05 16:09:20 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2020-03-05 16:09:20 +0000 |
| commit | fb901c905dc34254f3edfbee86143460594c564b (patch) | |
| tree | 5deaaf33420fbf48eb48df794fdf04854954f89e /scripts/qapi/parser.py | |
| parent | 3e270f67f0f05277021763af119a6ce195f8ed51 (diff) | |
| download | focaccia-qemu-fb901c905dc34254f3edfbee86143460594c564b.tar.gz focaccia-qemu-fb901c905dc34254f3edfbee86143460594c564b.zip | |
target/arm: Optimize cpu_mmu_index
We now cache the core mmu_idx in env->hflags. Rather than recompute from scratch, extract the field. All of the uses of cpu_mmu_index within target/arm are within helpers, and env->hflags is always stable within a translation block from whence helpers are called. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 20200302175829.2183-3-richard.henderson@linaro.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts/qapi/parser.py')
0 files changed, 0 insertions, 0 deletions