Message ID | 20250102180654.1420056-44-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 g8csp7909452wrq; Thu, 2 Jan 2025 10:28:30 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCW7VohQQWNJDOzEB/j+5fccloBQB1tGmGetgO4RwblaKoYVCCYLsPiFq9kSm84vWfUmUVjuhA==@linaro.org X-Google-Smtp-Source: AGHT+IH5pI+VUurqL6w9be7nYfKhpg96iCklZbBkcap9j9CcP41tlFOfzwIDz6kLDbFF5L/UYvgp X-Received: by 2002:a05:620a:1992:b0:7b6:7618:d7ce with SMTP id af79cd13be357-7b9ba6efa98mr8808218685a.10.1735842510642; Thu, 02 Jan 2025 10:28:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735842510; cv=none; d=google.com; s=arc-20240605; b=iiOg5UcHdhYrkIZa/AxGcHzCfY2xjI1it25SSKhs1u49ls9EJzC2ALZxhJ//hwWRhZ ID87HQUrhVGN6QO+MVDVhFyIg3KLh9cUnkWvv18UHLMv5auoxY/wf+BYKMqS8xcv2y5A ZAAFSB0eFLQDVIhXlyo5/33xdljXNreXjxZ13kXMcJ2KRg15E/SyZ73lmkFqHXXaJou5 KJIkEgeClEBF/rQjniEosAqtwHteMgj5MwJiU3OnhlrdwuGr3RSdMQtLz8wDqtC9uLn6 Tb/neWSS1ULDco0hhFkTQbrM+PShl22nB8upUE1c0Tz4H6poNphPylOtH23QVT0B+/zH 0HFQ== 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=34PDZEbnRMWgOGhG5jWyE54EWIxgW8QYKTB2trFJYyA=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=UwuG4DiSS1QKEBWYHUsZ1o874zmrMmoHrC85RS0ILZBQv1GPs1CWpUMliT29dwoYcT DKaEpKfVMTd461Mqx/eGBj8phGAWTw+RK9lHJ5nufyR+7obkWBqom2TRXsLxyffCb57r ITJcRr3Fm+lSEkeCMtevbZk/ipXaZKbQFm5GpPKvFHVRCQJN2Ce1sYRev7SdVRkclAn7 C19CePirvLN4ButDqGFlhPf7gDoQLd90uXTuDVU5/8MqCk/YTOdhSi2u6UQn/36hWLci QO9kvVIvVykCvxXlXtUJvhWxvPhb4RIq1N2bZsWICW6z8TOIh+2JRuUEBEvp+rkB184y 2/lQ==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=WjEsfEIB; 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 af79cd13be357-7b9ac478680si338429185a.333.2025.01.02.10.28.30 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Jan 2025 10:28:30 -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=WjEsfEIB; 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 1tTPfn-0006l5-L9; Thu, 02 Jan 2025 13:11:56 -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 1tTPeS-0007FR-0k for qemu-devel@nongnu.org; Thu, 02 Jan 2025 13:10:33 -0500 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]) 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 1tTPeQ-0006Cd-3p for qemu-devel@nongnu.org; Thu, 02 Jan 2025 13:10:31 -0500 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-2166651f752so183469255ad.3 for <qemu-devel@nongnu.org>; Thu, 02 Jan 2025 10:10:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735841429; x=1736446229; 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=34PDZEbnRMWgOGhG5jWyE54EWIxgW8QYKTB2trFJYyA=; b=WjEsfEIBI1FTRqqFALTYtfhMhMZ0qhRbHeAFtCWsrTXLEjRK3M5Z3VUOnNiaY9uJj5 sb4gr732OQpT6YSM0RcLpIK6a0d+i4mU4t16yYj6T/hR+Usrul1tAiodeRdjpzJa8jQ2 h+qICbKQnehNPT8PNCA66/MjnCKPhaOhLX3DIEK/nSDsS2ZOuM386C3lvtTriTCMDE9H ucIDryTuiz8Ygd4dtGsYQIfT9tMBYZGMa2vsekrZ2SjnKkGvujoKNxfROCVAJMuX5rNh ykPBJUKabB4SDAyhYWgvIMu5vZ0OFCCDsTCtXHmbFOuDSiKzE/+YhTUvAF/wRXb5JERS 8wrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735841429; x=1736446229; 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=34PDZEbnRMWgOGhG5jWyE54EWIxgW8QYKTB2trFJYyA=; b=fEGPSEkyD8quddgmgqoAHE9QV0k9795quA0JzKBU3XdVr6m+xh9Tix7cSa6FKKWHIn PwaBORF9M1DcbpiNSajuwqxUNP4zhTHZyJHTfCmFoHBub1ZdSIzQjTckrgCrFWJfpVz7 BZDbtTG3/asw3xpmHWlJAa1aNim+77WDWPJo5y/Lu9lU/JgKpJ+eksMceujcovEn31Ug TQzcAjdvGq3SjplkwShA8YpEQY1Ml9SiomdkhIhiIvNKOsiOm9ICz95II9y3Xkp0mDeC YwzmpK7VzlnTTEQK4D4jsNTfwS48E3IFIM1r/BwESRu7KORGGSBpzIDTWg9P2uybzwwp i8YA== X-Gm-Message-State: AOJu0Yzn7BgCSmT1xuQVeTqY21rsBWdNhXDrCFoQmxezeQvne8rpdlr5 gkMaCrJoUnNvjBHfT8v2JyOoCW8ReuR7TIXacB1+L8sdHb/SBLjkb3mNk5xaeUadDby15CzB7yk R X-Gm-Gg: ASbGncvPwuN+4ZHOlnz9L2QSHB62CZwT4XvRo5PnkkCHTLV7R6F2LT3LFFnJibuaqQr GtuO9EX2Fi1i6pK9UI2mlDudSg40smkcz9Eie3EiV/zkulbc4rhPptJaQEoLzSzC2sXIeJPTv6S LbQFdBe+hUffYuoAf2VU1uLDfDTPLRnIzXqzx3ip36ZCZ6RXayAYX+kOBeuq4+HrVj3un0TWNlj +SJHPGmtj59ftN/n95sKDVOxk+uK2lsdxE0jBAfLBLxHrxkdlJHAHm9Cnz0aA== X-Received: by 2002:a05:6a00:8d8d:b0:726:8366:40ca with SMTP id d2e1a72fcca58-72abdd3c228mr51292742b3a.1.1735841428867; Thu, 02 Jan 2025 10:10:28 -0800 (PST) Received: from stoup.. ([63.239.63.212]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-72aad8dbaf1sm24620827b3a.112.2025.01.02.10.10.28 for <qemu-devel@nongnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Jan 2025 10:10:28 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 43/73] tcg/tci: Remove assertions for deposit and extract Date: Thu, 2 Jan 2025 10:06:23 -0800 Message-ID: <20250102180654.1420056-44-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::62a; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62a.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/tcg/tci/tcg-target.c.inc b/tcg/tci/tcg-target.c.inc index b7c58671f0..dbffbeff5f 100644 --- a/tcg/tci/tcg-target.c.inc +++ b/tcg/tci/tcg-target.c.inc @@ -774,28 +774,12 @@ static void tcg_out_op(TCGContext *s, TCGOpcode opc, break; CASE_32_64(deposit) /* Optional (TCG_TARGET_HAS_deposit_*). */ - { - TCGArg pos = args[3], len = args[4]; - TCGArg max = opc == INDEX_op_deposit_i32 ? 32 : 64; - - tcg_debug_assert(pos < max); - tcg_debug_assert(pos + len <= max); - - tcg_out_op_rrrbb(s, opc, args[0], args[1], args[2], pos, len); - } + tcg_out_op_rrrbb(s, opc, args[0], args[1], args[2], args[3], args[4]); break; CASE_32_64(extract) /* Optional (TCG_TARGET_HAS_extract_*). */ CASE_32_64(sextract) /* Optional (TCG_TARGET_HAS_sextract_*). */ - { - TCGArg pos = args[2], len = args[3]; - TCGArg max = tcg_op_defs[opc].flags & TCG_OPF_64BIT ? 64 : 32; - - tcg_debug_assert(pos < max); - tcg_debug_assert(pos + len <= max); - - tcg_out_op_rrbb(s, opc, args[0], args[1], pos, len); - } + tcg_out_op_rrbb(s, opc, args[0], args[1], args[2], args[3]); break; CASE_32_64(brcond)
We already have these assertions during opcode creation. Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- tcg/tci/tcg-target.c.inc | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-)