From patchwork Tue Jun 20 16:08:58 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Edgar E. Iglesias" X-Patchwork-Id: 9799925 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id F01CF60329 for ; Tue, 20 Jun 2017 16:12:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id EFBB3223A6 for ; Tue, 20 Jun 2017 16:12:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E343E2624A; Tue, 20 Jun 2017 16:12:38 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 62CA7223A6 for ; Tue, 20 Jun 2017 16:12:38 +0000 (UTC) Received: from localhost ([::1]:49646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNLlc-0005e2-T3 for patchwork-qemu-devel@patchwork.kernel.org; Tue, 20 Jun 2017 12:12:36 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44735) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dNLiK-0002tM-0u for qemu-devel@nongnu.org; Tue, 20 Jun 2017 12:09:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dNLiH-0003Y5-3D for qemu-devel@nongnu.org; Tue, 20 Jun 2017 12:09:12 -0400 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]:34740) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dNLiG-0003Wm-S5 for qemu-devel@nongnu.org; Tue, 20 Jun 2017 12:09:09 -0400 Received: by mail-lf0-x241.google.com with SMTP id l200so4067583lfg.1 for ; Tue, 20 Jun 2017 09:09:08 -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=MiNH/ozh+aXZ1naUs3xzyHsgacKlI1fJTIa06nik+iQ=; b=LBmJK+mF2Kg2w2zX2lDFLKuyx7UQc0FyL3GGXL33ktny43WXbECtFTweHg6LRtvNQ9 2HWVBD5dC9XeF73aI0358DDh/zX45tjpJBhOYexNiNtajLVzOziP9ColC6ehnTZg/emk YjoTQjJk1WDByAtEcdYx7JF48NeC79sxMD7iFakTtdt5dVdBa3cWISk9w91bc3edxqHd yPYBR8zgFBfo63hwurJaVMmjY514dzWrXAd8qcQutHmwGy7l9kjflOFmvHrueoT6HJju 3aSnv37Jq7qtKrgylMHIN88UXbAwOobW7eyZeRLa4xIL47FzjwKy0uyNbJuQGv0rXbJz 0QlQ== 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=MiNH/ozh+aXZ1naUs3xzyHsgacKlI1fJTIa06nik+iQ=; b=cqxT8DXGlGUVnSZXvlhbwBeJGdWH5Zk2le1AZETC9XiZbDQohCaL8jM3yaJOODiCUH 1NEkQQBr3QOp+JuCmF4dd51oBOJ0ff7v9YZyvmGAp3GktH3gPX+DR9nptYFXKj3KfQe1 aXJH/L1oGjyZdMqVB0HQn6CROqyOM5HUSbNfoJLAp1H80zNMDsNqjwajLi44a8CYrFCa CSedfXFDptKhSmjQrfgIzKweJEvQrSkk1n7svYLwIL1jq0dGcPHw6M6h1VyutxBT8ljO VaEbZZnVOFRt4ZVyPXBdm1JHyGAnWlH5sjs9ks39KgsQn2r49aVpX0mHZXp9z6UXoFUd 8LXw== X-Gm-Message-State: AKS2vOy0CXTmSQ4eBcvoWaBK97QQFY2XfoGH4Bc+H6zdp47HJHCvX7dy 1rYxXeFMD5hhxuVk X-Received: by 10.25.145.1 with SMTP id t1mr10124151lfd.119.1497974947450; Tue, 20 Jun 2017 09:09:07 -0700 (PDT) Received: from localhost (81-231-233-234-no56.tbcn.telia.com. [81.231.233.234]) by smtp.gmail.com with ESMTPSA id z10sm3150271lja.6.2017.06.20.09.09.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Jun 2017 09:09:06 -0700 (PDT) From: "Edgar E. Iglesias" To: qemu-devel@nongnu.org Date: Tue, 20 Jun 2017 18:08:58 +0200 Message-Id: <1497974944-27050-2-git-send-email-edgar.iglesias@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1497974944-27050-1-git-send-email-edgar.iglesias@gmail.com> References: <1497974944-27050-1-git-send-email-edgar.iglesias@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::241 Subject: [Qemu-devel] [PATCH v1 1/7] target-microblaze: dec_barrel: Use bool instead of unsigned int X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: sai.pavan.boddu@xilinx.com, edgar.iglesias@xilinx.com, alistai@xilinx.com, rth@twiddle.net Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: "Edgar E. Iglesias" Use bool instead of unsigned int to represent flags. No functional change. Signed-off-by: Edgar E. Iglesias Reviewed-by: Richard Henderson --- target/microblaze/translate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/microblaze/translate.c b/target/microblaze/translate.c index fbb8bb4..4136a8e 100644 --- a/target/microblaze/translate.c +++ b/target/microblaze/translate.c @@ -660,7 +660,7 @@ static void dec_div(DisasContext *dc) static void dec_barrel(DisasContext *dc) { TCGv t0; - unsigned int s, t; + bool s, t; if ((dc->tb_flags & MSR_EE_FLAG) && (dc->cpu->env.pvr.regs[2] & PVR2_ILL_OPCODE_EXC_MASK)