]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Replace offset with pc in gen_exception_insn
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 15 Aug 2019 08:46:44 +0000 (09:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:50 +0000 (14:02 +0100)
commita767fac802f6fa6220330ea6f408dde2fb41db22
treef97b39cc7a3963cbd6f80baf7c937b1d02e9ffd8
parenta04159166b880b505ccadc16f2fe84169806883d
target/arm: Replace offset with pc in gen_exception_insn

The offset is variable depending on the instruction set, whereas
we have stored values for the current pc and the next pc.  Passing
in the actual value is clearer in intent.

Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20190807045335.1361-8-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-a64.c
target/arm/translate-vfp.inc.c
target/arm/translate.c