mirror of https://github.com/proxmox/mirror_qemu
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>master
parent
83625474b3
commit
9618f40f06
|
@ -739,7 +739,7 @@ typedef union {
|
||||||
uint16_t _w[4];
|
uint16_t _w[4];
|
||||||
uint32_t _l[2];
|
uint32_t _l[2];
|
||||||
float32 _s[2];
|
float32 _s[2];
|
||||||
uint64_t q;
|
uint64_t _q[1];
|
||||||
} MMXReg;
|
} MMXReg;
|
||||||
|
|
||||||
typedef struct BNDReg {
|
typedef struct BNDReg {
|
||||||
|
@ -777,7 +777,7 @@ typedef struct BNDCSReg {
|
||||||
#define MMX_L(n) _l[n]
|
#define MMX_L(n) _l[n]
|
||||||
#define MMX_S(n) _s[n]
|
#define MMX_S(n) _s[n]
|
||||||
#endif
|
#endif
|
||||||
#define MMX_Q(n) q
|
#define MMX_Q(n) _q[n]
|
||||||
|
|
||||||
typedef union {
|
typedef union {
|
||||||
floatx80 d __attribute__((aligned(16)));
|
floatx80 d __attribute__((aligned(16)));
|
||||||
|
|
Loading…
Reference in New Issue