]> git.ipfire.org Git - thirdparty/gcc.git/commit
soft-fp: Update soft-fp from glibc
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Jul 2021 19:27:00 +0000 (12:27 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Jul 2021 22:00:11 +0000 (15:00 -0700)
commit1a4b2224b8a13c999b99cbf1e452db1fb3d6662e
tree20169e16d4a9f7b772af1262bca506ed0ad316e0
parentb544c348e13ad33d55f0d954370ab1fb0f2bf683
soft-fp: Update soft-fp from glibc

This patch is updating soft-fp from glibc:

1. Add __extendhfxf2 to return an IEEE half converted to IEEE extended.
2. Add __truncxfhf2 to truncate IEEE extended into IEEE half.

These are needed by x86 _Float16 support.

* soft-fp/extendhfxf2.c: New file.
* soft-fp/truncxfhf2.c: Likewise.
libgcc/soft-fp/extendhfxf2.c [new file with mode: 0644]
libgcc/soft-fp/truncxfhf2.c [new file with mode: 0644]