From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnzZf-0003K2-I9 for qemu-devel@nongnu.org; Tue, 03 Dec 2013 18:40:20 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnzZZ-0008Dq-Va for qemu-devel@nongnu.org; Tue, 03 Dec 2013 18:40:15 -0500 Received: from mail-yh0-f54.google.com ([209.85.213.54]:49393) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnzZZ-0008Di-RB for qemu-devel@nongnu.org; Tue, 03 Dec 2013 18:40:09 -0500 Received: by mail-yh0-f54.google.com with SMTP id z12so10909352yhz.27 for ; Tue, 03 Dec 2013 15:39:34 -0800 (PST) Sender: Richard Henderson Message-ID: <529E6BAE.5050107@twiddle.net> Date: Wed, 04 Dec 2013 12:39:26 +1300 From: Richard Henderson MIME-Version: 1.0 References: <1386107477-24165-1-git-send-email-peter.maydell@linaro.org> <1386107477-24165-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1386107477-24165-4-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 03/12] target-arm: A64: provide functions for accessing FPCR and FPSR List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , qemu-devel@nongnu.org Cc: patches@linaro.org, Michael Matz , Alexander Graf , C Fontana , Dirk Mueller , Laurent Desnogues , kvmarm@lists.cs.columbia.edu On 12/04/2013 10:51 AM, Peter Maydell wrote: > The information which AArch32 holds in the FPSCR is split for > AArch64 into two logically distinct registers, FPSR and FPCR. > Since they are carefully arranged to use non-overlapping bits, > we leave the underlying state in the same place, and provide > accessor functions which just update the appropriate bits > via vfp_get_fpscr() and vfp_set_fpscr(). > > Signed-off-by: Peter Maydell > --- > target-arm/cpu.h | 28 ++++++++++++++++++++++++++++ > 1 file changed, 28 insertions(+) Reviewed-by: Richard Henderson r~