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: Marcus Shawcroft <marcus dot shawcroft at linaro dot org>
- To: Richard Henderson <rth at twiddle dot net>
- Cc: libc-ports at sourceware dot org
- Date: Wed, 5 Jun 2013 16:03:19 +0100
- Subject: Re: [COMMITTED] AArch64 ensure getcontext initializes pstate.
- References: <CABXK9nceYFp9nAGy+CDcRvwC7ejg7tuyZgriLu__Nd1-Y_68vQ at mail dot gmail dot com> <51ADE0D6 dot 4030202 at twiddle dot net>
On 4 June 2013 13:43, Richard Henderson <rth@twiddle.net> wrote:
> 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?
Yes... I'll push another patch shortly.
/Marcus