In message <ab11eef452...@hobbes.bass-software.com>
          John Tytgat <j...@bass-software.com> wrote:

> [...] Attached patch solves this problem. [...]

This time for real.

John Tytgat.
-- 
John Tytgat, in his comfy chair at home
john.tyt...@aaug.net
Index: libgcc/config/arm/fp16.c
===================================================================
--- libgcc/config/arm/fp16.c    (revision 193830)
+++ libgcc/config/arm/fp16.c    (working copy)
@@ -47,11 +47,9 @@
   mantissa |= 0x00800000;
   if (aexp < -14)
     {
-      mask = 0x007fffff;
-      if (aexp < -25)
-       aexp = -26;
-      else if (aexp != -25)
-       mask >>= 24 + aexp;
+      mask = 0x00ffffff;
+      if (aexp >= -25)
+        mask >>= 25 + aexp;
     }
   else
     mask = 0x00001fff;

Reply via email to