diff options
author | tege <tege@gmplib.org> | 1999-10-29 17:02:50 +0200 |
---|---|---|
committer | tege <tege@gmplib.org> | 1999-10-29 17:02:50 +0200 |
commit | 0341e23bd7904217777d9bb07da8c049e254d3e0 (patch) | |
tree | b3482938a94c89a9990dc190e0f2711c58503d3a /longlong.h | |
parent | 27b0074a148f8155fde03a951023e2cce17f3e18 (diff) | |
download | gmp-0341e23bd7904217777d9bb07da8c049e254d3e0.tar.gz |
* (default umul_ppmm, when smul_ppmm exists):
Rename __m0 => __xm0, __m1 => __xm1.
* (default smul_ppmm): Likewise.
Diffstat (limited to 'longlong.h')
-rw-r--r-- | longlong.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/longlong.h b/longlong.h index 65480e945..3597a3731 100644 --- a/longlong.h +++ b/longlong.h @@ -1109,10 +1109,10 @@ extern USItype __udiv_qrnnd _PROTO ((USItype *, USItype, USItype, USItype)); #define umul_ppmm(w1, w0, u, v) \ do { \ UWtype __w1; \ - UWtype __m0 = (u), __m1 = (v); \ - smul_ppmm (__w1, w0, __m0, __m1); \ - (w1) = __w1 + (-(__m0 >> (W_TYPE_SIZE - 1)) & __m1) \ - + (-(__m1 >> (W_TYPE_SIZE - 1)) & __m0); \ + UWtype __xm0 = (u), __xm1 = (v); \ + smul_ppmm (__w1, w0, __xm0, __xm1); \ + (w1) = __w1 + (-(__xm0 >> (W_TYPE_SIZE - 1)) & __xm1) \ + + (-(__xm1 >> (W_TYPE_SIZE - 1)) & __xm0); \ } while (0) #endif @@ -1150,10 +1150,10 @@ extern USItype __udiv_qrnnd _PROTO ((USItype *, USItype, USItype, USItype)); #define smul_ppmm(w1, w0, u, v) \ do { \ UWtype __w1; \ - UWtype __m0 = (u), __m1 = (v); \ - umul_ppmm (__w1, w0, __m0, __m1); \ - (w1) = __w1 - (-(__m0 >> (W_TYPE_SIZE - 1)) & __m1) \ - - (-(__m1 >> (W_TYPE_SIZE - 1)) & __m0); \ + UWtype __xm0 = (u), __xm1 = (v); \ + umul_ppmm (__w1, w0, __xm0, __xm1); \ + (w1) = __w1 - (-(__xm0 >> (W_TYPE_SIZE - 1)) & __xm1) \ + - (-(__xm1 >> (W_TYPE_SIZE - 1)) & __xm0); \ } while (0) #endif |