qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PPC target
Date: Wed, 17 Jun 2009 22:42:29 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.64.0906172240150.3611@linmac.oyster.ru> (raw)


I don't know what exactly changed (-Werror, opcode section removal, compiler
version), but PPC target doesn't build here without:

diff --git a/target-ppc/translate.c b/target-ppc/translate.c
index f60f99a..4044eee 100644
--- a/target-ppc/translate.c
+++ b/target-ppc/translate.c
@@ -759,7 +759,7 @@ static always_inline void gen_op_arith_compute_ca(DisasContext *ctx, TCGv arg1,
 static always_inline void gen_op_arith_add(DisasContext *ctx, TCGv ret, TCGv arg1, TCGv arg2,
                                            int add_ca, int compute_ca, int compute_ov)
 {
-    TCGv t0, t1;
+    TCGv t0, t1 = t1;
 
     if ((!compute_ca && !compute_ov) ||
         (!TCGV_EQUAL(ret,arg1) && !TCGV_EQUAL(ret, arg2)))  {
@@ -1176,7 +1176,7 @@ static void gen_nego(DisasContext *ctx)
 static always_inline void gen_op_arith_subf(DisasContext *ctx, TCGv ret, TCGv arg1, TCGv arg2,
                                             int add_ca, int compute_ca, int compute_ov)
 {
-    TCGv t0, t1;
+    TCGv t0, t1 = t1;
 
     if ((!compute_ca && !compute_ov) ||
         (!TCGV_EQUAL(ret, arg1) && !TCGV_EQUAL(ret, arg2)))  {
@@ -3355,7 +3355,7 @@ static always_inline void gen_bcond (DisasContext *ctx, int type)
 {
     uint32_t bo = BO(ctx->opcode);
     int l1 = gen_new_label();
-    TCGv target;
+    TCGv target = target;
 
     ctx->exception = POWERPC_EXCP_BRANCH;
     if (type == BCOND_LR || type == BCOND_CTR) {


-- 
mailto:av1474@comtv.ru

             reply	other threads:[~2009-06-17 18:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-17 18:42 malc [this message]
2009-06-17 18:50 ` [Qemu-devel] PPC target Blue Swirl
2009-06-17 19:16   ` malc
2009-06-18 15:37     ` Paul Brook

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=Pine.LNX.4.64.0906172240150.3611@linmac.oyster.ru \
    --to=av1474@comtv.ru \
    --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).