This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r240043 - in /trunk/libgcc: ChangeLog Makefile....
- From: jgreenhalgh at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Fri, 09 Sep 2016 09:40:26 -0000
- Subject: r240043 - in /trunk/libgcc: ChangeLog Makefile....
Author: jgreenhalgh
Date: Fri Sep 9 09:40:22 2016
New Revision: 240043
URL: https://gcc.gnu.org/viewcvs?rev=240043&root=gcc&view=rev
Log:
[Patch libgcc] Enable HCmode multiply and divide (mulhc3/divhc3)
This patch arranges for half-precision complex multiply and divide
routines to be built if __LIBGCC_HAS_HF_MODE__. This will be true
if the target supports the _Float16 type.
libgcc/
PR target/63250
* Makefile.in (lib2funcs): Build _mulhc3 and _divhc3.
* libgcc2.h (LIBGCC_HAS_HF_MODE): Conditionally define.
(HFtype): Likewise.
(HCtype): Likewise.
(__divhc3): Likewise.
(__mulhc3): Likewise.
* libgcc2.c: Support _mulhc3 and _divhc3.
Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/Makefile.in
trunk/libgcc/libgcc2.c
trunk/libgcc/libgcc2.h