]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Introduce add_reg_for_lit
authorRichard Henderson <richard.henderson@linaro.org>
Thu, 15 Aug 2019 08:46:43 +0000 (09:46 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Aug 2019 13:02:49 +0000 (14:02 +0100)
commit16e0d8234ef9291747332d2c431e46808a060472
tree0ccfcedf0d8f0f7d352cd1901a313145df9df10d
parentfdbcf6329d0c2984c55d7019419a72bf8e583c36
target/arm: Introduce add_reg_for_lit

Provide a common routine for the places that require ALIGN(PC, 4)
as the base address as opposed to plain PC.  The two are always
the same for A32, but the difference is meaningful for thumb mode.

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-5-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/translate-vfp.inc.c
target/arm/translate.c