]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: convert conversion helpers to fpst/ahp_flag
authorAlex Bennée <alex.bennee@linaro.org>
Mon, 7 May 2018 12:17:16 +0000 (13:17 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Thu, 17 May 2018 22:27:09 +0000 (15:27 -0700)
commit486624fcd3eaca6165ab8401d73bbae6c0fb81c1
tree27e312af8e35ffa07c146a56f1da899fee9ee9df
parent0bcfbcbea548656ff930394f296589728c2a0c5d
target/arm: convert conversion helpers to fpst/ahp_flag

Instead of passing env and leaving it up to the helper to get the
right fpstatus we pass it explicitly. There was already a get_fpstatus
helper for neon for the 32 bit code. We also add an get_ahp_flag() for
passing the state of the alternative FP16 format flag. This leaves
scope for later tracking the AHP state in translation flags.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/helper.c
target/arm/helper.h
target/arm/translate-a64.c
target/arm/translate.c
target/arm/translate.h