qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH for-next 00/15] Collection of improvements for tcg/ppc64
Date: Fri, 16 Aug 2013 23:23:12 -0700	[thread overview]
Message-ID: <520F16D0.5040701@twiddle.net> (raw)
In-Reply-To: <1375727330-30515-1-git-send-email-rth@twiddle.net>

Ping.

r~

On 08/05/2013 11:28 AM, Richard Henderson wrote:
> About half of these patches are focused on reducing the number of
> full 64-bit constants that need to be generated for addresses:
> 
> E.g. patch 5, looking through the function descriptor.  If the
> program is built --disable-pie, the elements of the function
> descriptors are all 32-bit constants.
> 
> E.g. the end result of indirect jump threading + TCG_REG_TB.
> Before, we reserve 6 insn slots to generate the full 64-bit address.
> After, we use 2 insns -- addis + ld -- to load the full 64-bit
> address from the indirection slot.
> 
> The second patch could probably be reverted.  I'd planned to be
> able to use the same conditional call + tail call scheme as ARM,
> but I'd forgotten the need for a conditional store to go along
> with that.  OTOH, it might still turn out to be useful somewhere.
> 
> 
> r~
> 
> 
> Richard Henderson (15):
>   tcg-ppc64: Avoid code for nop move
>   tcg-ppc64: Add an LK argument to tcg_out_call
>   tcg-ppc64: Use the branch absolute instruction when possible
>   tcg-ppc64: Don't load the static chain from TCG
>   tcg-ppc64: Look through the function descriptor when profitable
>   tcg-ppc64: Move AREG0 to r31
>   tcg-ppc64: Tidy register allocation order
>   tcg-ppc64: Create PowerOpcode
>   tcg-ppc64: Handle long offsets better
>   tcg-ppc64: Use indirect jump threading
>   tcg-ppc64: Setup TCG_REG_TB
>   tcg-ppc64: Use TCG_REG_TB in tcg_out_movi and tcg_out_mem_long
>   tcg-ppc64: Tidy tcg_target_qemu_prologue
>   tcg-ppc64: Streamline tcg_out_tlb_read
>   tcg-ppc64: Implement CONFIG_QEMU_LDST_OPTIMIZATION
> 
>  configure               |    2 +-
>  include/exec/exec-all.h |    7 +-
>  tcg/ppc64/tcg-target.c  | 1079 ++++++++++++++++++++++++++---------------------
>  tcg/ppc64/tcg-target.h  |    2 +-
>  4 files changed, 598 insertions(+), 492 deletions(-)
> 

      parent reply	other threads:[~2013-08-17  6:23 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-05 18:28 [Qemu-devel] [PATCH for-next 00/15] Collection of improvements for tcg/ppc64 Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 01/15] tcg-ppc64: Avoid code for nop move Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 02/15] tcg-ppc64: Add an LK argument to tcg_out_call Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 03/15] tcg-ppc64: Use the branch absolute instruction when possible Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 04/15] tcg-ppc64: Don't load the static chain from TCG Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 05/15] tcg-ppc64: Look through the function descriptor when profitable Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 06/15] tcg-ppc64: Move AREG0 to r31 Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 07/15] tcg-ppc64: Tidy register allocation order Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 08/15] tcg-ppc64: Create PowerOpcode Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 09/15] tcg-ppc64: Handle long offsets better Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 10/15] tcg-ppc64: Use indirect jump threading Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 11/15] tcg-ppc64: Setup TCG_REG_TB Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 12/15] tcg-ppc64: Use TCG_REG_TB in tcg_out_movi and tcg_out_mem_long Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 13/15] tcg-ppc64: Tidy tcg_target_qemu_prologue Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 14/15] tcg-ppc64: Streamline tcg_out_tlb_read Richard Henderson
2013-08-05 18:28 ` [Qemu-devel] [PATCH for-next 15/15] tcg-ppc64: Implement CONFIG_QEMU_LDST_OPTIMIZATION Richard Henderson
2013-08-17  6:23 ` Richard Henderson [this message]

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=520F16D0.5040701@twiddle.net \
    --to=rth@twiddle.net \
    --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).