From nobody Tue Feb 10 13:17:35 2026 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=1566110482; cv=none; d=zoho.com; s=zohoarc; b=lPf/mqtaK4MfL5FmLINfUJl+8FX9V+rVYT4l0rz2SwdpnNHc1O23L5s09o1Ja0CqRQ1mc7deyIfIAijLBKpFWeBOVvVQ+r8uCkGemx2l9w56rtZeULZpgnkaOEvCKneMIdwepyXMej9t8OlM12krqFJCmYx/aGkEt/zJIQHhU+s= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1566110482; 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=QxIgKgkbLQsmqdrL4E/3k+Ym5XdYGmL7edzvjt74Bt2Ekfwdzxau0Io4EgyYstHMoR5fQ+BVC19p4sjc/YzQvIp5Mi6WCQcb61EOoj6rHfoffiiTmZn6zdvkMaTSanFqqRno99iL1Xa4fsg3kTWhVp2CYQEH/ZDeypYKSFzxsG4= 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 1566110482137882.9020060828711; Sat, 17 Aug 2019 23:41:22 -0700 (PDT) Received: from localhost ([::1]:39474 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzEsS-0006XU-TB for importer@patchew.org; Sun, 18 Aug 2019 02:41:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36412) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzErH-00056m-Dt for qemu-devel@nongnu.org; Sun, 18 Aug 2019 02:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzErG-0000l6-D7 for qemu-devel@nongnu.org; Sun, 18 Aug 2019 02:40:07 -0400 Received: from mail-wr1-x443.google.com ([2a00:1450:4864:20::443]:35168) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzErG-0000kj-7A for qemu-devel@nongnu.org; Sun, 18 Aug 2019 02:40:06 -0400 Received: by mail-wr1-x443.google.com with SMTP id k2so5419293wrq.2 for ; Sat, 17 Aug 2019 23:40:06 -0700 (PDT) Received: from cloudburst.Home ([2a02:c7f:a69:1700:8897:9507:94c2:b98d]) by smtp.gmail.com with ESMTPSA id r5sm9015435wmh.35.2019.08.17.23.40.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Aug 2019 23:40:04 -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=BxZybswZd7mlu+zDCl5EE89cpB9LSXMOaG1bQ9ORBc/RUuO4kufMVcGrJq1K5jYFnz XAGVT6NFoIp1yASZaG5MGtdTK2bKh0BbogAC2vkDnX7xuRHosUOJ0NIypSm5stslzAK/ A5UsOJl1JeTiStn9qdHGVzwV3wcDYt+CfpxbKc4UPV45IPExGZ4auhe8Sc32UnCkDEkX wo3tNxrTFI4b4HoBW4WqCjI55n+EmJhAcS5+8Tg04JCsu/CnG3a9/W1jyhy51vbgV/ru 7rTqTybEHzi1T/cMMfY+xnsq4ed+J2u6mNDtBcMUbKyvAXlf4+P4Exe2PZYbCCY6CmBg JgKQ== 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=Ul/cNb5OL2FFR2IfHczTlVhWZ9CdJ5kPjwbJ1ELNfibTfCVG9Ue0H1UEYQQfpRRhOS nMUS9Q8zUPb63+tmXd3nixBTFqPBtKhur8I34S96SY9qFGpvYdUs/RhNTGuLLGludaE5 lRxlEsDGmJLOyWZ0BZOGjusFjKlHyWPSlYvJe988QkuKtW1oyrSaqwQJ2gpQeEEUklW+ 8NI1A87v6Madfl7GJIuaVv+7SEs2THSAZvaMhZ0gyVyyY5W3vX4kGsEWclZ9NSDPB/PR 5Y+9zrdIWk+0v/rLp4qBjT6N25OkU65TndrkUogpnWvgDTc297+V4TxGG0ocQ/5Hibi7 qeug== X-Gm-Message-State: APjAAAUXms8aobn2/CuLkFlwXlCUuEvWT/PtUuKMODNXOtOkV4a+JHr/ q0fchHpYDwkXDMzFcb/iP8scUOwyHck= X-Google-Smtp-Source: APXvYqxG2/BKSQ3Pk1ejeN17VdBGxOmBAu7vSxecXXc5q9Sb6UnTkcZX+qMShCGMlv+VtNzWQ1h8NA== X-Received: by 2002:adf:f705:: with SMTP id r5mr19188340wrp.342.1566110405026; Sat, 17 Aug 2019 23:40:05 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sun, 18 Aug 2019 07:39:59 +0100 Message-Id: <20190818063959.14533-4-richard.henderson@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20190818063959.14533-1-richard.henderson@linaro.org> References: <20190818063959.14533-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: 2a00:1450:4864:20::443 Subject: [Qemu-devel] [PATCH v2 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