]> git.proxmox.com Git - mirror_qemu.git/commit - target-arm/helper.h
target-arm: A64: Add [UF]RSQRTE (reciprocal root estimate)
authorAlex Bennée <alex.bennee@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)
commitc2fb418e35be3eb1f60987174f94c029f7d4dd7d
tree1ed62625c2e5f4dbc921662d9eb29d6523e6391e
parent5553955eb6ec890f324a2ff6c6cc1365b98b981f
target-arm: A64: Add [UF]RSQRTE (reciprocal root estimate)

This adds support for [UF]RSQRTE instructions. It utilises the existing
NEON helpers with some changes. The changes include an explicit passing
of fpstatus (so the correct one is used between arm32 and aarch64),
denormilzation, more correct error handling and also proper scaling of
the fraction going into the estimate.

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