projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8362547
)
target-i386: Use a _q array on MMXReg too
author
Eduardo Habkost
<ehabkost@redhat.com>
Thu, 19 Nov 2015 18:51:36 +0000
(16:51 -0200)
committer
Eduardo Habkost
<ehabkost@redhat.com>
Thu, 21 Jan 2016 14:47:15 +0000
(12:47 -0200)
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>
target-i386/cpu.h
patch
|
blob
|
history
diff --git
a/target-i386/cpu.h
b/target-i386/cpu.h
index
172d6c7
..
15e325e
100644
(file)
--- 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)));