]> git.ipfire.org Git - thirdparty/glibc.git/commit
soft-fp: Add __extendhfxf2 and __truncxfhf2
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Jul 2021 15:35:28 +0000 (08:35 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Jul 2021 18:02:58 +0000 (11:02 -0700)
commit8241409e29a347ff6613d28d13cb1c7cdf1ec888
tree9f112dd81013ab2622575c7b33e6576576d76598
parentea8e465a6b8d0f26c72bcbe453a854de3abf68ec
soft-fp: Add __extendhfxf2 and __truncxfhf2

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:

https://software.intel.com/content/www/us/en/develop/download/intel-avx512-fp16-architecture-specification.html

support in GCC.
soft-fp/extendhfxf2.c [new file with mode: 0644]
soft-fp/truncxfhf2.c [new file with mode: 0644]