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