LoongArch: Hard Float Support for fmaximum{f/ }, fminimum{f/ }.
commit1ed6c7ab2e4c51251932daecb0d14bfa71c35aee
authorXiaolin Tang <tangxiaolin@loongson.cn>
Mon, 7 Nov 2022 14:05:19 +0000 (7 22:05 +0800)
committercaiyinyu <caiyinyu@loongson.cn>
Mon, 14 Nov 2022 02:02:42 +0000 (14 10:02 +0800)
treee28d00cce45d490908346ec0e74f1c6c4ce14829
parent5fe2647d3168194f3534bbf1c02930c891a25977
LoongArch: Hard Float Support for fmaximum{f/ }, fminimum{f/ }.

Use hardware Floating-point instruction f{max/min}.{s/d}, fclass.{s/d}
to implement fmaximum{f/ }, fminimum{f/ }.

       *  sysdeps/loongarch/fpu/s_fmaximum.c: New file.
       *  sysdeps/loongarch/fpu/s_fmaximumf.c: Likewise.
       *  sysdeps/loongarch/fpu/s_fminimum.c: Likewise.
       *  sysdeps/loongarch/fpu/s_fminimumf.c: Likewise.
sysdeps/loongarch/fpu/s_fmaximum.c [new file with mode: 0644]
sysdeps/loongarch/fpu/s_fmaximumf.c [new file with mode: 0644]
sysdeps/loongarch/fpu/s_fminimum.c [new file with mode: 0644]
sysdeps/loongarch/fpu/s_fminimumf.c [new file with mode: 0644]