Re: [Qemu-devel] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes

2015-03-23 Thread Richard Henderson
On 03/23/2015 02:42 PM, Stefan Weil wrote: > Further optimizations are possible. TCGTemp can be reduced to 32 bytes as the > output > of pahole shows: > > struct TCGTemp { > TCGTempVal val_type:8; /* 0:24 4 */ Need only be 2 bits. > unsigned int

Re: [Qemu-devel] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes

2015-03-23 Thread Stefan Weil
Am 21.03.2015 um 07:27 schrieb Emilio G. Cota: This brings down the size of the struct from 56 to 48 bytes. Signed-off-by: Emilio G. Cota --- 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 +++

[Qemu-devel] [PATCH] tcg: pack TCGTemp to reduce size by 8 bytes

2015-03-20 Thread Emilio G. Cota
This brings down the size of the struct from 56 to 48 bytes. Signed-off-by: Emilio G. Cota --- 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 TCGT