From: Evgeny Voevodin <e.voevodin@samsung.com>
To: "Andreas Färber" <afaerber@suse.de>
Cc: Peter Maydell <peter.maydell@linaro.org>,
chenwj@iis.sinica.edu.tw,
Yeongkyoon Lee <yeongkyoon.lee@samsung.com>,
qemu-devel@nongnu.org, Blue Swirl <blauwirbel@gmail.com>,
laurent.desnogues@gmail.com
Subject: Re: [Qemu-devel] [RFC][PATCH v2 4/4] configure: add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization
Date: Fri, 06 Jul 2012 07:13:35 +0400 [thread overview]
Message-ID: <4FF657DF.6080901@samsung.com> (raw)
In-Reply-To: <4FF59CCB.9010608@suse.de>
On 05.07.2012 17:55, Andreas Färber wrote:
> Am 05.07.2012 15:23, schrieb Yeongkyoon Lee:
>> 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.
>>
>> Signed-off-by: Yeongkyoon Lee <yeongkyoon.lee@samsung.com>
>> ---
>> configure | 15 +++++++++++++++
>> 1 files changed, 15 insertions(+), 0 deletions(-)
>>
>> diff --git a/configure b/configure
>> index 9f071b7..2b364cc 100755
>> --- a/configure
>> +++ b/configure
> [...]
>> @@ -3463,6 +3466,11 @@ echo "EXESUF=$EXESUF" >> $config_host_mak
>> echo "LIBS_QGA+=$libs_qga" >> $config_host_mak
>> echo "POD2MAN=$POD2MAN" >> $config_host_mak
>>
>> +if [ "$ldst_optimization" = "yes" -a "$cpu" != "i386" -a "$cpu" != "x86_64" ] ; then
>> + echo "ERROR: qemu_ld/st optimization is only available on i386 or x86_64 hosts"
>> + exit 1
>> +fi
> [snip]
>
> I assume that Samsung is interested in optimizing the Exynos emulation.
Nope ) Originally it's from x86 Tizen emulator )
> I think there was already a patchset posted converting target-arm to
> CONFIG_PASS_TCG_AREG0, only with some slowdowns to be investigated...
> What is the obstacle for supporting AREG0 mode in your optimization?
>
> Regards,
> Andreas
>
>> +
>> # generate list of library paths for linker script
>>
>> $ld --verbose -v 2> /dev/null | grep SEARCH_DIR > ${config_host_ld}
>> @@ -3696,11 +3704,18 @@ fi
>> symlink "$source_path/Makefile.target" "$target_dir/Makefile"
>>
>>
>> +target_ldst_optimization="$ldst_optimization"
>> +
>> 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"
>> ;;
>> esac
>> +if [ "$target_ldst_optimization" = "yes" -a "$target_softmmu" = "yes" ] ; then
>> + echo "CONFIG_QEMU_LDST_OPTIMIZATION=y" >> $config_target_mak
>> +fi
>>
>> echo "TARGET_SHORT_ALIGNMENT=$target_short_alignment" >> $config_target_mak
>> echo "TARGET_INT_ALIGNMENT=$target_int_alignment" >> $config_target_mak
--
Kind regards,
Evgeny Voevodin,
Technical Leader,
Mobile Group, SMRC, Samsung Electronics
e-mail: e.voevodin@samsung.com
next prev parent reply other threads:[~2012-07-06 3:13 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-05 13:23 [Qemu-devel] [RFC][PATCH v2 0/4] tcg: enhance code generation quality for qemu_ld/st IRs Yeongkyoon Lee
2012-07-05 13:23 ` [Qemu-devel] [RFC][PATCH v2 1/4] tcg: add declarations and templates of extended MMU helpers Yeongkyoon Lee
2012-07-05 13:40 ` Peter Maydell
2012-07-06 10:30 ` Yeongkyoon Lee
2012-07-06 10:35 ` 陳韋任 (Wei-Ren Chen)
2012-07-05 13:23 ` [Qemu-devel] [RFC][PATCH v2 2/4] tcg: add extended MMU helpers to softmmu targets Yeongkyoon Lee
2012-07-05 13:43 ` Peter Maydell
2012-07-05 18:49 ` Blue Swirl
2012-07-06 12:16 ` Yeongkyoon Lee
2012-07-05 13:23 ` [Qemu-devel] [RFC][PATCH v2 3/4] tcg: add optimized TCG qemu_ld/st generation Yeongkyoon Lee
2012-07-05 14:04 ` Peter Maydell
2012-07-06 11:20 ` Yeongkyoon Lee
2012-07-06 11:28 ` Peter Maydell
2012-07-05 13:23 ` [Qemu-devel] [RFC][PATCH v2 4/4] configure: add CONFIG_QEMU_LDST_OPTIMIZATION for TCG qemu_ld/st optimization Yeongkyoon Lee
2012-07-05 13:55 ` Andreas Färber
2012-07-06 3:13 ` Evgeny Voevodin [this message]
2012-07-05 14:06 ` Peter Maydell
2012-07-05 14:26 ` Laurent Desnogues
2012-07-06 11:43 ` Yeongkyoon Lee
2012-07-07 7:51 ` Blue Swirl
2012-07-08 8:35 ` Yeongkyoon Lee
2012-07-10 9:12 ` [Qemu-devel] [RFC][PATCH v2 0/4] tcg: enhance code generation quality for qemu_ld/st IRs Yeongkyoon Lee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4FF657DF.6080901@samsung.com \
--to=e.voevodin@samsung.com \
--cc=afaerber@suse.de \
--cc=blauwirbel@gmail.com \
--cc=chenwj@iis.sinica.edu.tw \
--cc=laurent.desnogues@gmail.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=yeongkyoon.lee@samsung.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).