]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Make VFP_CONV_FIX macros take separate float type and float size
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 18:33:22 +0000 (19:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Sep 2020 10:19:32 +0000 (11:19 +0100)
commit5366f6ad7da4f6def2733ec7ee24495430256839
tree1162bb8bc53431c46e08ea1eb20adbf4308c0f28
parent0094e9f475a5a742d10d2f1e1beceea82b69f982
target/arm: Make VFP_CONV_FIX macros take separate float type and float size

Currently the VFP_CONV_FIX macros take a single fsz argument for the
size of the float type, which is used both to select the name of
the functions to call (eg float32_is_any_nan()) and also for the
type to use for the float inputs and outputs (eg float32).

Separate these into fsz and ftype arguments, so that we can use them
for fp16, which uses 'float16' in the function names but is still
passing inputs and outputs in a 32-bit sized type.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200828183354.27913-14-peter.maydell@linaro.org
target/arm/vfp_helper.c