]> git.ipfire.org Git - thirdparty/glibc.git/commit
LoongArch: Add support for scalbn[f]
authorXiaolin Tang <tangxiaolin@loongson.cn>
Wed, 23 Nov 2022 03:49:24 +0000 (11:49 +0800)
committercaiyinyu <caiyinyu@loongson.cn>
Tue, 29 Nov 2022 08:00:29 +0000 (16:00 +0800)
commite3d9ca4e9474ed4f9b6a9879867f14fea6e2bee9
tree78fa7b09b76a1919d1f8729b0d5bbe01390b0959
parent13c549f49705d10105b16706124077e07068a936
LoongArch: Add support for scalbn[f]

Add inline assembler for the scalbn functions. Passes GLIBC regression.

GCC 13, LoongArch support ___builtin_scalbn{,f} with -fno-math-errno,
but only "libm" can use -fno-math-errno in GLIBC, and scalbn is in libc
instead of libm because __printf_fp calls it.
sysdeps/loongarch/fpu/s_scalbn.c [new file with mode: 0644]
sysdeps/loongarch/fpu/s_scalbnf.c [new file with mode: 0644]