From patchwork Mon Nov 22 22:57:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 72618 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A0B21B70CD for ; Tue, 23 Nov 2010 10:37:29 +1100 (EST) Received: from localhost ([127.0.0.1]:48885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKfws-00040G-OS for incoming@patchwork.ozlabs.org; Mon, 22 Nov 2010 18:37:26 -0500 Received: from [140.186.70.92] (port=56468 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PKfu3-0002qq-Os for qemu-devel@nongnu.org; Mon, 22 Nov 2010 18:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PKfu1-0006nx-Jl for qemu-devel@nongnu.org; Mon, 22 Nov 2010 18:34:31 -0500 Received: from b.mail.sonic.net ([64.142.19.5]:47502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PKfu1-0006nf-Ap for qemu-devel@nongnu.org; Mon, 22 Nov 2010 18:34:29 -0500 Received: from are.twiddle.net (are.twiddle.net [75.101.38.216]) by b.mail.sonic.net (8.13.8.Beta0-Sonic/8.13.7) with ESMTP id oAMMw0Dd016321 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 14:58:00 -0800 Received: from are.twiddle.net (localhost [127.0.0.1]) by are.twiddle.net (8.14.4/8.14.4) with ESMTP id oAMMw0kP006380; Mon, 22 Nov 2010 14:58:00 -0800 Received: (from rth@localhost) by are.twiddle.net (8.14.4/8.14.4/Submit) id oAMMw0Gw006379; Mon, 22 Nov 2010 14:58:00 -0800 From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 22 Nov 2010 14:57:53 -0800 Message-Id: <1290466678-6337-3-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.7.2.3 In-Reply-To: <1290466678-6337-1-git-send-email-rth@twiddle.net> References: <1290466678-6337-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 Cc: Richard Henderson , aurelien@aurel32.net Subject: [Qemu-devel] [PATCH 2/7] tcg: Fix default definition of divu_i32 and remu_i32. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Richard Henderson The arguments to tcg_gen_helper32 for these functions were not updated correctly in rev 2bece2c88331f024a46527634e3dd91c71d22141. Signed-off-by: Richard Henderson --- 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