]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm/cpu.h: add additional float_status flags
authorAlex Bennée <alex.bennee@linaro.org>
Thu, 1 Mar 2018 11:05:47 +0000 (11:05 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 1 Mar 2018 11:13:59 +0000 (11:13 +0000)
commitd81ce0ef2c4f1052fcdef891a12499eca3084db7
treed5b9589cf1cc3b33dda6eb01b82a3896e84fb7d1
parentd0e69ea88f4e74212b29d9436143c5bcfd437757
target/arm/cpu.h: add additional float_status flags

Half-precision flush to zero behaviour is controlled by a separate
FZ16 bit in the FPCR. To handle this we pass a pointer to
fp_status_fp16 when working on half-precision operations. The value of
the presented FPCR is calculated from an amalgam of the two when read.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20180227143852.11175-5-alex.bennee@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/cpu.h
target/arm/helper.c
target/arm/translate-a64.c