Re: [Qemu-devel] [PATCH v2] tcg: optimise memory layout of TCGTemp

2015-04-07 Thread Alex Bennée
Emilio G. Cota writes: > This brings down the size of the struct from 56 to 32 bytes on 64-bit, > and to 20 bytes on 32-bit. This leads to memory savings: > > Before: > $ find . -name 'tcg.o' | xargs size >textdata bss dec hex filename > 41131 29800 88 71019 1156

Re: [Qemu-devel] [PATCH v2] tcg: optimise memory layout of TCGTemp

2015-04-03 Thread Richard Henderson
On 04/02/2015 05:07 PM, Emilio G. Cota wrote: > After: > $ taskset -c 0 perf stat -r 15 -- x86_64-linux-user/qemu-x86_64 > img/bntest-x86_64 >/dev/null > Performance counter stats for 'x86_64-linux-user/qemu-x86_64 > img/bntest-x86_64' (15 runs): > > 10459.968847 task-clock (msec)

Re: [Qemu-devel] [PATCH v2] tcg: optimise memory layout of TCGTemp

2015-04-03 Thread Stefan Weil
Am 03.04.2015 um 02:07 schrieb Emilio G. Cota: This brings down the size of the struct from 56 to 32 bytes on 64-bit, and to 20 bytes on 32-bit. This leads to memory savings: Before: $ find . -name 'tcg.o' | xargs size textdata bss dec hex filename 41131 29800 88

[Qemu-devel] [PATCH v2] tcg: optimise memory layout of TCGTemp

2015-04-02 Thread Emilio G. Cota
This brings down the size of the struct from 56 to 32 bytes on 64-bit, and to 20 bytes on 32-bit. This leads to memory savings: Before: $ find . -name 'tcg.o' | xargs size textdata bss dec hex filename 41131 29800 88 71019 1156b ./aarch64-softmmu/tcg/tcg.o 37969