From: Stefan Weil <sw@weilnetz.de>
To: Richard Henderson <rth@twiddle.net>
Cc: Blue Swirl <blauwirbel@gmail.com>,
Anthony Liguori <aliguori@us.ibm.com>,
qemu-devel@nongnu.org, Aurelien Jarno <aurelien@aurel32.net>,
Alexander Graf <agraf@suse.de>
Subject: Re: [Qemu-devel] [PATCH 0/3] Standardize on TCGReg for entry points
Date: Wed, 09 Nov 2011 21:19:59 +0100 [thread overview]
Message-ID: <4EBAE06F.7000803@weilnetz.de> (raw)
In-Reply-To: <1320861815-14317-1-git-send-email-rth@twiddle.net>
Am 09.11.2011 19:03, schrieb Richard Henderson:
> This is the direction in which I believe we should fix the s390
> compilation failure. I've cross-compiled --target-list=i386-softmmu
> for every tcg host to make sure that they all build.
>
> The second patch cannot be split into per-host patches, lest it
> introduce regressions on the way to fixing them.
>
>
> r~
>
>
> Richard Henderson (3):
> tcg: Standardize on TCGReg as the enum for hard registers
> tcg: Use TCGReg for standard tcg-target entry points.
> tcg-sparc: Fix set-but-not used warnings.
>
> tcg/arm/tcg-target.c | 13 +++++++------
> tcg/arm/tcg-target.h | 4 ++--
> tcg/hppa/tcg-target.c | 12 ++++++------
> tcg/hppa/tcg-target.h | 4 ++--
> tcg/i386/tcg-target.c | 13 +++++++------
> tcg/i386/tcg-target.h | 4 ++--
> tcg/ia64/tcg-target.c | 12 ++++++------
> tcg/ia64/tcg-target.h | 4 ++--
> tcg/mips/tcg-target.c | 13 +++++++------
> tcg/mips/tcg-target.h | 4 ++--
> tcg/ppc/tcg-target.c | 8 ++++----
> tcg/ppc/tcg-target.h | 4 ++--
> tcg/ppc64/tcg-target.c | 8 ++++----
> tcg/ppc64/tcg-target.h | 4 ++--
> tcg/sparc/tcg-target.c | 17 +++++++----------
> tcg/sparc/tcg-target.h | 4 ++--
> tcg/tcg.c | 8 ++++----
> tcg/tci/tcg-target.c | 8 ++++----
> tcg/tci/tcg-target.h | 2 +-
> tci.c | 38 +++++++++++++++++++-------------------
> 20 files changed, 92 insertions(+), 92 deletions(-)
Hi Richard,
cross compiling for all tcg targets must have been a really
hard job, so thank you very much for what you have done!
Did you get all needed cross packages from your host's
distribution? Which one?
There remain small risks caused by the modified argument types:
* TCGReg is an enum, so it might be unsigned while int was signed.
As Blue already wrote, signedness should not matter here, so
the risk seems to be very low.
* Using TCGReg instead of TCGArg (ia64) should also be a very small risk.
* Using tcg_target_long instead of int32 (mips) potentially allows larger
arguments. Only the lower 16 bits are used, so this should pose no
problem.
Therefore for the first two patches, I can add a
Reviewed-by: Stefan Weil <sw@weilnetz.de>
PS. I still think TCGRegister would be nicer, but having a patch with TCGReg
is better than nothing. Anthony, patches 1 and 2 are needed for
QEMU 1.0
because they fix compilation for ia64 and s390.
next prev parent reply other threads:[~2011-11-09 20:20 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-09 18:03 [Qemu-devel] [PATCH 0/3] Standardize on TCGReg for entry points Richard Henderson
2011-11-09 18:03 ` [Qemu-devel] [PATCH 1/3] tcg: Standardize on TCGReg as the enum for hard registers Richard Henderson
2011-11-09 18:03 ` [Qemu-devel] [PATCH 2/3] tcg: Use TCGReg for standard tcg-target entry points Richard Henderson
2011-11-09 18:03 ` [Qemu-devel] [PATCH 3/3] tcg-sparc: Fix set-but-not used warnings Richard Henderson
2011-11-19 13:59 ` Blue Swirl
2011-11-09 18:51 ` [Qemu-devel] [PATCH 0/3] Standardize on TCGReg for entry points Andreas Färber
2011-11-09 20:19 ` Stefan Weil [this message]
2011-11-09 22:11 ` Richard Henderson
2011-11-10 13:40 ` Alexander Graf
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=4EBAE06F.7000803@weilnetz.de \
--to=sw@weilnetz.de \
--cc=agraf@suse.de \
--cc=aliguori@us.ibm.com \
--cc=aurelien@aurel32.net \
--cc=blauwirbel@gmail.com \
--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).