This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [PATCH] [AARCH64]: Pointer mangling support for Aarch64
- From: Richard Henderson <rth at twiddle dot net>
- To: Venkataramanan Kumar <venkataramanan dot kumar at linaro dot org>, libc-ports at sourceware dot org
- Cc: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>, Marcus Shawcroft <marcus dot shawcroft at arm dot com>, Carlos O'Donell <carlos at redhat dot com>, Patch Tracking <patch at linaro dot org>
- Date: Thu, 26 Dec 2013 11:33:29 -0800
- Subject: Re: [PATCH] [AARCH64]: Pointer mangling support for Aarch64
- Authentication-results: sourceware.org; auth=none
- References: <CAJK_mQ0EoE+_JQvSL+5=C_+Q6JgsV8hvXipy8OgR8+GYyYgt3A at mail dot gmail dot com>
On 12/26/2013 04:25 AM, Venkataramanan Kumar wrote:
> +#ifdef PTR_DEMANGLE
> ldp x29, x30, [x0, #JB_X29<<3]
> -
> + PTR_DEMANGLE (x4, x30, x3, x2)
> + mov x30, x4
> +#else
Why not load into x4 and then demangle into x30 directly? I.e.
ldp x29, x4, [x0, #JB_X29<<3]
PTR_DEMANGLE (x30, x4, x3, x2)
r~