From nobody Tue Nov 11 22:37:30 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=linaro.org ARC-Seal: i=1; a=rsa-sha256; t=1566228025; cv=none; d=zoho.com; s=zohoarc; b=SCmC0sbrtp1tLsKzIn62H0xBBm6gGdx/AKjSwUsJ0Vl9JEmM4Eo6x7g49AWqdI/FRHFO7tphMJAHk7MIKsIcAUCU2HPV3zJ78sAfOBNvUqaTFt4gLXFKp3b75nxY5EyT7JvF/0RWx8yKUYdgW2w406EqSGIiCbdu/Qg/fUJwt7c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566228025; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=FYIOkeCFDs+BgfZApqGQTYKi9ofiCzdQQpabShx+clA=; b=gPiKa5idTFT2Qy3pnkw3ylKA+LXE/FC3pJMIabE7hkPscRMIZuygihqWKEMr0TFJuEJV1TKDRoLwz03YzpEp6RZBbqyRqfTHEtGM52ijZSUZHt4IZMLBuYS8gAjCkKUe7JikGgcfZI8KJFK2k5ltpxjLwtCXbAgsoYqRFqogKHo= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1566228025819706.7537079444377; Mon, 19 Aug 2019 08:20:25 -0700 (PDT) Received: from localhost ([::1]:54276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzjSK-0004BJ-14 for importer@patchew.org; Mon, 19 Aug 2019 11:20:24 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53018) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzjPy-0002Ut-3H for qemu-devel@nongnu.org; Mon, 19 Aug 2019 11:17:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzjPw-0002Wn-Pk for qemu-devel@nongnu.org; Mon, 19 Aug 2019 11:17:57 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:35964) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzjPw-0002Rn-Iq for qemu-devel@nongnu.org; Mon, 19 Aug 2019 11:17:56 -0400 Received: by mail-pf1-x42d.google.com with SMTP id w2so1349214pfi.3 for ; Mon, 19 Aug 2019 08:17:50 -0700 (PDT) Received: from localhost.localdomain (97-113-7-119.tukw.qwest.net. [97.113.7.119]) by smtp.gmail.com with ESMTPSA id r27sm21020406pgn.25.2019.08.19.08.17.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Aug 2019 08:17:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=FYIOkeCFDs+BgfZApqGQTYKi9ofiCzdQQpabShx+clA=; b=ltAd+58YwCh5eaUQEsu2K4Js+5xQgGw9JIVMFYOr/3Jb49QKktf0Wb/JhDgils9xXZ iY51U5XNUY5VZMVWwBxeRzVALpmDZsvajMSGsVbP/0WGChTxiL8a4BOkln1bv0v4ioi1 +basAvd3MtrGMdhCKpaWh3UUafeJFcI4Jod6L7/qK+Zqx6/uZ+GSRWIOmUwUl5GdcIUX bvdmXYn0G/9VhlFaCTRDeK8JQoGxjuOjQMYA0MytTRqmO/nMEc4A2OFzbPUgu+6oBArE 7YIOK0FaiczpHILdMOnWdqJdPqVATWtd2rBglf8Oca8JIbaTFkHX7q/KOnC0Ujhklagz /fCg== 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:mime-version:content-transfer-encoding; bh=FYIOkeCFDs+BgfZApqGQTYKi9ofiCzdQQpabShx+clA=; b=V55bCHpQnZmj0vpjDXNJas0eOsDTqPJKukXk5Adi18ZVWea4fdv78XQ1ifWczWR3vv +5zybmPxmPa+VlJIeB6rq2Yq3s0NJg2SsCi8m4GQ34IryNSBL05kMsndDg2CS55jnMgB Y+oEJiowrfj5uMBoaUGjMfjhOalEoY2PAIcK8VwIGajTxv+Zd1AFr4zbY7Q5ZEKxQup8 yGw1FMdoqoWmfWhxZ67rQreB/BokQ6SetWO9+W4u7hr9DeToJDyuVyp/x48IwkkwtwfA rg7VmRPqL/5G9JKgjNPqd4GLrIEqD06jsLhE8Djw8srIonAk0Ywg/xp1HBOcqErIuCmU r49g== X-Gm-Message-State: APjAAAXwA48XM8V0soxj+oPUkNaT6laXLQ3oGOknbYYd/pEaQjyvYYdb EvkUgvjzANyIqBDCvDLXtLMrE+livQc= X-Google-Smtp-Source: APXvYqyNjvVuL2i/xaKNgryLYL4/IXw3l4OsJidKNWPYCtzKcrXzmR63YJs2+tMgAj/zBJ+6pdr5XQ== X-Received: by 2002:a65:458d:: with SMTP id o13mr20056311pgq.34.1566227868801; Mon, 19 Aug 2019 08:17:48 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Mon, 19 Aug 2019 08:17:43 -0700 Message-Id: <20190819151743.17267-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190819151743.17267-1-richard.henderson@linaro.org> References: <20190819151743.17267-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42d Subject: [Qemu-devel] [PULL 3/3] target/riscv: Remove redundant declaration pragmas X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) These are now generated by decodetree itself. Tested-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alistair Francis Acked-by: Palmer Dabbelt Signed-off-by: Richard Henderson --- target/riscv/translate.c | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/target/riscv/translate.c b/target/riscv/translate.c index 8d6ab73258..adeddb85f6 100644 --- a/target/riscv/translate.c +++ b/target/riscv/translate.c @@ -708,26 +708,9 @@ static bool gen_shift(DisasContext *ctx, arg_r *a, #include "insn_trans/trans_rvd.inc.c" #include "insn_trans/trans_privileged.inc.c" =20 -/* - * Auto-generated decoder. - * Note that the 16-bit decoder reuses some of the trans_* functions - * initially declared by the 32-bit decoder, which results in duplicate - * declaration warnings. Suppress them. - */ -#ifdef CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE -# pragma GCC diagnostic push -# pragma GCC diagnostic ignored "-Wredundant-decls" -# ifdef __clang__ -# pragma GCC diagnostic ignored "-Wtypedef-redefinition" -# endif -#endif - +/* Include the auto-generated decoder for 16 bit insn */ #include "decode_insn16.inc.c" =20 -#ifdef CONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE -# pragma GCC diagnostic pop -#endif - static void decode_opc(DisasContext *ctx) { /* check for compressed insn */ --=20 2.17.1