From 13e28e9b6be05efb152526f73bcfc9b3ce0a6d9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albin=20Ahlb=C3=A4ck?= Date: Mon, 9 Dec 2024 14:02:02 +0000 Subject: [PATCH] Fix macros mpn_extras.h --- src/mpn_extras.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/mpn_extras.h b/src/mpn_extras.h index 90fc8e6436..16ce9061ae 100644 --- a/src/mpn_extras.h +++ b/src/mpn_extras.h @@ -278,13 +278,13 @@ char * _flint_mpn_get_str(mp_srcptr x, mp_size_t n); #define FLINT_MPN_MUL_2X2(r3, r2, r1, r0, a1, a0, b1, b0) \ do { \ - mp_limb_t __t1, __t2, __u1, __u2; \ + mp_limb_t __v1, __v2, __u1, __u2; \ mp_limb_t __r3, __r2, __r1, __r0; \ mp_limb_t __a1 = (a1), __a0 = (a0), __b1 = (b1), __b0 = (b0); \ umul_ppmm(__r1, __r0, __a0, __b0); \ umul_ppmm(__r3, __r2, __a1, __b1); \ - umul_ppmm(__t2, __t1, __a0, __b1); \ - add_sssaaaaaa(__r3, __r2, __r1, __r3, __r2, __r1, 0, __t2, __t1); \ + umul_ppmm(__v2, __v1, __a0, __b1); \ + add_sssaaaaaa(__r3, __r2, __r1, __r3, __r2, __r1, 0, __v2, __v1); \ umul_ppmm(__u2, __u1, __a1, __b0); \ add_sssaaaaaa(__r3, __r2, __r1, __r3, __r2, __r1, 0, __u2, __u1); \ (r0) = __r0; (r1) = __r1; (r2) = __r2; (r3) = __r3; \ @@ -307,14 +307,14 @@ char * _flint_mpn_get_str(mp_srcptr x, mp_size_t n); #define FLINT_MPN_SQR_2X2(r3, r2, r1, r0, a1, a0) \ do { \ - mp_limb_t __t1, __t2, __t3; \ + mp_limb_t __u1, __u2, __u3; \ mp_limb_t __r3, __r2, __r1, __r0; \ mp_limb_t __a1 = (a1), __a0 = (a0); \ - umul_ppmm(__t2, __t1, __a0, __a1); \ - add_sssaaaaaa(__t3, __t2, __t1, 0, __t2, __t1, 0, __t2, __t1); \ + umul_ppmm(__u2, __u1, __a0, __a1); \ + add_sssaaaaaa(__u3, __u2, __u1, 0, __u2, __u1, 0, __u2, __u1); \ umul_ppmm(__r1, __r0, __a0, __a0); \ umul_ppmm(__r3, __r2, __a1, __a1); \ - add_sssaaaaaa(__r3, __r2, __r1, __r3, __r2, __r1, __t3, __t2, __t1); \ + add_sssaaaaaa(__r3, __r2, __r1, __r3, __r2, __r1, __u3, __u2, __u1); \ (r0) = __r0; (r1) = __r1; (r2) = __r2; (r3) = __r3; \ } while (0)