mirror of
https://review.haiku-os.org/buildtools
synced 2025-02-12 08:47:41 +01:00
Copyright 2002 Free Software Foundation, Inc. This file is part of the GNU MP Library. The GNU MP Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. The GNU MP Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. This directory contains mpn functions for ARM processors. It has been optimized for StrongARM. TODO Write mpn_addmul_2. The speed of mpn_addmul_1 is 9.75 c/l; mpn_addmul_2 could run at 8 c/l. mpn_addmul_N could approach 6 c/l, but register shortage will make this hard. Perhaps nails is the way to go even for an embedded processor like this, since the umlal accumulation could be used very effectively in that case. with just 2 nail bits, we should get close to 5 c/l for a mpn_addmul_N or mpn_mul_basecase.