From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12373 invoked by alias); 5 Jun 2013 15:03:23 -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 12360 invoked by uid 89); 5 Jun 2013 15:03:23 -0000 X-Spam-SWARE-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE autolearn=ham version=3.3.1 Received: from mail-pb0-f42.google.com (HELO mail-pb0-f42.google.com) (209.85.160.42) by sourceware.org (qpsmtpd/0.84/v0.84-167-ge50287c) with ESMTP; Wed, 05 Jun 2013 15:03:21 +0000 Received: by mail-pb0-f42.google.com with SMTP id uo1so1911493pbc.29 for ; Wed, 05 Jun 2013 08:03:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=B7foCJj87xpntuquBbaC1BUmFEtrftAg8gGEiTIw6xs=; b=OxjWiu56F3FFVamO11G5hB6rffrrmWVyHe06unX+Q6abhvRMYlrH40F5oIyOts4EWS M0K4pvWcaJ+uORjtgguTzZrEkgxuOXUu5EVyaGhscd6FPZkAyet8wfEUQ6OU+hte5knK aJVxeot3xtQ2dzxlZusARI42b0vBCmqVD3pEHjfUvaPj0iabuStLjbbXS1VfRqAVy5tN bJBWSS3Q1c/mLuHDxT9CigiH8X7Jpb3/YeRjxAzCW/SnelgyZKR36yNTfZ9kpDGHJuGp dP4XRTgxxuxNX7ATnrzHTqrz/qX0wkunsqnF0bg3pYm8N/T8LKA7oLqZ8NaCSngCvHuR 03Hg== MIME-Version: 1.0 X-Received: by 10.66.82.162 with SMTP id j2mr34905207pay.168.1370444599939; Wed, 05 Jun 2013 08:03:19 -0700 (PDT) Received: by 10.68.254.226 with HTTP; Wed, 5 Jun 2013 08:03:19 -0700 (PDT) In-Reply-To: <51ADE0D6.4030202@twiddle.net> References: <51ADE0D6.4030202@twiddle.net> Date: Wed, 05 Jun 2013 15:03:00 -0000 Message-ID: Subject: Re: [COMMITTED] AArch64 ensure getcontext initializes pstate. From: Marcus Shawcroft To: Richard Henderson Cc: libc-ports@sourceware.org Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnY94en9abZVgqJr9QMqXpHfNK557bKywFwHJxF0feFm0RhXYxqVFN52qn8vxiNJGVX/Beu X-SW-Source: 2013-06/txt/msg00003.txt.bz2 On 4 June 2013 13:43, Richard Henderson 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