bug-gmp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading uninitialized memory


From: Kevin Ryde
Subject: Re: Reading uninitialized memory
Date: 27 Jan 2002 08:21:00 +1000
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.5

Andrew Vaught <address@hidden> writes:
> 
>  ie, don't read the word until you need to.

I forgot you were looking at mpz_get_si.  It's a bit horrible.  I was
actually thinking of the simpler mpz_get_ui or the not dissimilar
mpz_odd_p.  Both of those can come out completely branch free by doing
their load unconditionally.

Torbjorn Granlund <address@hidden> writes:
>
> We are not going to
> make GMP slower just to shut up a memory checker tool.

But some tweaks under "#ifdef __CHECKER__" will be ok.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]