diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-11-19 16:51:36 -0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2016-01-21 12:47:15 -0200 |
commit | 9618f40f06e90c8fa8ae06b56c7404a7cc937e22 (patch) | |
tree | 41cb90fb25f822a121d38dab24e9a17e992ba5f9 /target-i386/cpu.h | |
parent | 83625474b340c0f1eb2544d7a6e898cc68e868a2 (diff) | |
download | qemu-9618f40f06e90c8fa8ae06b56c7404a7cc937e22.zip qemu-9618f40f06e90c8fa8ae06b56c7404a7cc937e22.tar.gz qemu-9618f40f06e90c8fa8ae06b56c7404a7cc937e22.tar.bz2 |
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.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/cpu.h')
-rw-r--r-- | target-i386/cpu.h | 4 |
1 files 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))); |