]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/powerpc/powerpc32/sub_n.S
Update copyright dates with scripts/update-copyrights.
[thirdparty/glibc.git] / sysdeps / powerpc / powerpc32 / sub_n.S
index fdce132811e0945c2b762825a97bf1a54fe9ff47..698e71c6aa387efb52c6cb69962d49de960e57b3 100644 (file)
@@ -1,5 +1,5 @@
 /* Subtract two limb vectors of equal, non-zero length for PowerPC.
-   Copyright (C) 1997, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997-2018 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -17,8 +17,6 @@
    <http://www.gnu.org/licenses/>.  */
 
 #include <sysdep.h>
-#include <bp-sym.h>
-#include <bp-asm.h>
 
 /* mp_limb_t mpn_sub_n (mp_ptr res_ptr, mp_srcptr s1_ptr, mp_srcptr s2_ptr,
                         mp_size_t size)
    possible 2-unrolled inner loop will not be.  Also, watch out for the
    alignment...  */
 
-EALIGN (BP_SYM (__mpn_sub_n), 3, 1)
-
-#if __BOUNDED_POINTERS__
-       slwi r10,r6,2           /* convert limbs to bytes */
-       CHECK_BOUNDS_BOTH_WIDE (r3, r8, r9, r10)
-       CHECK_BOUNDS_BOTH_WIDE (r4, r8, r9, r10)
-       CHECK_BOUNDS_BOTH_WIDE (r5, r8, r9, r10)
-#endif
+EALIGN (__mpn_sub_n, 3, 1)
 
 /* Set up for loop below.  */
        mtcrf 0x01,r6
@@ -74,4 +65,4 @@ L(0):
 L(1):  subfe r3,r3,r3
        neg   r3,r3
        blr
-END (BP_SYM (__mpn_sub_n))
+END (__mpn_sub_n)