target/riscv: Hoist pbmte and hade out of the level loop
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 12 Apr 2023 11:43:27 +0000 (13:43 +0200)
committerAlistair Francis <alistair.francis@wdc.com>
Fri, 5 May 2023 00:49:50 +0000 (10:49 +1000)
commit8d6a00cdc01b912acceb9a03e77ad86fb7954b17
treef43e231214e94c13494c502ace684f9e6500b76d
parenta427c83633924d2bc9485d30c2658dd9fc44b9f1
target/riscv: Hoist pbmte and hade out of the level loop

These values are constant for every level of pte lookup.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Weiwei Li <liweiwei@iscas.ac.cn>
Tested-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230325105429.1142530-20-richard.henderson@linaro.org>
Message-Id: <20230412114333.118895-20-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
target/riscv/cpu_helper.c