Hi,
On 2023-12-13 20:03:13 +0100, marco.bodr...@tutanota.com wrote:
> It was changed in 2001, probably a workaround, because the comment was
> "Don't use sprintf return value (it's a pointer on SunOS 4)"
> https://gmplib.org/repo/gmp/rev/0889877bb94a
Note that there are similar issues in
Robert Yates writes:
> mpn\arm64\bdiv_q_1.asm
> define(`cnt', `x5')
> PROLOGUE(mpn_pi1_bdiv_q_1)
> sub n, n, #1
> subsx6, x6, x6 C clear r6 and C flag
> ldr x9, [up],#8
> cbz cnt, L(norm)
>
>
> the cbz instruction acts upon parameter 6(32bit
Hi,
I found an obscure bug in gmp 6.3.0.
gmp-impl.h
#define mpn_pi1_bdiv_q_1 __MPN(pi1_bdiv_q_1)
__GMP_DECLSPEC mp_limb_t mpn_pi1_bdiv_q_1 (mp_ptr, mp_srcptr, mp_size_t,
mp_limb_t, mp_limb_t, int);
mpn\arm64\bdiv_q_1.asm
define(`cnt', `x5')
PROLOGUE(mpn_pi1_bdiv_q_1)
sub n, n,