target/arm: Use macros instead of open-coding fp16 conversion helpers
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 28 Aug 2020 18:33:23 +0000 (19:33 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 1 Sep 2020 10:19:32 +0000 (11:19 +0100)
commit414ba270c4fb758d987adf37ae9bfe531715c604
treeed78c868e99a06c4ddbecc565b60551120e59de7
parent5366f6ad7da4f6def2733ec7ee24495430256839
target/arm: Use macros instead of open-coding fp16 conversion helpers

Now the VFP_CONV_FIX macros can handle fp16's distinction between the
width of the operation and the width of the type used to pass operands,
use the macros rather than the open-coded functions.

This creates an extra six helper functions, all of which we are going
to need for the AArch32 VFP fp16 instructions.

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