summaryrefslogtreecommitdiff
path: root/tune
diff options
context:
space:
mode:
authorKevin Ryde <user42@zip.com.au>2003-12-06 23:31:57 +0100
committerKevin Ryde <user42@zip.com.au>2003-12-06 23:31:57 +0100
commitb94137325126de0862b5235cc2e77b73dc37661b (patch)
treeaabceb5b1fb3b1849b15a49210943173d4c5860f /tune
parent756745435c851d86d398d4bc409c2307444f321e (diff)
downloadgmp-b94137325126de0862b5235cc2e77b73dc37661b.tar.gz
* tune/common.c (speed_mpn_hgcd, speed_mpn_hgcd_lehmer): Use intended
align_xp, align_yp. (hgcd is not really affected by alignment, but follow the convention anyway.)
Diffstat (limited to 'tune')
-rw-r--r--tune/common.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tune/common.c b/tune/common.c
index a2b7eaef8..5fb346ab1 100644
--- a/tune/common.c
+++ b/tune/common.c
@@ -997,8 +997,8 @@ speed_mpn_hgcd (struct speed_params *s)
TMP_MARK (marker);
- ap = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_wp);
- bp = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_wp);
+ ap = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_xp);
+ bp = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_yp);
MPN_COPY (ap, s->xp, s->size);
MPN_COPY (bp, s->yp, s->size);
@@ -1055,8 +1055,8 @@ speed_mpn_hgcd_lehmer (struct speed_params *s)
TMP_MARK (marker);
- ap = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_wp);
- bp = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_wp);
+ ap = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_xp);
+ bp = SPEED_TMP_ALLOC_LIMBS (s->size + 1, s->align_yp);
MPN_COPY (ap, s->xp, s->size);
MPN_COPY (bp, s->yp, s->size);