This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [AARCH64]: Pointer mangling support for Aarch64


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]