From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50221) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3T5H-0007GX-CP for qemu-devel@nongnu.org; Mon, 30 Nov 2015 13:21:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a3T5G-00066T-JO for qemu-devel@nongnu.org; Mon, 30 Nov 2015 13:21:55 -0500 Received: from mx1.redhat.com ([209.132.183.28]:50320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a3T5G-00066O-Dt for qemu-devel@nongnu.org; Mon, 30 Nov 2015 13:21:54 -0500 From: Eduardo Habkost Date: Mon, 30 Nov 2015 16:21:37 -0200 Message-Id: <1448907702-24815-3-git-send-email-ehabkost@redhat.com> In-Reply-To: <1448907702-24815-1-git-send-email-ehabkost@redhat.com> References: <1448907702-24815-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 2/7] target-i386: Use a _q array on MMXReg too List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Richard Henderson 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 84edfd0..154891e 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))); -- 2.1.0