From: Laurent Desnogues <laurent.desnogues@gmail.com>
To: Blue Swirl <blauwirbel@gmail.com>
Cc: qemu-devel <qemu-devel@nongnu.org>,
Aurelien Jarno <aurelien@aurel32.net>
Subject: Re: [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination
Date: Sun, 15 May 2011 14:14:20 +0200 [thread overview]
Message-ID: <BANLkTin-vL=b83cADZDWk0Kw3z4yJjEMdw@mail.gmail.com> (raw)
In-Reply-To: <BANLkTimKTRi=6RPMgDnh_5Yxai30zWrYvQ@mail.gmail.com>
On Sun, May 15, 2011 at 1:33 PM, Blue Swirl <blauwirbel@gmail.com> wrote:
[...]
>> x86_64 uses r14 as TCG_AREG0. Despite the instructions being quite
>> simple (only 2 movi_i32), the resulting code makes 2 access to env to
>> save the two registers. Having to reload the env pointer each time to a
>> register would clearly increase the size of this TB.
>
> I don't think TCG would be that simple, instead the pointer would be
> loaded only once in this case.
Assuming TCG was able to allocate a register for that,
it would be live at most for one TB, so you'd have to
load it at least once per TB, and with block chaining
that wouldn't be efficient as you'd keep on reloading it.
Laurent
next prev parent reply other threads:[~2011-05-15 12:14 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-14 19:35 [Qemu-devel] [PATCH RFC 00/11] AREG0 elimination Blue Swirl
2011-05-14 21:16 ` Aurelien Jarno
2011-05-14 21:52 ` Blue Swirl
2011-05-14 22:04 ` Aurelien Jarno
2011-05-15 7:15 ` Blue Swirl
2011-05-15 9:24 ` Aurelien Jarno
2011-05-15 9:58 ` Blue Swirl
2011-05-15 10:19 ` Aurelien Jarno
2011-05-15 11:12 ` Blue Swirl
2011-05-15 11:36 ` Aurelien Jarno
2011-05-15 12:30 ` Blue Swirl
2011-05-15 12:49 ` Aurelien Jarno
2011-05-15 13:16 ` Blue Swirl
2011-05-15 13:43 ` Aurelien Jarno
2011-05-15 14:02 ` Blue Swirl
2011-05-15 14:06 ` Aurelien Jarno
2011-05-15 14:10 ` Blue Swirl
2011-05-15 9:27 ` Laurent Desnogues
2011-05-15 9:49 ` Aurelien Jarno
2011-05-15 11:03 ` Blue Swirl
2011-05-15 11:14 ` Aurelien Jarno
2011-05-15 11:33 ` Blue Swirl
2011-05-15 11:37 ` Aurelien Jarno
2011-05-15 12:33 ` Blue Swirl
2011-05-15 12:14 ` Laurent Desnogues [this message]
2011-05-15 12:37 ` Blue Swirl
2011-05-15 13:02 ` Aurelien Jarno
2011-05-15 13:42 ` Blue Swirl
2011-05-15 14:03 ` Aurelien Jarno
2011-05-15 14:06 ` Blue Swirl
2011-05-14 23:31 ` Aurelien Jarno
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='BANLkTin-vL=b83cADZDWk0Kw3z4yJjEMdw@mail.gmail.com' \
--to=laurent.desnogues@gmail.com \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
/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).