diff options
Diffstat (limited to 'gmp/mpn/x86/p6/sqr_basecase.asm')
-rw-r--r-- | gmp/mpn/x86/p6/sqr_basecase.asm | 45 |
1 files changed, 17 insertions, 28 deletions
diff --git a/gmp/mpn/x86/p6/sqr_basecase.asm b/gmp/mpn/x86/p6/sqr_basecase.asm index 8fc7fdf375..05a31f1a15 100644 --- a/gmp/mpn/x86/p6/sqr_basecase.asm +++ b/gmp/mpn/x86/p6/sqr_basecase.asm @@ -1,32 +1,21 @@ dnl Intel P6 mpn_sqr_basecase -- square an mpn number. dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc. - -dnl This file is part of the GNU MP Library. -dnl -dnl The GNU MP Library is free software; you can redistribute it and/or modify -dnl it under the terms of either: dnl -dnl * the GNU Lesser General Public License as published by the Free -dnl Software Foundation; either version 3 of the License, or (at your -dnl option) any later version. -dnl -dnl or -dnl -dnl * the GNU General Public License as published by the Free Software -dnl Foundation; either version 2 of the License, or (at your option) any -dnl later version. +dnl This file is part of the GNU MP Library. dnl -dnl or both in parallel, as here. +dnl The GNU MP Library is free software; you can redistribute it and/or +dnl modify it under the terms of the GNU Lesser General Public License as +dnl published by the Free Software Foundation; either version 3 of the +dnl License, or (at your option) any later version. dnl -dnl The GNU MP Library is distributed in the hope that it will be useful, but -dnl WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY -dnl or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License -dnl for more details. +dnl The GNU MP Library is distributed in the hope that it will be useful, +dnl but WITHOUT ANY WARRANTY; without even the implied warranty of +dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +dnl Lesser General Public License for more details. dnl -dnl You should have received copies of the GNU General Public License and the -dnl GNU Lesser General Public License along with the GNU MP Library. If not, -dnl see https://www.gnu.org/licenses/. +dnl You should have received a copy of the GNU Lesser General Public License +dnl along with the GNU MP Library. If not, see http://www.gnu.org/licenses/. include(`../config.m4') @@ -38,15 +27,15 @@ C which is the Karatsuba recursing range). dnl These are the same as in mpn/x86/k6/sqr_basecase.asm, see that file for dnl a description. The only difference here is that UNROLL_COUNT can go up -dnl to 64 (not 63) making SQR_TOOM2_THRESHOLD_MAX 67. +dnl to 64 (not 63) making SQR_KARATSUBA_THRESHOLD_MAX 67. -deflit(SQR_TOOM2_THRESHOLD_MAX, 67) +deflit(SQR_KARATSUBA_THRESHOLD_MAX, 67) -ifdef(`SQR_TOOM2_THRESHOLD_OVERRIDE', -`define(`SQR_TOOM2_THRESHOLD',SQR_TOOM2_THRESHOLD_OVERRIDE)') +ifdef(`SQR_KARATSUBA_THRESHOLD_OVERRIDE', +`define(`SQR_KARATSUBA_THRESHOLD',SQR_KARATSUBA_THRESHOLD_OVERRIDE)') -m4_config_gmp_mparam(`SQR_TOOM2_THRESHOLD') -deflit(UNROLL_COUNT, eval(SQR_TOOM2_THRESHOLD-3)) +m4_config_gmp_mparam(`SQR_KARATSUBA_THRESHOLD') +deflit(UNROLL_COUNT, eval(SQR_KARATSUBA_THRESHOLD-3)) C void mpn_sqr_basecase (mp_ptr dst, mp_srcptr src, mp_size_t size); |