diff options
author | Torbjorn Granlund <tege@gmplib.org> | 2009-11-28 12:57:53 +0100 |
---|---|---|
committer | Torbjorn Granlund <tege@gmplib.org> | 2009-11-28 12:57:53 +0100 |
commit | 4fab69d02817734bc7e21e6c3f61bd3098b3b394 (patch) | |
tree | 0a43f3246a49a0a04fba10900dcea1868c208578 /tune/speed-ext.c | |
parent | 2c639d5f1b78f47267eecfca5396a0eabc7ea5e9 (diff) | |
download | gmp-4fab69d02817734bc7e21e6c3f61bd3098b3b394.tar.gz |
Finish renaming BITS_PER_MP_LIMB to GMP_LIMB_BITS.
Diffstat (limited to 'tune/speed-ext.c')
-rw-r--r-- | tune/speed-ext.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tune/speed-ext.c b/tune/speed-ext.c index 04760a5ea..2035fa80d 100644 --- a/tune/speed-ext.c +++ b/tune/speed-ext.c @@ -82,8 +82,8 @@ mean_calls (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size) ASSERT (size >= 1); c = mpn_add_n (wp, xp, yp, size); - ret = mpn_rshift (wp, wp, size, 1) >> (BITS_PER_MP_LIMB-1); - wp[size-1] |= (c << (BITS_PER_MP_LIMB-1)); + ret = mpn_rshift (wp, wp, size, 1) >> (GMP_LIMB_BITS-1); + wp[size-1] |= (c << (GMP_LIMB_BITS-1)); return ret; } @@ -107,7 +107,7 @@ mean_open (mp_ptr wp, mp_srcptr xp, mp_srcptr yp, mp_size_t size) c = (wprev < x); ret = (wprev & 1); -#define RSHIFT(hi,lo) (((lo) >> 1) | ((hi) << (BITS_PER_MP_LIMB-1))) +#define RSHIFT(hi,lo) (((lo) >> 1) | ((hi) << (GMP_LIMB_BITS-1))) for (i = 1; i < size; i++) { |