Re: [Qemu-devel] [PATCH v5 3/3] tcg: Optimize qemu_ld/st by generating slow paths at the end of a block

2012-10-09 Thread Yeongkyoon Lee
On 2012년 10월 10일 03:49, Richard Henderson wrote: On 10/09/2012 05:37 AM, Yeongkyoon Lee wrote: +#if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) +/* Initialize qemu_ld/st labels to assist code generation at the end of TB + for TLB miss cases at the end of TB */ +

Re: [Qemu-devel] [PATCH v5 3/3] tcg: Optimize qemu_ld/st by generating slow paths at the end of a block

2012-10-09 Thread Richard Henderson
On 10/09/2012 05:37 AM, Yeongkyoon Lee wrote: > +#if defined(CONFIG_QEMU_LDST_OPTIMIZATION) && defined(CONFIG_SOFTMMU) > +/* Initialize qemu_ld/st labels to assist code generation at the end of > TB > + for TLB miss cases at the end of TB */ > +s->qemu_ldst_labels = tcg_malloc(sizeof

[Qemu-devel] [PATCH v5 3/3] tcg: Optimize qemu_ld/st by generating slow paths at the end of a block

2012-10-09 Thread Yeongkyoon Lee
Add optimized TCG qemu_ld/st generation which locates the code of TLB miss cases at the end of a block after generating the other IRs. Currently, this optimization supports only i386 and x86_64 hosts. Signed-off-by: Yeongkyoon Lee --- tcg/i386/tcg-target.c | 420