1 dnl IA-64 mpn_copyd -- copy limb vector, decrementing.
3 dnl Copyright 2001, 2002, 2004 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')
43 shladd r32 = r34, 3, r32
44 shladd r33 = r34, 3, r33
49 cmp.ge p14, p15 = 3, r34
54 cmp.eq p8, p0 = 1, r14
55 cmp.eq p10, p0 = 2, r14
56 cmp.eq p12, p0 = 3, r14
64 .Lb00: C n = 0, 4, 8, 12, ...
84 .Lb01: C n = 1, 5, 9, 13, ...
102 .Lb10: C n = 2,6, 10, 14, ...
119 .Lb11: C n = 3, 7, 11, 15, ...
165 .Lend: st8 [r32] = r16, -16
166 .Ls11: st8 [r20] = r17, -16
168 .Ls10: st8 [r32] = r18, -16
169 .Ls01: st8 [r20] = r19, -16
170 .Ls00: mov.i ar.lc = r2