From: Aurelien Jarno <aurelien@aurel32.net>
To: Paul Brook <paul@codesourcery.com>
Cc: Laurent Desnogues <laurent.desnogues@gmail.com>,
Juha.Riihimaki@nokia.com, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 00/18] target-arm cleanup
Date: Wed, 11 Nov 2009 00:53:30 +0100 [thread overview]
Message-ID: <20091110235330.GI9052@hall.aurel32.net> (raw)
In-Reply-To: <200911102338.49991.paul@codesourcery.com>
On Tue, Nov 10, 2009 at 11:38:49PM +0000, Paul Brook wrote:
> > > Some of the generated tcg code is not very optimal, for example a
> > > single vld4.8 instruction can generate over 250 tcg ops. I did some
> > > optimizations and got it under 200 but do you think it could be an
> > > issue that a single instruction can expand to so many tcg ops? I mean
> > > besides the fact that it causes TBs for only one or two guest
> > > instructions to be generated.
> >
> > Fabrice wrote this (tcg/README):
> >
> > Don't hesitate to use helpers for complicated or seldom used target
> > intructions. There is little performance advantage in using TCG to
> > implement target instructions taking more than about twenty TCG
> > instructions.
> >
> > How applicable is it, I can't say. It'd probably be a good thing
> > to benchmark the two versions, TCG vs helper.
>
> The problem is that you can not do memory accesses from within a helper
> function.
>
It is something possible, it's done for example for unaligned memory
access on MIPS (see for example helper_ldr).
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2009-11-10 23:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-19 15:43 [Qemu-devel] [PATCH 00/18] target-arm cleanup Filip Navara
2009-10-15 17:40 ` Aurelien Jarno
2009-10-15 17:49 ` Laurent Desnogues
2009-10-15 18:36 ` Aurelien Jarno
2009-10-16 15:41 ` Filip Navara
2009-10-16 17:56 ` Aurelien Jarno
2009-10-19 6:23 ` Juha.Riihimaki
2009-10-19 6:35 ` Laurent Desnogues
2009-11-10 23:38 ` Paul Brook
2009-11-10 23:53 ` Aurelien Jarno [this message]
2009-10-19 13:23 ` Aurelien Jarno
2009-10-20 6:18 ` Juha.Riihimaki
2009-11-10 23:39 ` Paul Brook
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=20091110235330.GI9052@hall.aurel32.net \
--to=aurelien@aurel32.net \
--cc=Juha.Riihimaki@nokia.com \
--cc=laurent.desnogues@gmail.com \
--cc=paul@codesourcery.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 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.