From patchwork Thu Mar 3 20:59:16 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 547818 Delivered-To: patch@linaro.org Received: by 2002:ac0:f585:0:0:0:0:0 with SMTP id s5csp978675imq; Thu, 3 Mar 2022 13:04:24 -0800 (PST) X-Google-Smtp-Source: ABdhPJzBAe5fJ5Phkw0prewTz0Fsox6BP8F5tIxJhhYjcWHqyLh2U6Az8KnW58F1cY+Hdq/bMXHo X-Received: by 2002:a25:e307:0:b0:628:a6d3:1f6b with SMTP id z7-20020a25e307000000b00628a6d31f6bmr8616488ybd.338.1646341464678; Thu, 03 Mar 2022 13:04:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646341464; cv=none; d=google.com; s=arc-20160816; b=0PyzQp08oJw5LrNq5+L1Fj2RmUdHqw8bceIYqn52Iup2UylRdJFMp2ClSmlka3jYwu YTIZfOqM3FVJ8gSS5oBjKs7FU+ENZQIv6LDuZmzXUDYHRwebOGjHSsuf4jUV3iriY/g4 gpgEin/LkknBacKZaTNwI7rSMkBykGlTJb5R5k0wHVFR8GhJjasVJvH3Cnxe1poVMd/J TnFnArTPXueFE1rtk6MGDf/s5kZW8u8LPkWz2VQlt7hngogrxxLSD8pXKWHGBEokirHI xGkTIdBz3hvSl9dWXFoQk+xjNzyDXQrBV1B7/ubvcxQ52G4Od4PEEQ2y56weWE/+AduL JvPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=+u6WJ4o87lULpTmMeIiEBRzSihebLo/7su9/1OJOC8k=; b=qDB1hklOUtgxOJbgDw74/NXuK0Lx26Ow6KcSdy/RtLrVmz+pBGOfg9wra50O1OL8KU N3+mxGqAqhjFC59AoTTi4NoX2G/pW8pBuoap/8rO5QNA87AKJBQX3ljWhsaaXjKf6zG8 rYO4LeNDxF9iVB4agK0KkCPSl90SGG2v9MXZvlOyi3PtHnrSwhXwKbVXLQmxzt+EwtPW 8VX/a5nMCNm3nPphe+Qkg/a2I3RTAr3nZWbWtp1BTs5301MQdEE4qkbA6vVdg31aKTnb G6PoLJGXZigKJNsxFCujIX6dTO8MO4o5um6pO638PqGy1+94CQNlV4cj8ghMQRm01NFm Rbrw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xK003ffM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id t188-20020a812dc5000000b002dbfe33d931si2488498ywt.261.2022.03.03.13.04.24 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 03 Mar 2022 13:04:24 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=xK003ffM; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:35160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nPsca-0003zY-0O for patch@linaro.org; Thu, 03 Mar 2022 16:04:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58798) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nPsYD-0005DA-Le for qemu-devel@nongnu.org; Thu, 03 Mar 2022 15:59:53 -0500 Received: from [2607:f8b0:4864:20::62d] (port=40544 helo=mail-pl1-x62d.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nPsYC-00042T-2G for qemu-devel@nongnu.org; Thu, 03 Mar 2022 15:59:53 -0500 Received: by mail-pl1-x62d.google.com with SMTP id z11so5862120pla.7 for ; Thu, 03 Mar 2022 12:59:51 -0800 (PST) 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=+u6WJ4o87lULpTmMeIiEBRzSihebLo/7su9/1OJOC8k=; b=xK003ffMaIrcY/dbWaRaFuCbTF8uPblRubVt4NLgZSINCFbFocMEiinQDt0eRAA1xp ZiXKTvzxXHB53TQhBa6Fi2VpG9lwB08/nIX7OO1wrVoXmZ6ShZkxdLbQIy3ZlcddfnSE MSUM1gPzRPtBsLIrJu/kP/5I69EmMKYzFlQWgLFCOHAAX5JxFVZ8nK7NctCEm9QaPYJe j8W10XGLryUKduvRo0awK6/V8COWyoqXO6H7nkJR515HjBMYa+HcpWD5P2CpxcIhHt7Q wFVz+xjEMBdgExtFy5UGotvsWXGmd2/07c2znsBd7GJiZEjsbnkwJAIDoqZD6cJbQm7Z X8Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=+u6WJ4o87lULpTmMeIiEBRzSihebLo/7su9/1OJOC8k=; b=iIdd4CLXC4+umZSrOyWoDee3WdPQ2/rSNke7MQ9wj/LfQvSgduHB3Do6xy51u6RrLH WOtnC/tsfIz0YYCP+f+QqoLdSsunnmNpfabGUbSKl7Ko1clTqpsqY+kt6q2ZpOyRD9+M AGGbC1GMCSLNPsBNYAbkvOB1rAUy74/51cbpn/rCiD/gCATurnUTJRpcA0b235zMO0Nc YyguJroYezZPZs2mNrUA3Hpo1A6UMCiCpiIC/7POixomKQI8EWKwndyKfbKd1KOMkNb7 Gg2ZG/xELm1j+VRaiXUzdkSP8/JG/lhgn1MvXABxLNDFfnWTdn52y4ASw/x+54J4NVVl dK9Q== X-Gm-Message-State: AOAM532wkTGXT+ViEKMyBScqmB3MiVioRkGlaoJwN+65TEWYs7YQYz5+ 3gG7YzZv9m34SOa3fBqlYbIa8IxGf8eTrw== X-Received: by 2002:a17:902:ecc1:b0:151:9614:59f5 with SMTP id a1-20020a170902ecc100b00151961459f5mr10901222plh.132.1646341190481; Thu, 03 Mar 2022 12:59:50 -0800 (PST) Received: from localhost.localdomain (2603-800c-1201-c600-119c-490c-a4ee-08e8.res6.spectrum.com. [2603:800c:1201:c600:119c:490c:a4ee:8e8]) by smtp.gmail.com with ESMTPSA id t8-20020a6549c8000000b00372eb3a7fb3sm2729934pgs.92.2022.03.03.12.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Mar 2022 12:59:50 -0800 (PST) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 02/30] tcg: Set MAX_OPC_PARAM_IARGS to 7 Date: Thu, 3 Mar 2022 10:59:16 -1000 Message-Id: <20220303205944.469445-3-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220303205944.469445-1-richard.henderson@linaro.org> References: <20220303205944.469445-1-richard.henderson@linaro.org> MIME-Version: 1.0 X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62d (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::62d; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62d.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, Taylor Simpson , Ziqiao Kong Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Ziqiao Kong The last entry of DEF_HELPERS_FLAGS_n is DEF_HELPER_FLAGS_7 and thus the MAX_OPC_PARAM_IARGS should be 7. Reviewed-by: Taylor Simpson Signed-off-by: Ziqiao Kong Message-Id: <20220227113127.414533-2-ziqiaokong@gmail.com> Fixes: e6cadf49c3d ("tcg: Add support for a helper with 7 arguments") Signed-off-by: Richard Henderson --- include/tcg/tcg.h | 2 +- tcg/tci/tcg-target.c.inc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 42f5b500ed..939041103e 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -43,7 +43,7 @@ #else #define MAX_OPC_PARAM_PER_ARG 1 #endif -#define MAX_OPC_PARAM_IARGS 6 +#define MAX_OPC_PARAM_IARGS 7 #define MAX_OPC_PARAM_OARGS 1 #define MAX_OPC_PARAM_ARGS (MAX_OPC_PARAM_IARGS + MAX_OPC_PARAM_OARGS) diff --git a/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index 9ff1fa0832..98337c567a 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -197,7 +197,7 @@ static const int tcg_target_reg_alloc_order[] = { TCG_REG_R0, }; -#if MAX_OPC_PARAM_IARGS != 6 +#if MAX_OPC_PARAM_IARGS != 7 # error Fix needed, number of supported input arguments changed! #endif