qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: Richard Henderson <rth@twiddle.net>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH v2] target-mips: Use TCG registers for the FPU.
Date: Fri, 5 Oct 2012 19:03:51 +0200	[thread overview]
Message-ID: <20121005170351.GA23690@ohm.aurel32.net> (raw)
In-Reply-To: <506EEC91.1020606@twiddle.net>

On Fri, Oct 05, 2012 at 07:20:01AM -0700, Richard Henderson wrote:
> Ping.  You gave it your Reviewed-by.
> 
> r~

Yes, but I also said that with the current TCG status, it actually 
reduces the speed of the emulation instead of increasing it. I am not 
sure we really want that, even if the generated code is better.

We have to get rid of the loops on all TCG temps first, which is exactly
what the patch series I sent last week does. I have to send a new
version, but the week has been a bit crazy here and I haven't found time
to finish polishing it, nor reviewing the patches sent on the mailing
list. Let's hope the week-end will be better for that.

> On 09/18/2012 11:04 PM, Richard Henderson wrote:
> > With normal FP, this doesn't have much affect on the generated code,
> > because most of the FP operations are not CONST/PURE, and so we spill
> > registers in about the same frequency as the explicit load/stores.
> > 
> > But with Loongson multimedia instructions, which are all integral and
> > whose helpers are in fact CONST+PURE, this greatly improves the code.
> > 
> > Signed-off-by: Richard Henderson <rth@twiddle.net>
> > ---
> > 
> > As requested, only generating 64-bit fp registers now.  The generated
> > code looks quite good on i386.  It could be a tad better for x86_64,
> > but it's still better than it was.
> > 
> > 
> > r~
> > 
> > 
> >  target-mips/translate.c | 96 +++++++++++++++++++++++++++----------------------
> >  1 file changed, 54 insertions(+), 42 deletions(-)
> 
> 

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

  reply	other threads:[~2012-10-05 17:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-19  6:04 [Qemu-devel] [PATCH v2] target-mips: Use TCG registers for the FPU Richard Henderson
2012-09-19 20:07 ` Aurelien Jarno
2012-10-05 14:20 ` Richard Henderson
2012-10-05 17:03   ` Aurelien Jarno [this message]
2012-10-29 14:34     ` 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=20121005170351.GA23690@ohm.aurel32.net \
    --to=aurelien@aurel32.net \
    --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 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).