3 dnl Copyright
2013, 2014 Free Software Foundation
, Inc.
5 dnl
This file is part of the GNU MP Library.
7 dnl The GNU MP Library is free software
; you can redistribute it and/or modify
8 dnl it under the terms of the GNU Lesser General
Public License as published
9 dnl by the Free Software Foundation
; either version 3 of the License, or (at
10 dnl your option
) any later version.
12 dnl The GNU MP Library is distributed
in the hope that it will be useful
, but
13 dnl WITHOUT ANY WARRANTY
; without even the implied warranty of MERCHANTABILITY
14 dnl
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
Public
15 dnl License for more details.
17 dnl You should have received a copy of the GNU Lesser General
Public License
18 dnl along with the GNU MP Library. If
not, see
http://www.gnu.
org/licenses
/.
20 include(`..
/config.m4
')
28 define(`rp_arg', `x0
')
39 add rp, rp_arg, n, lsl #3
44 L(bx1): ldr x4, [up,#-8]
47 L(b01): lsr x0, x4, tnc
53 L(gt1): ldp x4, x5, [up,#-24]
58 L(b11): lsr x0, x4, tnc
66 L(bx0): ldp x4, x5, [up,#-16]
69 L(b10): lsr x0, x5, tnc
76 stp x18, x10, [rp,#-16]
78 L(gt2): ldp x4, x5, [up,#-32]
85 L(b00): lsr x0, x5, tnc
96 L(top): ldp x4, x5, [up,#-48]
97 sub rp, rp, #32 C integrate with stp?
98 sub up, up, #32 C integrate with ldp?
101 stp x10, x11, [rp,#-16]
102 L(lo2): lsr x11, x5, tnc
106 ldp x6, x7, [up,#-32]
109 stp x10, x11, [rp,#-32]
117 L(end): orr x11, x11, x9
119 stp x10, x11, [rp,#-48]