All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes
@ 2015-03-21  6:27 ` Emilio G. Cota
  0 siblings, 0 replies; 16+ messages in thread
From: Emilio G. Cota @ 2015-03-21  6:27 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Richard Henderson

This brings down the size of the struct from 56 to 48 bytes.

Signed-off-by: Emilio G. Cota <cota@braap.org>
---
 tcg/tcg.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tcg/tcg.h b/tcg/tcg.h
index add7f75..3276924 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -429,8 +429,8 @@ typedef struct TCGTemp {
     int val_type;
     int reg;
     tcg_target_long val;
-    int mem_reg;
     intptr_t mem_offset;
+    int mem_reg;
     unsigned int fixed_reg:1;
     unsigned int mem_coherent:1;
     unsigned int mem_allocated:1;
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2015-03-30 13:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-21  6:27 [Qemu-trivial] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes Emilio G. Cota
2015-03-21  6:27 ` [Qemu-devel] " Emilio G. Cota
2015-03-23 21:42 ` [Qemu-trivial] " Stefan Weil
2015-03-23 21:42   ` Stefan Weil
2015-03-24  1:07   ` [Qemu-trivial] " Richard Henderson
2015-03-24  1:07     ` Richard Henderson
2015-03-25 19:50     ` [Qemu-trivial] [PATCH] tcg: optimise memory layout of TCGTemp Emilio G. Cota
2015-03-25 19:50       ` [Qemu-devel] " Emilio G. Cota
2015-03-27  9:55       ` [Qemu-trivial] " Alex Bennée
2015-03-27  9:55         ` Alex Bennée
2015-03-27 21:09         ` [Qemu-trivial] " Emilio G. Cota
2015-03-27 21:09           ` Emilio G. Cota
2015-03-30  9:55           ` [Qemu-trivial] " Laurent Desnogues
2015-03-30  9:55             ` Laurent Desnogues
2015-03-27 14:58       ` [Qemu-trivial] " Richard Henderson
2015-03-27 14:58         ` [Qemu-devel] " Richard Henderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.