mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-11 09:15:38 +00:00
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
This commit is contained in:
parent
ea83d22cdf
commit
326fa3d207
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue