From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23017 invoked by alias); 4 Jun 2013 12:43:15 -0000 Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org Received: (qmail 22955 invoked by uid 89); 4 Jun 2013 12:43:14 -0000 X-Spam-SWARE-Status: No, score=-3.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE,SPF_PASS autolearn=ham version=3.3.1 Received: from mail-qe0-f41.google.com (HELO mail-qe0-f41.google.com) (209.85.128.41) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Tue, 04 Jun 2013 12:43:08 +0000 Received: by mail-qe0-f41.google.com with SMTP id b4so100048qen.14 for ; Tue, 04 Jun 2013 05:43:06 -0700 (PDT) X-Received: by 10.229.174.70 with SMTP id s6mr1796408qcz.51.1370349786747; Tue, 04 Jun 2013 05:43:06 -0700 (PDT) Received: from anchor.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id oh9sm63692996qeb.5.2013.06.04.05.43.05 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Tue, 04 Jun 2013 05:43:05 -0700 (PDT) Message-ID: <51ADE0D6.4030202@twiddle.net> Date: Tue, 04 Jun 2013 12:43:00 -0000 From: Richard Henderson User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130514 Thunderbird/17.0.6 MIME-Version: 1.0 To: Marcus Shawcroft CC: libc-ports@sourceware.org Subject: Re: [COMMITTED] AArch64 ensure getcontext initializes pstate. References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SW-Source: 2013-06/txt/msg00001.txt.bz2 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~