Re: [Qemu-devel] [PATCH 1/2] tcg/i386: remove suboptimal register shifting

2012-10-20 Thread Richard Henderson
On 2012-10-21 03:28, Aurelien Jarno wrote: > Now that CONFIG_TCG_PASS_AREG0 has been removed, it's easier to get > an optimal code for the load/store functions. > > First swap the two registers used in tcg_out_tlb_load() so that the > address end-up in the second register instead of the first one.

[Qemu-devel] [PATCH 1/2] tcg/i386: remove suboptimal register shifting

2012-10-20 Thread Aurelien Jarno
Now that CONFIG_TCG_PASS_AREG0 has been removed, it's easier to get an optimal code for the load/store functions. First swap the two registers used in tcg_out_tlb_load() so that the address end-up in the second register instead of the first one. Adjust tcg_out_qemu_ld() and tcg_out_qemu_st() to re