qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <rth@twiddle.net>
To: qemu-devel@nongnu.org
Cc: Richard Henderson <rth@redhat.com>, aurelien@aurel32.net
Subject: [Qemu-devel] [PATCH 2/7] tcg: Fix default definition of divu_i32 and remu_i32.
Date: Mon, 22 Nov 2010 14:57:53 -0800	[thread overview]
Message-ID: <1290466678-6337-3-git-send-email-rth@twiddle.net> (raw)
In-Reply-To: <1290466678-6337-1-git-send-email-rth@twiddle.net>

From: Richard Henderson <rth@redhat.com>

The arguments to tcg_gen_helper32 for these functions were not
updated correctly in rev 2bece2c88331f024a46527634e3dd91c71d22141.

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 tcg/tcg-op.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tcg/tcg-op.h b/tcg/tcg-op.h
index c68927e..3ee0a58 100644
--- a/tcg/tcg-op.h
+++ b/tcg/tcg-op.h
@@ -727,7 +727,7 @@ static inline void tcg_gen_divu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
     sizemask |= tcg_gen_sizemask(1, 0, 0);
     sizemask |= tcg_gen_sizemask(2, 0, 0);
 
-    tcg_gen_helper32(tcg_helper_divu_i32, ret, arg1, arg2, 0);
+    tcg_gen_helper32(tcg_helper_divu_i32, sizemask, ret, arg1, arg2);
 }
 
 static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
@@ -738,7 +738,7 @@ static inline void tcg_gen_remu_i32(TCGv_i32 ret, TCGv_i32 arg1, TCGv_i32 arg2)
     sizemask |= tcg_gen_sizemask(1, 0, 0);
     sizemask |= tcg_gen_sizemask(2, 0, 0);
 
-    tcg_gen_helper32(tcg_helper_remu_i32, ret, arg1, arg2, 0);
+    tcg_gen_helper32(tcg_helper_remu_i32, sizemask, ret, arg1, arg2);
 }
 #endif
 
-- 
1.7.2.3

  parent reply	other threads:[~2010-11-22 23:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-22 22:57 [Qemu-devel] [PATCH 0/7] Fixes for ia64-linux host Richard Henderson
2010-11-22 22:57 ` [Qemu-devel] [PATCH 1/7] microblaze: target-ify target_ucontext Richard Henderson
2010-11-23  9:05   ` Edgar E. Iglesias
2010-11-22 22:57 ` Richard Henderson [this message]
2010-11-22 22:57 ` [Qemu-devel] [PATCH 3/7] tcg-ia64: Provide default GUEST_BASE Richard Henderson
2010-11-22 22:57 ` [Qemu-devel] [PATCH 4/7] tcg-ia64: Implement qemu_ld32 Richard Henderson
2010-11-22 22:57 ` [Qemu-devel] [PATCH 5/7] tcg-ia64: Fix tlb read error for 32-bit targets Richard Henderson
2010-11-22 22:57 ` [Qemu-devel] [PATCH 6/7] tcg-ia64: Fix address compilation in qemu_st Richard Henderson
2010-11-22 22:57 ` [Qemu-devel] [PATCH 7/7] tcg-ia64: Fix warning in qemu_ld Richard Henderson
2010-11-23  9:09   ` malc
2010-11-23 15:18     ` Richard Henderson
2010-12-01 19:28 ` [Qemu-devel] [PATCH 0/7] Fixes for ia64-linux host Edgar E. Iglesias

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=1290466678-6337-3-git-send-email-rth@twiddle.net \
    --to=rth@twiddle.net \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@redhat.com \
    /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).