1 @ ARM mpn_sub -- Subtract two limb vectors of the same length > 0 and store
2 @ difference in a third limb vector.
3 @ Contributed by Robert Harley.
5 @ Copyright (C) 1997, 2000 Free Software Foundation, Inc.
7 @ This file is part of the GNU MP Library.
9 @ The GNU MP Library is free software; you can redistribute it and/or modify
10 @ it under the terms of the GNU Lesser General Public License as published by
11 @ the Free Software Foundation; either version 2.1 of the License, or (at your
12 @ option) any later version.
14 @ The GNU MP Library is distributed in the hope that it will be useful, but
15 @ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16 @ or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
17 @ License for more details.
19 @ You should have received a copy of the GNU Lesser General Public License
20 @ along with the GNU MP Library; see the file COPYING.LIB. If not, write to
21 @ the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
39 .type __gmpn_sub_n,%function
41 stmfd sp!, { r8, r9, lr }
60 stmfd sp!, { r4, r5, r6, r7 }
62 ldmia a!, { r4, r5, r6, r7 }
63 ldmia b!, { r8, r9, ip, lr }
65 ldr r8, [d] /* Bring stuff into cache. */
69 stmia d!, { r4, r5, r6, r7 }
73 ldmfd sp!, { r4, r5, r6, r7 }
77 ldmfd sp!, { r8, r9, pc }
79 .size __gmpn_sub_n, end - __gmpn_sub_n