]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Implement fp16 for Neon VRECPS
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 18:33:42 +0000 (19:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Sep 2020 10:38:06 +0000 (11:38 +0100)
commitac8c62c4e5a3f24e6d47f52ec1bfb20994caefa5
tree680716efeb759ff5a8b58d73fe68e3a68b15c3cd
parent635187aaa92f21ab001e2868e803b3c5460261ca
target/arm: Implement fp16 for Neon VRECPS

Convert the Neon VRECPS insn to using a gvec helper, and
use this to implement the fp16 case.

The phrasing of the new float32_recps_nf() is slightly different from
the old recps_f32() so that it parallels the f16 version; for f16 we
can't assume that flush-to-zero is always enabled.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200828183354.27913-34-peter.maydell@linaro.org
target/arm/helper.h
target/arm/translate-neon.c.inc
target/arm/vec_helper.c
target/arm/vfp_helper.c