[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 14/22] target/arm: Use macros instead of open-coding fp16 con
From: |
Richard Henderson |
Subject: |
Re: [PATCH 14/22] target/arm: Use macros instead of open-coding fp16 conversion helpers |
Date: |
Tue, 25 Aug 2020 11:48:23 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 8/24/20 7:29 AM, Peter Maydell wrote:
> 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>
> ---
> target/arm/helper.h | 6 +++
> target/arm/vfp_helper.c | 86 +++--------------------------------------
> 2 files changed, 12 insertions(+), 80 deletions(-)
Same comments re the helper types. Otherwise,
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
r~
- Re: [PATCH 09/22] target/arm: Implement VFP fp16 for VMOV immediate, (continued)
- [PATCH 10/22] target/arm: Implement VFP fp16 VCMP, Peter Maydell, 2020/08/24
- [PATCH 11/22] target/arm: Implement VFP fp16 VLDR and VSTR, Peter Maydell, 2020/08/24
- [PATCH 12/22] target/arm: Implement VFP fp16 VCVT between float and integer, Peter Maydell, 2020/08/24
- [PATCH 15/22] target/arm: Implement VFP fp16 VCVT between float and fixed-point, Peter Maydell, 2020/08/24
- [PATCH 14/22] target/arm: Use macros instead of open-coding fp16 conversion helpers, Peter Maydell, 2020/08/24
- Re: [PATCH 14/22] target/arm: Use macros instead of open-coding fp16 conversion helpers,
Richard Henderson <=
- [PATCH 13/22] target/arm: Make VFP_CONV_FIX macros take separate float type and float size, Peter Maydell, 2020/08/24
- [PATCH 16/22] target/arm: Implement VFP vp16 VCVT-with-specified-rounding-mode, Peter Maydell, 2020/08/24
- [PATCH 17/22] target/arm: Implement VFP fp16 VSEL, Peter Maydell, 2020/08/24
- [PATCH 18/22] target/arm: Implement VFP fp16 VRINT*, Peter Maydell, 2020/08/24
- [PATCH 19/22] target/arm: Implement new VFP fp16 insn VINS, Peter Maydell, 2020/08/24