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

caiyinyu caiyinyu@loongson.cn
Tue Aug 30 06:23:05 GMT 2022


I have tested it and pushed.

在 2022/8/30 下午1:31, Xi Ruoyao 写道:
> 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 :).
>



More information about the Libc-alpha mailing list