]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / sparc / sparc32 / sparcv9 / fpu / s_rint.S
index 8cae9b8ba74a17dd3cb748f6db06024d7fdeadc5..88f8e6f92b7d7f7838c453d9a9c758a5b7b771ba 100644 (file)
@@ -1,5 +1,5 @@
 /* Round float to int floating-point values, sparc32 v9 version.
-   Copyright (C) 2012 Free Software Foundation, Inc.
+   Copyright (C) 2012-2019 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by David S. Miller <davem@davemloft.net>, 2012.
 
    <http://www.gnu.org/licenses/>.  */
 
 #include <sysdep.h>
+#include <math_ldbl_opt.h>
+#include <libm-alias-double.h>
 
        /* We pop constants into the FPU registers using the incoming
-        * argument stack slots, since this avoid having to use any PIC
-        * references.  We also thus avoid having to allocate a register
-        * window.
-        *
-        * VIS instructions are used to facilitate the formation of
-        * easier constants, and the propagation of the sign bit.
-        */
+          argument stack slots, since this avoid having to use any PIC
+          references.  We also thus avoid having to allocate a register
+          window.
+
+          VIS instructions are used to facilitate the formation of
+          easier constants, and the propagation of the sign bit.  */
 
 #define TWO_FIFTYTWO   0x43300000              /* 2**52 */
 
@@ -62,4 +63,4 @@ ENTRY (__rint)
        retl
         for    %f0, SIGN_BIT, %f0
 END (__rint)
-weak_alias (__rint, rint)
+libm_alias_double (__rint, rint)