qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC][PATCH v2 4/4] configure: add CONFIG_QEMU_LDST_OPT


From: Peter Maydell
Subject: Re: [Qemu-devel] [RFC][PATCH v2 4/4] configure: add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization
Date: Thu, 5 Jul 2012 15:06:18 +0100

On 5 July 2012 14:23, Yeongkyoon Lee <address@hidden> wrote:
> Add an option "--enable-ldst-optimization" to enable 
> CONFIG_QEMU_LDST_OPTIMIZATION macro for TCG qemu_ld/st optimization. It only 
> works with CONFIG_SOFTMMU and doesn't work with CONFIG_TCG_PASS_AREG0.

This shouldn't be a user settable config option -- we should
just identify what the optimal setting is for the guest/target
combination and use it.

>  case "$target_arch2" in
>    alpha | sparc* | xtensa* | ppc*)
>      echo "CONFIG_TCG_PASS_AREG0=y" >> $config_target_mak
> +    # qemu_ld/st optimization is not available with CONFIG_TCG_PASS_AREG0
> +    target_ldst_optimization="no"

PASS_AREG0 is the way of the future -- you need to fix the ldst
optimization to work with it.

-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]