From: Evgeny Voevodin <e.voevodin@samsung.com>
To: qemu-devel@nongnu.org
Cc: Alexander Graf <agraf@suse.de>,
blauwirbel@gmail.com, kyungmin.park@samsung.com,
Paul Brook <paul@codesourcery.com>,
edgar.iglesias@gmail.com, aurelien@aurel32.net, rth@twiddle.net
Subject: Re: [Qemu-devel] [PATCH 0/5] TCG global gen_opc_ arrays clean-up
Date: Mon, 26 Nov 2012 08:19:58 +0400 [thread overview]
Message-ID: <50B2EDEE.3060102@samsung.com> (raw)
In-Reply-To: <1353483787-22308-1-git-send-email-e.voevodin@samsung.com>
On 11/21/2012 11:43 AM, Evgeny Voevodin wrote:
> This set of patches moves global variables to tcg_ctx:
> gen_opc_instr
> gen_opparam_icount
> gen_opc_pc
>
> Build tested for all targets.
> Execution tested on Exynos4210 target.
>
> After this patchset was aplied,
> I noticed no speed-up or slow-down of code generation.
>
> Here is the test procedure:
> 1. Boot Linux Kernel 5 times.
> 2. For each iteration wait while "JIT cycles" is stable for ~10 seconds
> 3. Write down the "cycles/op"
>
> Here are the results (tested on gcc-4.6):
>
> Before clean-up:
> min: 655.5
> max: 659.3
> avg: 657.2
> standard deviation: ~2 ~= 0.4%
>
> Average cycles/op = 657 +- 2
>
>
>
> After clean-up:
> min: 654.6
> max: 657.1
> avg: 655.5
> standard deviation: ~1 ~= 0.2%
>
> Average cycles/op = 656 +- 1
>
> Evgeny Voevodin (5):
> tcg/tcg.h: Duplicate global TCG gen_opc_ arrays into TCGContext.
> TCG: Use gen_opc_pc from context instead of global variable.
> TCG: Use gen_opc_icount from context instead of global variable.
> TCG: Use gen_opc_instr_start from context instead of global variable.
> TCG: Remove unused global gen_opc_ arrays.
>
> exec-all.h | 4 ----
> target-alpha/translate.c | 12 ++++++------
> target-arm/translate.c | 12 ++++++------
> target-cris/translate.c | 14 +++++++-------
> target-i386/translate.c | 19 ++++++++++---------
> target-lm32/translate.c | 12 ++++++------
> target-m68k/translate.c | 12 ++++++------
> target-microblaze/translate.c | 12 ++++++------
> target-mips/translate.c | 12 ++++++------
> target-openrisc/translate.c | 12 ++++++------
> target-ppc/translate.c | 12 ++++++------
> target-s390x/translate.c | 12 ++++++------
> target-sh4/translate.c | 12 ++++++------
> target-sparc/translate.c | 12 ++++++------
> target-unicore32/translate.c | 12 ++++++------
> target-xtensa/translate.c | 10 +++++-----
> tcg/tcg.h | 3 +++
> translate-all.c | 9 +++------
> 18 files changed, 100 insertions(+), 103 deletions(-)
>
Ping?
+CC: Alexander Graf <agraf@suse.de>; Paul Brook <paul@codesourcery.com>
--
Kind regards,
Evgeny Voevodin,
Technical Leader,
Mobile Group,
Samsung Moscow Research Centre,
e-mail: e.voevodin@samsung.com
next prev parent reply other threads:[~2012-11-26 4:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-21 7:43 [Qemu-devel] [PATCH 0/5] TCG global gen_opc_ arrays clean-up Evgeny Voevodin
2012-11-21 7:43 ` [Qemu-devel] [PATCH 1/5] tcg/tcg.h: Duplicate global TCG gen_opc_ arrays into TCGContext Evgeny Voevodin
2012-11-21 7:43 ` [Qemu-devel] [PATCH 2/5] TCG: Use gen_opc_pc from context instead of global variable Evgeny Voevodin
2012-11-21 7:43 ` [Qemu-devel] [PATCH 3/5] TCG: Use gen_opc_icount " Evgeny Voevodin
2012-11-21 7:43 ` [Qemu-devel] [PATCH 4/5] TCG: Use gen_opc_instr_start " Evgeny Voevodin
2012-11-21 7:43 ` [Qemu-devel] [PATCH 5/5] TCG: Remove unused global gen_opc_ arrays Evgeny Voevodin
2012-11-26 4:19 ` Evgeny Voevodin [this message]
2012-12-04 4:49 ` [Qemu-devel] [PATCH 0/5] TCG global gen_opc_ arrays clean-up Evgeny Voevodin
2012-12-08 17:52 ` Blue Swirl
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=50B2EDEE.3060102@samsung.com \
--to=e.voevodin@samsung.com \
--cc=agraf@suse.de \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=edgar.iglesias@gmail.com \
--cc=kyungmin.park@samsung.com \
--cc=paul@codesourcery.com \
--cc=qemu-devel@nongnu.org \
--cc=rth@twiddle.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.