Re: [Qemu-devel] [PATCH 0/5] Only one call output register needed for 64 bit hosts

2011-09-17 Thread Stefan Weil

Am 05.09.2011 11:06, schrieb Stefan Weil:

The number of registers needed for the return value of TCG opcode
INDEX_op_call is calculated in function tcg_gen_callN (nb_rets).

It can be 0 or 1, for 32 bit hosts also 2 (return 64 bit value in
two 32 bit registers).

Some TCG implementations reserve 2 registers although only 1 is used.
The following patches fix this.

[PATCH 1/5] tcg/i386: Only one call output register needed for 64 bit 
hosts
[PATCH 2/5] tcg/ia64: Only one call output register needed for 64 bit 
hosts
[PATCH 3/5] tcg/s390: Only one call output register needed for 64 bit 
hosts
[PATCH 4/5] tcg/sparc: Only one call output register needed for 64 bit 
hosts
[PATCH 5/5] tcg/ppc64: Only one call output register needed for 64 bit 
hosts


Patch 3 was acked by Richard Henderson, so was patch 5 by Malc.

What about the other three patches (i386 / ia64, sparc)? They are all 
similar,

so I think they could also be committed without more reviews.

Thanks,
Stefan Weil




Re: [Qemu-devel] [PATCH 0/5] Only one call output register needed for 64 bit hosts

2011-09-17 Thread Blue Swirl
Thanks, applied all.

On Sat, Sep 17, 2011 at 2:01 PM, Stefan Weil w...@mail.berlios.de wrote:
 Am 05.09.2011 11:06, schrieb Stefan Weil:

 The number of registers needed for the return value of TCG opcode
 INDEX_op_call is calculated in function tcg_gen_callN (nb_rets).

 It can be 0 or 1, for 32 bit hosts also 2 (return 64 bit value in
 two 32 bit registers).

 Some TCG implementations reserve 2 registers although only 1 is used.
 The following patches fix this.

 [PATCH 1/5] tcg/i386: Only one call output register needed for 64 bit
 hosts
 [PATCH 2/5] tcg/ia64: Only one call output register needed for 64 bit
 hosts
 [PATCH 3/5] tcg/s390: Only one call output register needed for 64 bit
 hosts
 [PATCH 4/5] tcg/sparc: Only one call output register needed for 64 bit
 hosts
 [PATCH 5/5] tcg/ppc64: Only one call output register needed for 64 bit
 hosts

 Patch 3 was acked by Richard Henderson, so was patch 5 by Malc.

 What about the other three patches (i386 / ia64, sparc)? They are all
 similar,
 so I think they could also be committed without more reviews.

 Thanks,
 Stefan Weil





[Qemu-devel] [PATCH 0/5] Only one call output register needed for 64 bit hosts

2011-09-05 Thread Stefan Weil
The number of registers needed for the return value of TCG opcode
INDEX_op_call is calculated in function tcg_gen_callN (nb_rets).

It can be 0 or 1, for 32 bit hosts also 2 (return 64 bit value in
two 32 bit registers).

Some TCG implementations reserve 2 registers although only 1 is used.
The following patches fix this.

[PATCH 1/5] tcg/i386: Only one call output register needed for 64 bit hosts
[PATCH 2/5] tcg/ia64: Only one call output register needed for 64 bit hosts
[PATCH 3/5] tcg/s390: Only one call output register needed for 64 bit hosts
[PATCH 4/5] tcg/sparc: Only one call output register needed for 64 bit hosts
[PATCH 5/5] tcg/ppc64: Only one call output register needed for 64 bit hosts