3 dnl Copyright 1999, 2000, 2001, 2002, 2005, 2008 Free Software Foundation,
6 dnl This file is part of the GNU MP Library.
8 dnl The GNU MP Library is free software; you can redistribute it and/or
9 dnl modify it under the terms of the GNU Lesser General Public License as
10 dnl published by the Free Software Foundation; either version 3 of the
11 dnl License, or (at your option) any later version.
13 dnl The GNU MP Library is distributed in the hope that it will be useful,
14 dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
15 dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 dnl Lesser General Public License for more details.
18 dnl You should have received a copy of the GNU Lesser General Public License
19 dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/.
21 include(`../config.m4')
28 C P6 model 13 (Dothan)
29 C P4 model 0 (Willamette)
31 C P4 model 2 (Northwood)
32 C P4 model 3 (Prescott)
39 C * Improve feed-in and wind-down code. We beat the old code for all n != 1,
40 C but we might be able to do even better.
41 C * The feed-in code for mul_1c is crude.
68 L(c1): lea -4(%edi), %edi
83 L(c2): lea 4(%esi), %esi
99 L(c3): lea 8(%esi), %esi
109 L(c0): mov 36(%esp), %ebx
143 L(b1): lea -4(%edi), %edi
150 L(gt1): mov %eax, %ebx
155 L(b2): lea 4(%esi), %esi
164 L(b3): lea 8(%esi), %esi
173 L(b0): lea -4(%esi), %esi
196 L(0): mov %ebp, 8(%edi)
203 L(3): mov %ebx, 12(%edi)
216 L(cj1): mov %ebx, 4(%edi)
220 L(rt): mov (%esp), %ebp