]> git.proxmox.com Git - mirror_qemu.git/commit
target-arm: A64: Implement FCVTXN
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2014 16:31:53 +0000 (16:31 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 17 Mar 2014 16:31:53 +0000 (16:31 +0000)
commit5553955eb6ec890f324a2ff6c6cc1365b98b981f
treed17b9d97dff33b004c050cc155366b70566fbf13
parent5201c13654c35e5e0173a9947848f3a9f9a5a8bc
target-arm: A64: Implement FCVTXN

Implement the FCVTXN operation, which does a narrowing fp precision
conversion using the "round to odd" (von Neumann) mode. This can
conveniently be implemented as "do operation using round to zero;
then set the LSB of the mantissa to 1 if the Inexact flag was set".

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-id: 1394822294-14837-24-git-send-email-peter.maydell@linaro.org
target-arm/helper-a64.c
target-arm/helper-a64.h
target-arm/translate-a64.c