qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice@bellard.org>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] RFC: Code fetch optimisation
Date: Mon, 15 Oct 2007 18:19:13 +0200	[thread overview]
Message-ID: <47139301.3010201@bellard.org> (raw)
In-Reply-To: <200710151701.17822.paul@codesourcery.com>

Paul Brook wrote:
 > [...]
>>>The code itself looks ok, though I'd be surprised if it made a
>>>significant difference. We're always going to hit the fast-path TLB
>>>lookup case anyway.
>>
>>It seems that the generated code for the code fetch is much more
>>efficient than the one generated when we get when using the softmmu
>>routines. But it's true we do not get any significant performance boost.
>>As it was previously mentioned, the idea of the patch is more a 'don't
>>do unneeded things during code translation' than a great performance
>>improvment.
> 
> 
> OTOH it does make the the code more complicated. I'm agnostic about whether 
> this patch should be applied.

If it does not correct the existing x86 issues (no code segment limit 
tests and no explicit handling of code fetch exceptions in the 
translation phase in VLE case) I see no advantage in commiting it in its 
current form.

Regards,

Fabrice.

  reply	other threads:[~2007-10-15 16:20 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-14 11:44 [Qemu-devel] RFC: Code fetch optimisation J. Mayer
2007-10-15  2:30 ` Paul Brook
2007-10-15 12:09   ` J. Mayer
2007-10-15 16:01     ` Paul Brook
2007-10-15 16:19       ` Fabrice Bellard [this message]
2007-10-15 21:30       ` J. Mayer
2007-10-15 22:42         ` Paul Brook
2007-10-16 20:27           ` J. Mayer
2007-10-16 22:00             ` Paul Brook
2007-10-16 23:38               ` J. Mayer
2007-10-17  0:43                 ` Paul Brook
2007-10-16 22:26             ` Paul Brook
  -- strict thread matches above, loose matches on Subject: below --
2007-10-12  8:33 J. Mayer
2007-10-12 15:21 ` Blue Swirl
2007-10-12 18:24   ` Jocelyn Mayer
2007-10-12 18:36   ` Fabrice Bellard
2007-10-12 18:39   ` Fabrice Bellard

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=47139301.3010201@bellard.org \
    --to=fabrice@bellard.org \
    --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).