This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Remove the `q' suffix in x86_64 PTR_MANGLE/PTR_DEMANGLE
On Fri, Mar 16, 2012 at 3:54 PM, Roland McGrath <roland@hack.frob.com> wrote:
> That looks fine to me.
>
> But don't you want to rotate by 9 rather than 17 when dealing with a 32-bit
> pointer, like the i386 version does?
>
> It could be genericized here by using a "i" constraint on an input argument
> that you compute from sizeof (void *).
>
>
My patch:
http://sourceware.org/ml/libc-alpha/2012-03/msg00604.html
defines LP_SIZE. We can simple use $2*LP_SIZE+1 instead of $17.
It works for me.
--
H.J.