[Bug libgcc/67624] arm/fp16.c __gnu_f2h_internal has wrong pattern for INF/NAN
rearnsha at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Sep 24 09:40:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67624
--- Comment #3 from Richard Earnshaw <rearnsha at gcc dot gnu.org> ---
Author: rearnsha
Date: Thu Sep 24 09:40:06 2015
New Revision: 228082
URL: https://gcc.gnu.org/viewcvs?rev=228082&root=gcc&view=rev
Log:
ARM: fp16 Fix PR 67624 - Incorrect conversion of float Infinity to __fp16
PR libgcc/67624
libgcc:
* config/arm/fp16.c (__gnu_f2h_internal): Handle infinity correctly.
gcc/testsuite:
* gcc.target/arm/fp16-inf.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/arm/fp16-inf.c
Modified:
trunk/gcc/testsuite/ChangeLog
trunk/libgcc/ChangeLog
trunk/libgcc/config/arm/fp16.c
More information about the Gcc-bugs
mailing list