target/arm: Remove gen_exception_internal_insn pc argument
commitb4f8d987f6a9ff2733bcd6e5fa78f6582dc84771
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 20 Oct 2022 03:06:37 +0000 (20 13:06 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 20 Oct 2022 10:27:52 +0000 (20 11:27 +0100)
treef04c6bd8d934fed60e5148a7b964244ed7d73a04
parent55086e628ffcb35c71317b310d9caf6f718ae870
target/arm: Remove gen_exception_internal_insn pc argument

In preparation for TARGET_TB_PCREL, reduce reliance on absolute values.
Since we always pass dc->pc_curr, fold the arithmetic to zero displacement.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20221020030641.2066807-6-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate.c