From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 0/3] powerpc tcg backend improvements
Date: Tue, 13 Oct 2015 08:23:45 +1100 [thread overview]
Message-ID: <1444685028-4950-1-git-send-email-rth@twiddle.net> (raw)
I happened to notice the ppc backend had a dependency on the placement
of the prologue, which has just changed. There is a 32 byte window at
code_gen_buffer + 16MB where we might do the wrong thing.
The second patch reduces the code size reserved for performing goto_tb
from 7 insns to 4. We probably haven't emitted all 7 insns for quite
some time, since the TCG_REG_RA patch went in. But in the process,
allow for the atomic update of the insns, something that I could see
being required eventually.
The third patch is a guess. But it matches the preferences in gcc,
giving out-of-order processors a tad more freedom by avoiding cr0
when possible.
Anyway, I've been running an alpha guest on a ppc64le host with these
patches for a week now.
r~
Richard Henderson (3):
tcg/ppc: Adjust exit_tb for change in prologue placement
tcg/ppc: Revise goto_tb implementation
tcg/ppc: Prefer mask over andi.
tcg/ppc/tcg-target.c | 79 ++++++++++++++++++++++++++++++++++------------------
translate-all.c | 2 ++
2 files changed, 54 insertions(+), 27 deletions(-)
--
2.4.3
next reply other threads:[~2015-10-12 21:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-12 21:23 Richard Henderson [this message]
2015-10-12 21:23 ` [Qemu-devel] [PATCH 1/3] tcg/ppc: Adjust exit_tb for change in prologue placement Richard Henderson
2015-10-12 21:23 ` [Qemu-devel] [PATCH 2/3] tcg/ppc: Revise goto_tb implementation Richard Henderson
2015-10-12 21:23 ` [Qemu-devel] [PATCH 3/3] tcg/ppc: Prefer mask over andi 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=1444685028-4950-1-git-send-email-rth@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).