[Patch 14/17] [libgcc, ARM] Generalise float-to-half conversion function.
commit8630cadbc5c4b226cca16e2790fbe84850b634b0
authorJames Greenhalgh <james.greenhalgh@arm.com>
Wed, 23 Nov 2016 17:30:02 +0000 (23 17:30 +0000)
committerJames Greenhalgh <jgreenhalgh@gcc.gnu.org>
Wed, 23 Nov 2016 17:30:02 +0000 (23 17:30 +0000)
treeaa71f56bd4587c4d9964473b1b7014ef5096ef8a
parentba75a1747c5094c60acea726c83e5d69a4373cb1
[Patch 14/17] [libgcc, ARM] Generalise float-to-half conversion function.

libgcc/

* config/arm/fp16.c (struct format): New.
(binary32): New.
(__gnu_float2h_internal): New.  Body moved from
__gnu_f2h_internal and generalize.
(_gnu_f2h_internal): Move body to function __gnu_float2h_internal.
Call it with binary32.

Co-Authored-By: Matthew Wahab <matthew.wahab@arm.com>
From-SVN: r242781
libgcc/ChangeLog
libgcc/config/arm/fp16.c