]> git.ipfire.org Git - thirdparty/glibc.git/commit
soft-fp: Add fixhf[uns][di|si] and float[uns][di|si]hf
authorKito Cheng <kito.cheng@sifive.com>
Tue, 5 Jul 2022 09:46:31 +0000 (17:46 +0800)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Mon, 8 Aug 2022 14:28:40 +0000 (11:28 -0300)
commit8bc3f94a062776abfaf14201fba37bea5328bf92
tree5c20abdf448e6e4c98d86d4d09b9a3cefbe85ee7
parent26a3499cdbc537de1b6305ed5e6bcff02734f51e
soft-fp: Add fixhf[uns][di|si] and float[uns][di|si]hf

Add more IEEE half conversion routines:

- Convert 32-bit/64-bit integer to IEEE half.
- Convert IEEE half to 32-bit/64-bit integer.

They are required by RISC-V _Float16 support, tested with RISC-V GCC.
soft-fp/fixhfdi.c [new file with mode: 0644]
soft-fp/fixhfsi.c [new file with mode: 0644]
soft-fp/fixunshfdi.c [new file with mode: 0644]
soft-fp/fixunshfsi.c [new file with mode: 0644]
soft-fp/floatdihf.c [new file with mode: 0644]
soft-fp/floatsihf.c [new file with mode: 0644]
soft-fp/floatundihf.c [new file with mode: 0644]
soft-fp/floatunsihf.c [new file with mode: 0644]