[PATCH] LoongArch: Use __builtin_{fmax,fmaxf,fmin,fminf} with GCC >= 13

Xi Ruoyao xry111@xry111.site
Tue Aug 30 05:31:57 GMT 2022


On Mon, 2022-08-29 at 09:44 -0300, Adhemerval Zanella Netto wrote:
> 
> 
> On 20/08/22 05:43, Xi Ruoyao wrote:
> > GCC 13 compiles these built-ins to {fmax,fmin}.{s/d} instruction, use
> > them instead of the generic implementation.
> > 
> > Link: https://gcc.gnu.org/r13-2085
> > Signed-off-by: Xi Ruoyao <xry111@xry111.site>
> 
> LGTM, thanks.
> 
> Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>

Thanks, I don't have a write access to glibc.git and need others' help
to push the patch :).

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University


More information about the Libc-alpha mailing list