All of lore.kernel.org
 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 0/3] target-alpha PALcode improvements
Date: Sat, 13 Jun 2015 00:12:47 +0200	[thread overview]
Message-ID: <20150612221247.GA3929@aurel32.net> (raw)
In-Reply-To: <1433884389-2643-1-git-send-email-rth@twiddle.net>

On 2015-06-09 14:13, Richard Henderson wrote:
> Rather than copying around a block of 8 registers when we swap modes,
> let the translator map code generated for PALmode to the shadow regs
> directly.  This simplifies PALmode entry and exit sufficiently to
> allow these insns to be performed inline.
> 
> Sadly, the speedup for this is in the noise.  But I still think it
> makes sense.

That's usually the case nowadays. It seems all TCG related part are
already well optimized, and that most targets are now limited by the MMU
emulation. That said I agree it makes sense, and also makes the code
cleaner (even if bigger).
 
> 
> r~
> 
> 
> Richard Henderson (3):
>   target-alpha: Use separate TCGv temporaries for the shadow registers
>   target-alpha: Inline call_pal
>   target-alpha: Inline hw_ret
> 
>  target-alpha/cpu.h        |   3 +-
>  target-alpha/gdbstub.c    |   4 +-
>  target-alpha/helper.c     |  63 ++++++---------
>  target-alpha/helper.h     |   3 -
>  target-alpha/machine.c    |   4 +-
>  target-alpha/sys_helper.c |  22 -----
>  target-alpha/translate.c  | 201 ++++++++++++++++++++++++++++++----------------
>  7 files changed, 166 insertions(+), 134 deletions(-)

The whole series is:

Reviewed-by: Aurelien Jarno <aurelien@aurel32.net>

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net

  parent reply	other threads:[~2015-06-12 22:12 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-09 21:13 [Qemu-devel] [PATCH 0/3] target-alpha PALcode improvements Richard Henderson
2015-06-09 21:13 ` [Qemu-devel] [PATCH 1/3] target-alpha: Use separate TCGv temporaries for the shadow registers Richard Henderson
2015-06-09 21:13 ` [Qemu-devel] [PATCH 2/3] target-alpha: Inline call_pal Richard Henderson
2015-06-09 21:13 ` [Qemu-devel] [PATCH 3/3] target-alpha: Inline hw_ret Richard Henderson
2015-06-12 22:12 ` Aurelien Jarno [this message]
  -- strict thread matches above, loose matches on Subject: below --
2015-06-09 21:12 [Qemu-devel] [PATCH 0/3] target-alpha PALcode improvements Richard Henderson

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=20150612221247.GA3929@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 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.