From 326fa3d20719f3b879cc323f995f4436a3095c72 Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Sun, 18 Feb 2018 23:13:43 -0500 Subject: [PATCH] target-i386: Use a _q array on MMXReg too Make MMXReg use the same field names used on XMMReg, so we can try to reuse macros and other code later. Backports commit 9618f40f06e90c8fa8ae06b56c7404a7cc937e22 from qemu --- qemu/target-i386/cpu.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qemu/target-i386/cpu.h b/qemu/target-i386/cpu.h index 635c0f81..5e8f8fa9 100644 --- a/qemu/target-i386/cpu.h +++ b/qemu/target-i386/cpu.h @@ -736,7 +736,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 { @@ -774,7 +774,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 QEMU_ALIGN(16, d);