[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-arm] [PATCH v2 63/67] target/arm: Implement SVE floating-point
From: |
Peter Maydell |
Subject: |
Re: [Qemu-arm] [PATCH v2 63/67] target/arm: Implement SVE floating-point trig multiply-add coefficient |
Date: |
Tue, 27 Feb 2018 15:34:06 +0000 |
On 17 February 2018 at 18:23, Richard Henderson
<address@hidden> wrote:
> Signed-off-by: Richard Henderson <address@hidden>
> ---
> target/arm/helper-sve.h | 4 +++
> target/arm/sve_helper.c | 70
> ++++++++++++++++++++++++++++++++++++++++++++++
> target/arm/translate-sve.c | 26 +++++++++++++++++
> target/arm/sve.decode | 3 ++
> 4 files changed, 103 insertions(+)
> +/* FP Trig Multiply-Add. */
> +
> +void HELPER(sve_ftmad_h)(void *vd, void *vn, void *vm, void *vs, uint32_t
> desc)
> +{
> + static const float16 coeff[16] = {
> + 0x3c00, 0xb155, 0x2030, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
> + 0x3c00, 0xb800, 0x293a, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
> + };
Comment that these are constants from the pseudocode, or whatever
we agreed for the earlier patch with constant tables...
Reviewed-by: Peter Maydell <address@hidden>
thanks
-- PMM
- Re: [Qemu-arm] [Qemu-devel] [PATCH v2 58/67] target/arm: Implement SVE floating-point arithmetic with immediate, (continued)
- [Qemu-arm] [PATCH v2 59/67] target/arm: Implement SVE Floating Point Multiply Indexed Group, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 60/67] target/arm: Implement SVE FP Fast Reduction Group, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 61/67] target/arm: Implement SVE Floating Point Unary Operations - Unpredicated Group, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 62/67] target/arm: Implement SVE FP Compare with Zero Group, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 63/67] target/arm: Implement SVE floating-point trig multiply-add coefficient, Richard Henderson, 2018/02/17
- Re: [Qemu-arm] [PATCH v2 63/67] target/arm: Implement SVE floating-point trig multiply-add coefficient,
Peter Maydell <=
- [Qemu-arm] [PATCH v2 64/67] target/arm: Implement SVE floating-point convert precision, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 65/67] target/arm: Implement SVE floating-point convert to integer, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 66/67] target/arm: Implement SVE floating-point round to integral value, Richard Henderson, 2018/02/17
- [Qemu-arm] [PATCH v2 67/67] target/arm: Implement SVE floating-point unary operations, Richard Henderson, 2018/02/17
- Re: [Qemu-arm] [PATCH v2 00/67] target/arm: Scalable Vector Extension, Alex Bennée, 2018/02/23