From patchwork Thu Jan 21 15:09:32 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eduardo Habkost X-Patchwork-Id: 8082491 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 774C39F440 for ; Thu, 21 Jan 2016 15:20:41 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E1C5A20502 for ; Thu, 21 Jan 2016 15:20:40 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3B3DA204A7 for ; Thu, 21 Jan 2016 15:20:40 +0000 (UTC) Received: from localhost ([::1]:48308 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMH2N-0005j5-IP for patchwork-qemu-devel@patchwork.kernel.org; Thu, 21 Jan 2016 10:20:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49889) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMGsF-0003pm-66 for qemu-devel@nongnu.org; Thu, 21 Jan 2016 10:10:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aMGsE-0006py-4p for qemu-devel@nongnu.org; Thu, 21 Jan 2016 10:10:11 -0500 Received: from mx1.redhat.com ([209.132.183.28]:53986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aMGsE-0006ph-0H for qemu-devel@nongnu.org; Thu, 21 Jan 2016 10:10:10 -0500 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id B148268E06; Thu, 21 Jan 2016 15:10:09 +0000 (UTC) Received: from localhost (ovpn-113-39.phx2.redhat.com [10.3.113.39]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u0LFA8Uh022290; Thu, 21 Jan 2016 10:10:09 -0500 From: Eduardo Habkost To: Peter Maydell Date: Thu, 21 Jan 2016 13:09:32 -0200 Message-Id: <1453388981-24807-4-git-send-email-ehabkost@redhat.com> In-Reply-To: <1453388981-24807-1-git-send-email-ehabkost@redhat.com> References: <1453388981-24807-1-git-send-email-ehabkost@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: qemu-devel@nongnu.org, Paolo Bonzini , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Richard Henderson Subject: [Qemu-devel] [PULL 03/12] target-i386: Use a _q array on MMXReg too X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Make MMXReg use the same field names used on XMMReg, so we can try to reuse macros and other code later. Signed-off-by: Eduardo Habkost --- target-i386/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 172d6c7..15e325e 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -739,7 +739,7 @@ typedef union { uint16_t _w[4]; uint32_t _l[2]; float32 _s[2]; - uint64_t q; + uint64_t _q[1]; } MMXReg; typedef struct BNDReg { @@ -777,7 +777,7 @@ typedef struct BNDCSReg { #define MMX_L(n) _l[n] #define MMX_S(n) _s[n] #endif -#define MMX_Q(n) q +#define MMX_Q(n) _q[n] typedef union { floatx80 d __attribute__((aligned(16)));