Tizen 2.1 base
[external/gmp.git] / mpn / arm / README
1 Copyright 2002 Free Software Foundation, Inc.
2
3 This file is part of the GNU MP Library.
4
5 The GNU MP Library is free software; you can redistribute it and/or modify it
6 under the terms of the GNU Lesser General Public License as published by the
7 Free Software Foundation; either version 3 of the License, or (at your option)
8 any later version.
9
10 The GNU MP Library is distributed in the hope that it will be useful, but
11 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License
13 for more details.
14
15 You should have received a copy of the GNU Lesser General Public License along
16 with the GNU MP Library.  If not, see http://www.gnu.org/licenses/.
17
18
19
20
21
22 This directory contains mpn functions for ARM processors.
23 It has been optimized for StrongARM.
24
25 TODO
26
27 Write mpn_addmul_2.  The speed of mpn_addmul_1 is 9.75 c/l;
28 mpn_addmul_2 could run at 8 c/l.  mpn_addmul_N could
29 approach 6 c/l, but register shortage will make this hard.
30
31 Perhaps nails is the way to go even for an embedded processor like
32 this, since the umlal accumulation could be used very effectively in
33 that case.  with just 2 nail bits, we should get close to 5 c/l for a
34 mpn_addmul_N or mpn_mul_basecase.