Thanks, going to commit the attached.
Regards
Robin
This patch adds expanders for fmin and fmax. As per RISC-V V Spec 1.0
vfmin/vfmax are IEEE 754-2019 compliant which differs from IEEE 754-2008
that fmin/fmax require (particularly in the signaling-NaN handling).
Therefore the pattern condition
LGTM as long as you add HONOR_SNANS
juzhe.zh...@rivai.ai
From: Robin Dapp
Date: 2023-10-31 03:26
To: Joseph Myers
CC: rdapp.gcc; gcc-patches; palmer; Kito Cheng; jeffreyalaw;
juzhe.zh...@rivai.ai
Subject: Re: [PATCH] RISC-V: Add vector fmin/fmax expanders.
> Aren't they actually
> Aren't they actually the IEEE 754-2019 operations (with different
> signaling NaN semantics; C functions such as fmaximum in C23), not the
> IEEE 754-2008 operations (C functions such as fmax)? V spec 1.0 says "The
> vector floating-point vfmin and vfmax instructions have the same behavior
>
On Mon, 30 Oct 2023, Robin Dapp wrote:
> Hi,
>
> this patch adds expanders for fmin and fmax and the associated
> cond and reduc ones. As per RISC-V V spec 1.0 vfmin/vfmax are
> IEEE 754-2008 compliant so that should be ok.
Aren't they actually the IEEE 754-2019 operations (with different
sign