Message ID | 20250102180654.1420056-19-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp7902977wrq; Thu, 2 Jan 2025 10:11:44 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCU0lGMXq0NPSzKhhGTNhwjWmy2gUwy0zVcF6av3BSIZCL4mbfglKszH3FuRn57zUXch0PoEcw==@linaro.org X-Google-Smtp-Source: AGHT+IFivK5XDMQc3eCks6cYEBY+LZxtvoiFfIlxzq+mW81E240td2N8ofxYZhNXWRKGIbypIDol X-Received: by 2002:a05:6214:dca:b0:6d8:aa04:9a5d with SMTP id 6a1803df08f44-6dd2330bad3mr750442256d6.4.1735841504105; Thu, 02 Jan 2025 10:11:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735841504; cv=none; d=google.com; s=arc-20240605; b=O23rBIg3hR1aTJySJgX3GRttPXF5KfA6HHkL1loeJrPkuAG130CCJviMev+xJKYOPi ZC8UibzYVSnKaf2HKxW9a34t+awsldaC42+iRY1Rj4JI/Mji6tMxPJxe3EnHizBYGFKS GNMSbB2I8GR6SxR3lOpAmoVVyfqsyoBkgNdKIRO/e/mIaxA1s/GVJfDIz0MIiJM7tcef FbB+k0Hm7/Nr0R9NgQsEzsijtHeteVFjfB1w+CE8MikCGuc868H9OVK5BN68fGxdxM08 jmqIA+Er5x8vB2q+g/cuEw4kzy5zMKilM5lmp3/h6lKgazIwTkXaEfjk7WSVBjQhsiHa Vk2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to: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=vg7+1k12SCK3772zmTTBURMxu0QIKGQ2aPdqMP8kfMg=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=eu4KqZ38Ex0ZRRlheXKKyZnV6nq313hqae1ipYXOyqhM2PcNZILkpcKNeaucZ9tgvT yvLJpD4UTAnFGFuEiQICeV/ew3DdJsw0VyzvI9BKUcdHmyANcX8TEopbdmssGH5hPTQ5 I8QBRkNTn6G6IkhPMG3IUycp4RINhPW6+/OFOpWPnN2HoZK/6gRM7calVs2nVP/yiJCE y2yWQpE0DuMny0m7oQ9+KBJCY1c4LCxs2kn/yzoeCeR5DKlWxl81VtrU04pmCltqQCOh 714SU/Sia+d80kTP6zodNDlFdBGc5pwH2Gp8Q4BdqSyCfG7JlpWqzCCotL9Wy2efFIko cjMw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="CwcFAD/1"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6dd18253184si339433286d6.364.2025.01.02.10.11.43 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Jan 2025 10:11:44 -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=pass header.i=@linaro.org header.s=google header.b="CwcFAD/1"; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tTPbY-00073t-PG; Thu, 02 Jan 2025 13:07:32 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tTPbI-0006yg-1j for qemu-devel@nongnu.org; Thu, 02 Jan 2025 13:07:19 -0500 Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1tTPbD-000594-La for qemu-devel@nongnu.org; Thu, 02 Jan 2025 13:07:13 -0500 Received: by mail-pl1-x632.google.com with SMTP id d9443c01a7336-2163dc5155fso155960875ad.0 for <qemu-devel@nongnu.org>; Thu, 02 Jan 2025 10:07:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735841229; x=1736446029; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=vg7+1k12SCK3772zmTTBURMxu0QIKGQ2aPdqMP8kfMg=; b=CwcFAD/1oEDAFJpJEgVkNRXBLEibbS8fR5Ze9KNFQedpdeYBKJqf26hZdQKbWLp/N0 cjYAl+EdPwjA+vWVF3ZlmDKUfNwxZycM4NarIZaB+TGhje+zkK6o8CQ+tZNexFt9tffi JWLr6B6sKl/tx01OkY2Aw78YN4d1ClI6PN0aZtqYMyvUXO4doEjKehD8E6FuCki8J4Gm A1pTwO1k0a5iMSNkN4EIjidV/mgzXIjdLZAKW3Sdd56q6jVO14yjWkj2rYws6PGOJTEb az0k6XoELR2Vsx/w+4r1/E3qthqVUH6GgyfzlLkgQpMc3c1v0WQZTD7nI2vjsxYZym5T InbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735841229; x=1736446029; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vg7+1k12SCK3772zmTTBURMxu0QIKGQ2aPdqMP8kfMg=; b=ANZnIm62udffMLz3oeBVYt0ln2ULkDQWnm3ILfdY4jVhvFN6EOouYHZm01gGFaRAj9 +U7id732nAWso/4ev7i7GmyWXCqwWrHa0BV/UWlYpeQazSMn34JWE9UqlGb2tgPTy8GY iXhvt7cs7AD49ggyeGzmktLNoAu9CJt/+e9JsPN5FclWgLy5eLntTe03WZUB1Mat2e8C 2Nl1gbOIockw3Qv5ZkaoPs2OqfIp4tkksPtGSTkS075MGbVLZv4qjRgsxRPjqaccSKEE XGfZlJSIgN3ekRmNkkozh9uZ3+mMIvWcu0AanswlgYuxGMKp/3UlMoCnWHyRm/gjU9it /msQ== X-Gm-Message-State: AOJu0YzshCZtsT+fiIGGT8PGGRPnxcphrs4Okfobr84cxDt1l7RknfpA ks3opDslZHjaVFGrOMGcwuvQQkxEg0wdIhQsdReMAA5+wRm/Jfuuca1jO5/nJ7xwhxnpQqzIcyb 1 X-Gm-Gg: ASbGncsbqBPET9Srnuw/wYpVqZ4XmSQBhZPXrCu77CMAIL/46kDXDAQ6PQwOpp/2703 81Wi/Zq4gGBGszUc+uRidcTpGdQv/pcLKePMXvPqhMG9xh15vUmHF/XxfX8BwLYJGgSHYT3QVJM pdz8voo222JcbRTHl5gNccQG+nWc668ukGQoeFRJDLq7lOMRqO7mfwsvR1i97tsqX9hiPaAw/Qn eqA7teh3YxQMoouXPrDyaogYX/JB7iJVHlGPLvp2FO40yxV0+R9pAWLtGFz8w== X-Received: by 2002:a05:6a00:39a3:b0:724:5815:62c1 with SMTP id d2e1a72fcca58-72abdeaacf1mr68405754b3a.19.1735841229546; Thu, 02 Jan 2025 10:07:09 -0800 (PST) Received: from stoup.. ([63.239.63.212]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72ad3393d5fsm20604456b3a.154.2025.01.02.10.07.09 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 10:07:09 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 18/73] tcg: Move fallback tcg_can_emit_vec_op out of line Date: Thu, 2 Jan 2025 10:05:58 -0800 Message-ID: <20250102180654.1420056-19-richard.henderson@linaro.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250102180654.1420056-1-richard.henderson@linaro.org> References: <20250102180654.1420056-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 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: <https://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> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
tcg: Merge *_i32 and *_i64 opcodes
|
expand
|
diff --git a/include/tcg/tcg.h b/include/tcg/tcg.h index 01605f30c7..a3bef9c280 100644 --- a/include/tcg/tcg.h +++ b/include/tcg/tcg.h @@ -1010,17 +1010,10 @@ extern tcg_prologue_fn *tcg_qemu_tb_exec; void tcg_register_jit(const void *buf, size_t buf_size); -#if TCG_TARGET_MAYBE_vec /* Return zero if the tuple (opc, type, vece) is unsupportable; return > 0 if it is directly supportable; return < 0 if we must call tcg_expand_vec_op. */ int tcg_can_emit_vec_op(TCGOpcode, TCGType, unsigned); -#else -static inline int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve) -{ - return 0; -} -#endif /* Expand the tuple (opc, type, vece) on the given arguments. */ void tcg_expand_vec_op(TCGOpcode, TCGType, unsigned, TCGArg, ...); diff --git a/tcg/tcg.c b/tcg/tcg.c index 38c3c03591..38f0ff60e9 100644 --- a/tcg/tcg.c +++ b/tcg/tcg.c @@ -179,6 +179,10 @@ static inline void tcg_out_vec_op(TCGContext *s, TCGOpcode opc, { g_assert_not_reached(); } +int tcg_can_emit_vec_op(TCGOpcode o, TCGType t, unsigned ve) +{ + return 0; +} #endif static void tcg_out_st(TCGContext *s, TCGType type, TCGReg arg, TCGReg arg1, intptr_t arg2);
Don't reference TCG_TARGET_MAYBE_vec in a public header. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- include/tcg/tcg.h | 7 ------- tcg/tcg.c | 4 ++++ 2 files changed, 4 insertions(+), 7 deletions(-)