This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
Re: [COMMITTED] AArch64 ensure getcontext initializes pstate.
- From: Richard Henderson <rth at twiddle dot net>
- To: Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- Cc: libc-ports at sourceware dot org
- Date: Tue, 04 Jun 2013 05:43:02 -0700
- Subject: Re: [COMMITTED] AArch64 ensure getcontext initializes pstate.
- References: <CABXK9nceYFp9nAGy+CDcRvwC7ejg7tuyZgriLu__Nd1-Y_68vQ at mail dot gmail dot com>
On 06/04/2013 02:10 AM, Marcus Shawcroft wrote:
> mov x2, sp
> str x2, [x0, oSP]
>
> + /* Initialize the pstate. */
> + mov x3, #0
> + str x3, [x0, oPSTATE]
Surely you can store XZR directly?
r~