summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortege <tege@gmplib.org>2002-05-23 19:48:57 +0200
committertege <tege@gmplib.org>2002-05-23 19:48:57 +0200
commit361b5fdd09480abb916a17df09bdb8feaec4b6fc (patch)
tree541a19a6cc32f12c44f108667b19dd5a7c33f0f6
parent837b31df401fc95fabce60fe4fea0fce580740ec (diff)
downloadgmp-361b5fdd09480abb916a17df09bdb8feaec4b6fc.tar.gz
Add comment about performance.
-rw-r--r--mpn/alpha/ev6/nails/add_n.asm6
-rw-r--r--mpn/alpha/ev6/nails/sub_n.asm6
2 files changed, 12 insertions, 0 deletions
diff --git a/mpn/alpha/ev6/nails/add_n.asm b/mpn/alpha/ev6/nails/add_n.asm
index 2e519f6ee..1965301a7 100644
--- a/mpn/alpha/ev6/nails/add_n.asm
+++ b/mpn/alpha/ev6/nails/add_n.asm
@@ -47,6 +47,12 @@ define(`numb_mask',`r21')
define(`NAIL_BITS',`GMP_NAIL_BITS')
define(`CYSH',`GMP_NUMB_BITS')
+dnl This declaration is munged by configure
+NAILS_SUPPORT(1-63)
+
+dnl Runs at 2.5 cycles/limb. It would be possible to reach 2.0 cycles/limb
+dnl with 8-way unrolling.
+
ASM_START()
PROLOGUE(mpn_add_n)
lda numb_mask, -1(r31)
diff --git a/mpn/alpha/ev6/nails/sub_n.asm b/mpn/alpha/ev6/nails/sub_n.asm
index 137220a01..a4abf3f32 100644
--- a/mpn/alpha/ev6/nails/sub_n.asm
+++ b/mpn/alpha/ev6/nails/sub_n.asm
@@ -47,6 +47,12 @@ define(`numb_mask',`r21')
define(`NAIL_BITS',`GMP_NAIL_BITS')
define(`CYSH',63)
+dnl This declaration is munged by configure
+NAILS_SUPPORT(1-63)
+
+dnl Runs at 2.5 cycles/limb. It would be possible to reach 2.0 cycles/limb
+dnl with 8-way unrolling.
+
ASM_START()
PROLOGUE(mpn_sub_n)
lda numb_mask, -1(r31)