From patchwork Sun Feb 16 21:23:54 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: BALATON Zoltan X-Patchwork-Id: 1238859 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org (client-ip=209.51.188.17; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=eik.bme.hu Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48LLBg41JJz9sP7 for ; Mon, 17 Feb 2020 08:40:27 +1100 (AEDT) Received: from localhost ([::1]:36772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3ReL-0004c5-Cl for incoming@patchwork.ozlabs.org; Sun, 16 Feb 2020 16:40:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47458) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j3Rdy-0004bU-Bs for qemu-devel@nongnu.org; Sun, 16 Feb 2020 16:40:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j3Rdw-0001aw-PQ for qemu-devel@nongnu.org; Sun, 16 Feb 2020 16:40:01 -0500 Received: from zero.eik.bme.hu ([152.66.115.2]:30206) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j3Rdw-0001OH-Il; Sun, 16 Feb 2020 16:40:00 -0500 Received: from zero.eik.bme.hu (blah.eik.bme.hu [152.66.115.182]) by localhost (Postfix) with SMTP id 8E116747DFE; Sun, 16 Feb 2020 22:39:51 +0100 (CET) Received: by zero.eik.bme.hu (Postfix, from userid 432) id 15C2A747DCF; Sun, 16 Feb 2020 22:39:51 +0100 (CET) Message-Id: <5b50e9e7eec2c383ae878b397d0b2927efc9ea43.1581888834.git.balaton@eik.bme.hu> In-Reply-To: References: From: BALATON Zoltan Date: Sun, 16 Feb 2020 22:23:54 +0100 Subject: [PATCH 1/2] target/ppc/cpu.h: Move fpu related members closer in cpu env To: qemu-devel@nongnu.org X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 152.66.115.2 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-ppc@nongnu.org, David Gibson Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" Move fp_status and fpscr closer to other floating point and vector related members in cpu env definition so they are in one group. Signed-off-by: BALATON Zoltan --- target/ppc/cpu.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/target/ppc/cpu.h b/target/ppc/cpu.h index 07dd2b4da7..c3b0a00064 100644 --- a/target/ppc/cpu.h +++ b/target/ppc/cpu.h @@ -997,11 +997,6 @@ struct CPUPPCState { /* temporary general purpose registers */ target_ulong tgpr[4]; /* Used to speed-up TLB assist handlers */ - /* Floating point execution context */ - float_status fp_status; - /* floating point status and control register */ - target_ulong fpscr; - /* Next instruction pointer */ target_ulong nip; @@ -1060,6 +1055,10 @@ struct CPUPPCState { * used simultaneously */ float_status vec_status; + /* Floating point execution context */ + float_status fp_status; + /* floating point status and control register */ + target_ulong fpscr; /* Internal devices resources */ /* Time base and decrementer */