Message ID | 20180516185146.30708-35-edgar.iglesias@gmail.com |
---|---|
State | New |
Headers | show
Return-Path: <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=nongnu.org (client-ip=2001:4830:134:3::11; helo=lists.gnu.org; envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="DHHzZ/5R"; dkim-atps=neutral Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40mPNJ5kLrz9s0y for <incoming@patchwork.ozlabs.org>; Thu, 17 May 2018 05:18:08 +1000 (AEST) Received: from localhost ([::1]:34552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>) id 1fJ1w6-0007AE-Dz for incoming@patchwork.ozlabs.org; Wed, 16 May 2018 15:18:06 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54000) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fJ1XY-0003cK-90 for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fJ1XX-00011b-Em for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:44 -0400 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]:41369) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <edgar.iglesias@gmail.com>) id 1fJ1XX-00011H-7X for qemu-devel@nongnu.org; Wed, 16 May 2018 14:52:43 -0400 Received: by mail-wr0-x243.google.com with SMTP id g21-v6so2767893wrb.8 for <qemu-devel@nongnu.org>; Wed, 16 May 2018 11:52:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=up2zhGYRv3EWsrOwfRBIssxqtpV3mRnaUHn2LVvaDEU=; b=DHHzZ/5RtGazbXWDKzxjWOWdii6SHFD9jH7oL4WRrRVrvcT2FOfyuV7dVYF6F28B9z NJufeNW0kvXf1TvXIKN8SoFZdycAcqHv55aOb5oLoKlgJGKVORv8X5MIhVldV38/UlnS FQR3bRKa/cyQVb8C6+Ly154Doz0GdE0hkWV31BpUg2j1hfEsh4BIBWoS5S09O/XR90HU RcQtMVu+LrurB0JGeIAshAL+v53LB084YvnbbCbhDjKXSjwtSPJ9zWPgIfapGWoTTsOT xQzLaNoBaE9cZ9He1S7bZiy0Y+smLfb7bw0AOjwJYUbB+QPnEfWT3NpO0mRFiPX0TFmr i9zQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=up2zhGYRv3EWsrOwfRBIssxqtpV3mRnaUHn2LVvaDEU=; b=Z3DbD0oRp1QJAlhfokT/WUIHg1r+RLOkC0IaJ3MRoVwksh1X+j7SYZ7vQqDaO35IPf RxYUJaTTq6N9f+Xke6jwvByTpaorX9kUFF/q/7ZkP5uqD0bX6iNLlpkScyDYLuSaB0pb u96w0KNzGGI7I35XuLPWqQwlQm9xFdXgACf07F/oPTCwfDcfrKuSCh8s7OhpoMc2vt4p oIhGRB4HeJkK8L22EYkhKdGKgJtnIRh0Vvvkw+SNfi9DNmrA7tAjLAdHFW+yvhiBky8M kmWCa24n+obgDCBoM9f/NL572rNC7Er0ehWh1qcSVxtHlgwuzxRUNhTVNkE/JH2KNT8u 74EA== X-Gm-Message-State: ALKqPwdRYLjIjNnwAlvfhdlE9VxKXA2Mg9j1rP7u3aa8bttYM8ZY/Q9V qooVTUw6mNfNtnnWuWiqqb46wQ== X-Google-Smtp-Source: AB8JxZpK49Ozgcux/MXYSPoWeJN7EQ+RDZpTFG4QOPebnQg9og9+WPAmk+vFa0EglIV4eU3AU4BWtQ== X-Received: by 2002:a19:13ce:: with SMTP id 75-v6mr16361302lft.106.1526496761778; Wed, 16 May 2018 11:52:41 -0700 (PDT) Received: from gmail.com (81-231-232-130-no39.tbcn.telia.com. [81.231.232.130]) by smtp.gmail.com with ESMTPSA id o134-v6sm771210lfo.43.2018.05.16.11.52.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 May 2018 11:52:40 -0700 (PDT) From: "Edgar E. Iglesias" <edgar.iglesias@gmail.com> To: qemu-devel@nongnu.org Date: Wed, 16 May 2018 20:51:42 +0200 Message-Id: <20180516185146.30708-35-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20180516185146.30708-1-edgar.iglesias@gmail.com> References: <20180516185146.30708-1-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::243 Subject: [Qemu-devel] [PATCH v3 34/38] target-microblaze: Remove argument b in eval_cc() X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, sstabellini@kernel.org, sai.pavan.boddu@xilinx.com, frasse.iglesias@gmail.com, alistair@alistair23.me, richard.henderson@linaro.org, frederic.konrad@adacore.com Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org> |
Series |
target-microblaze: Add support for Extended Addressing
|
expand
|
diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index ed0b6fa881..a35683c8c9 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -1143,7 +1143,7 @@ static void dec_store(DisasContext *dc) } static inline void eval_cc(DisasContext *dc, unsigned int cc, - TCGv_i32 d, TCGv_i32 a, TCGv_i32 b) + TCGv_i32 d, TCGv_i32 a) { static const int mb_to_tcg_cc[] = { [CC_EQ] = TCG_COND_EQ, @@ -1161,7 +1161,7 @@ static inline void eval_cc(DisasContext *dc, unsigned int cc, case CC_LE: case CC_GE: case CC_GT: - tcg_gen_setcond_i32(mb_to_tcg_cc[cc], d, a, b); + tcg_gen_setcondi_i32(mb_to_tcg_cc[cc], d, a, 0); break; default: cpu_abort(CPU(dc->cpu), "Unknown condition code %x.\n", cc); @@ -1207,7 +1207,7 @@ static void dec_bcc(DisasContext *dc) tcg_gen_movi_i32(env_btarget, dc->pc); tcg_gen_add_i32(env_btarget, env_btarget, *(dec_alu_op_b(dc))); } - eval_cc(dc, cc, env_btaken, cpu_R[dc->ra], tcg_const_i32(0)); + eval_cc(dc, cc, env_btaken, cpu_R[dc->ra]); } static void dec_br(DisasContext *dc)