OSDN Git Service

target/hppa: Include PSW_P in tb flags and mmu index
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 1 Nov 2023 22:17:04 +0000 (15:17 -0700)
committerRichard Henderson <richard.henderson@linaro.org>
Tue, 7 Nov 2023 02:49:33 +0000 (18:49 -0800)
commitbb67ec32a0bb90a4d392a778f97f1e86ed75f0a9
treeb32aa34d716d3492f3ae892a8f0bdf522ba60b7e
parent3e01f1147a16ca566694b97eafc941d62fa1e8d8
target/hppa: Include PSW_P in tb flags and mmu index

Use a separate mmu index for PSW_P enabled vs disabled.
This means we can elide the tlb flush in cpu_hppa_put_psw
when PSW_P changes.  This turns out to be the majority
of all tlb flushes.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/hppa/cpu.h
target/hppa/helper.c
target/hppa/mem_helper.c
target/hppa/translate.c