]> git.ipfire.org Git - thirdparty/gcc.git/blobdiff - libgcc/config/arm/fp16.c
Update copyright years.
[thirdparty/gcc.git] / libgcc / config / arm / fp16.c
index 2803dbfd8c973b4e178744970d54970443fab10d..177ce1c5c192da808bb1dc9a785c0ea50a7bcb07 100644 (file)
@@ -1,6 +1,6 @@
 /* Half-float conversion routines.
 
-   Copyright (C) 2008-2018 Free Software Foundation, Inc.
+   Copyright (C) 2008-2024 Free Software Foundation, Inc.
    Contributed by CodeSourcery.
 
    This file is free software; you can redistribute it and/or modify it
@@ -52,6 +52,14 @@ binary64 =
   52     /* significand.  */
 };
 
+/* Function prototypes.  */
+unsigned short __gnu_f2h_ieee (unsigned int a);
+unsigned int __gnu_h2f_ieee (unsigned short a);
+unsigned short __gnu_f2h_alternative (unsigned int x);
+unsigned int __gnu_h2f_alternative (unsigned short a);
+unsigned short __gnu_d2h_ieee (unsigned long long a);
+unsigned short __gnu_d2h_alternative (unsigned long long x);
+
 static inline unsigned short
 __gnu_float2h_internal (const struct format* fmt,
                        unsigned long long a, int ieee)
@@ -165,7 +173,7 @@ __gnu_d2h_internal (unsigned long long a, int ieee)
   return __gnu_float2h_internal (&binary64, a, ieee);
 }
 
-unsigned int
+static inline unsigned int
 __gnu_h2f_internal(unsigned short a, int ieee)
 {
   unsigned int sign = (unsigned int)(a & 0x8000) << 16;