summaryrefslogtreecommitdiff
path: root/mpn
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2002-04-20 00:39:28 +0200
committerKevin Ryde <user42@zip.com.au>2002-04-20 00:39:28 +0200
commitfa1ce4729c4162efa3f094e0627244e8f9fc9265 (patch)
tree9c05d6bd6ab9153af6a78fa2a13ab64be9369bca /mpn
parent40cc493c8a60c9b748a41f8094366461d87167c5 (diff)
downloadgmp-fa1ce4729c4162efa3f094e0627244e8f9fc9265.tar.gz
* mpn/x86/udiv.asm, mpn/x86/umul.asm, mpn/x86/k6/mmx/popham.asm,
mpn/x86/p6/mmx/popham.asm, mpn/x86/p6/p3mmx/popham.asm, mpn/x86/pentium/com_n.asm, mpn/x86/pentium/mmx/popham.asm, mpn/x86/pentium/logops_n.asm, mpn/x86/pentium/popcount.asm, mpn/x86/pentium/hamdist.asm, mpn/x86/k7/mmx/popham.asm, mpn/x86/pentium4/mmx/popham.asm: Add NAILS_SUPPORT indicators.
Diffstat (limited to 'mpn')
-rw-r--r--mpn/x86/k6/mmx/popham.asm4
-rw-r--r--mpn/x86/k7/mmx/popham.asm2
-rw-r--r--mpn/x86/p6/mmx/popham.asm2
-rw-r--r--mpn/x86/p6/p3mmx/popham.asm4
-rw-r--r--mpn/x86/pentium/com_n.asm3
-rw-r--r--mpn/x86/pentium/hamdist.asm3
-rw-r--r--mpn/x86/pentium/logops_n.asm2
-rw-r--r--mpn/x86/pentium/mmx/popham.asm2
-rw-r--r--mpn/x86/pentium/popcount.asm2
-rw-r--r--mpn/x86/pentium4/mmx/popham.asm2
-rw-r--r--mpn/x86/udiv.asm5
-rw-r--r--mpn/x86/umul.asm5
12 files changed, 30 insertions, 6 deletions
diff --git a/mpn/x86/k6/mmx/popham.asm b/mpn/x86/k6/mmx/popham.asm
index 733a7ac86..facf994d9 100644
--- a/mpn/x86/k6/mmx/popham.asm
+++ b/mpn/x86/k6/mmx/popham.asm
@@ -1,7 +1,7 @@
dnl AMD K6-2 mpn_popcount, mpn_hamdist -- mpn bit population count and
dnl hamming distance.
-dnl Copyright 2000, 2001 Free Software Foundation, Inc.
+dnl Copyright 2000, 2001, 2002 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
@@ -27,6 +27,8 @@ C popcount hamdist
C K6-2: 9.0 11.5 cycles/limb
C K6: 12.5 13.0
+NAILS_SUPPORT(0-31)
+
C unsigned long mpn_popcount (mp_srcptr src, mp_size_t size);
C unsigned long mpn_hamdist (mp_srcptr src, mp_srcptr src2, mp_size_t size);
diff --git a/mpn/x86/k7/mmx/popham.asm b/mpn/x86/k7/mmx/popham.asm
index f7f2daeef..7cf9646fc 100644
--- a/mpn/x86/k7/mmx/popham.asm
+++ b/mpn/x86/k7/mmx/popham.asm
@@ -25,6 +25,8 @@ include(`../config.m4')
C K7: popcount 5.0 cycles/limb, hamdist 6.0 cycles/limb
+NAILS_SUPPORT(0-31)
+
C unsigned long mpn_popcount (mp_srcptr src, mp_size_t size);
C unsigned long mpn_hamdist (mp_srcptr src, mp_srcptr src2, mp_size_t size);
diff --git a/mpn/x86/p6/mmx/popham.asm b/mpn/x86/p6/mmx/popham.asm
index 9188af743..a2a563d7b 100644
--- a/mpn/x86/p6/mmx/popham.asm
+++ b/mpn/x86/p6/mmx/popham.asm
@@ -25,6 +25,8 @@ include(`../config.m4')
C P6MMX: popcount 11 cycles/limb (approx), hamdist 11.5 cycles/limb (approx)
+NAILS_SUPPORT(0-31)
+
MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)
include_mpn(`x86/k6/mmx/popham.asm')
diff --git a/mpn/x86/p6/p3mmx/popham.asm b/mpn/x86/p6/p3mmx/popham.asm
index a19ec840c..e378e5cf4 100644
--- a/mpn/x86/p6/p3mmx/popham.asm
+++ b/mpn/x86/p6/p3mmx/popham.asm
@@ -1,7 +1,7 @@
dnl Intel Pentium-III mpn_popcount, mpn_hamdist -- population count and
dnl hamming distance.
-dnl Copyright 2000 Free Software Foundation, Inc.
+dnl Copyright 2000, 2002 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
@@ -26,5 +26,7 @@ dnl good on P-III.
include(`../config.m4')
+NAILS_SUPPORT(0-31)
+
MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)
include_mpn(`x86/k7/mmx/popham.asm')
diff --git a/mpn/x86/pentium/com_n.asm b/mpn/x86/pentium/com_n.asm
index 0d479b0bc..c252a125b 100644
--- a/mpn/x86/pentium/com_n.asm
+++ b/mpn/x86/pentium/com_n.asm
@@ -25,6 +25,9 @@ include(`../config.m4')
C P5: 1.75 cycles/limb
+NAILS_SUPPORT(0-31)
+
+
C void mpn_com_n (mp_ptr dst, mp_srcptr src, mp_size_t size);
C
C This code is similar to mpn_copyi, basically there's just some "xorl
diff --git a/mpn/x86/pentium/hamdist.asm b/mpn/x86/pentium/hamdist.asm
index cc5abc6fc..bf01b9cc5 100644
--- a/mpn/x86/pentium/hamdist.asm
+++ b/mpn/x86/pentium/hamdist.asm
@@ -25,6 +25,9 @@ include(`../config.m4')
C P5: 14.0 cycles/limb
+NAILS_SUPPORT(0-31)
+
+
C unsigned long mpn_hamdist (mp_srcptr src1, mp_srcptr src2, mp_size_t size);
C
C It might be possible to shave 1 cycle from the loop, and hence 2
diff --git a/mpn/x86/pentium/logops_n.asm b/mpn/x86/pentium/logops_n.asm
index feea75b81..208fba82f 100644
--- a/mpn/x86/pentium/logops_n.asm
+++ b/mpn/x86/pentium/logops_n.asm
@@ -51,6 +51,8 @@ ifdef(`M4_function',,
MULFUNC_PROLOGUE(mpn_and_n mpn_andn_n mpn_nand_n mpn_ior_n mpn_iorn_n mpn_nior_n mpn_xor_n mpn_xnor_n)
+NAILS_SUPPORT(0-31)
+
C void M4_function (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size);
C
diff --git a/mpn/x86/pentium/mmx/popham.asm b/mpn/x86/pentium/mmx/popham.asm
index 3552a9331..a4b11cdda 100644
--- a/mpn/x86/pentium/mmx/popham.asm
+++ b/mpn/x86/pentium/mmx/popham.asm
@@ -25,6 +25,8 @@ include(`../config.m4')
C P55: popcount 11.5 cycles/limb, hamdist 12.0 cycles/limb
+NAILS_SUPPORT(0-31)
+
MULFUNC_PROLOGUE(mpn_popcount mpn_hamdist)
include_mpn(`x86/k6/mmx/popham.asm')
diff --git a/mpn/x86/pentium/popcount.asm b/mpn/x86/pentium/popcount.asm
index deb078175..244dd01b4 100644
--- a/mpn/x86/pentium/popcount.asm
+++ b/mpn/x86/pentium/popcount.asm
@@ -24,6 +24,8 @@ include(`../config.m4')
C P5: 8.0 cycles/limb
+NAILS_SUPPORT(0-31)
+
C unsigned long mpn_popcount (mp_srcptr src, mp_size_t size);
C
diff --git a/mpn/x86/pentium4/mmx/popham.asm b/mpn/x86/pentium4/mmx/popham.asm
index 516de5bd0..6c0617d92 100644
--- a/mpn/x86/pentium4/mmx/popham.asm
+++ b/mpn/x86/pentium4/mmx/popham.asm
@@ -26,6 +26,8 @@ include(`../config.m4')
C P4: popcount 8.5 cycles/limb
C hamdist 9.5 cycles/limb
+NAILS_SUPPORT(0-31)
+
C unsigned long mpn_popcount (mp_srcptr src, mp_size_t size);
C unsigned long mpn_hamdist (mp_srcptr src, mp_srcptr src2, mp_size_t size);
diff --git a/mpn/x86/udiv.asm b/mpn/x86/udiv.asm
index d16bd6ccb..e3d9e011d 100644
--- a/mpn/x86/udiv.asm
+++ b/mpn/x86/udiv.asm
@@ -1,6 +1,6 @@
dnl x86 mpn_udiv_qrnnd -- 2 by 1 limb division
-dnl Copyright 1999, 2000 Free Software Foundation, Inc.
+dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
@@ -19,9 +19,10 @@ dnl License along with the GNU MP Library; see the file COPYING.LIB. If
dnl not, write to the Free Software Foundation, Inc., 59 Temple Place -
dnl Suite 330, Boston, MA 02111-1307, USA.
-
include(`../config.m4')
+NAILS_SUPPORT(0-31)
+
C mp_limb_t mpn_udiv_qrnnd (mp_limb_t *remptr, mp_limb_t high, mp_limb_t low,
C mp_limb_t divisor);
diff --git a/mpn/x86/umul.asm b/mpn/x86/umul.asm
index eb5d00927..68132063a 100644
--- a/mpn/x86/umul.asm
+++ b/mpn/x86/umul.asm
@@ -1,6 +1,6 @@
dnl mpn_umul_ppmm -- 1x1->2 limb multiplication
-dnl Copyright 1999, 2000 Free Software Foundation, Inc.
+dnl Copyright 1999, 2000, 2002 Free Software Foundation, Inc.
dnl
dnl This file is part of the GNU MP Library.
dnl
@@ -19,9 +19,10 @@ dnl License along with the GNU MP Library; see the file COPYING.LIB. If
dnl not, write to the Free Software Foundation, Inc., 59 Temple Place -
dnl Suite 330, Boston, MA 02111-1307, USA.
-
include(`../config.m4')
+NAILS_SUPPORT(0-31)
+
C mp_limb_t mpn_umul_ppmm (mp_limb_t *lowptr, mp_limb_t m1, mp_limb_t m2);
C