From patchwork Fri May 31 12:03:42 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Maydell X-Patchwork-Id: 800515 Delivered-To: patch@linaro.org Received: by 2002:a5d:65c4:0:b0:35b:5a80:51b4 with SMTP id e4csp695599wrw; Fri, 31 May 2024 05:09:45 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWRNyvbyPa2NBIcAFmXwqFEGRpPRgghwZ8w3O5gWHCHPSC1C9j9Sg0pLsFHG56rGGwM5K7MSGDOaUQa6d3AqQV/ X-Google-Smtp-Source: AGHT+IG/floMYYSLdWp8h3WbPi/lPt5Axvq+Tp12ocW0caiQxtrAf8oaRGyR+U6/b4PEUGP2fYko X-Received: by 2002:a05:6214:41a0:b0:6ab:8c9d:e7c3 with SMTP id 6a1803df08f44-6aecd71f075mr18711116d6.58.1717157385215; Fri, 31 May 2024 05:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1717157385; cv=none; d=google.com; s=arc-20160816; b=LvLB6qTak9lyYH/OLZ0PyA+LqE/ROv51k0db8gDGqEfKRMCNbAO/KXiE6WG+IpzUGC apo1z6MofpqZy2cmCaeGLsHanwP6BUtKvV97qLYhfPwKOJvaVds4nvvQzMAqkQAzcD1K AwUwF5G7QyMFKhiBIcsfKpMpIbtsXExR9uvV+b9LmlTV7/g9MM54gt/mX1rAVbJfKeKc 0AzIGcO10yPzvPaJdzhmROhhFtlEYT5dlLnjrqyxQuV69xi/jV7o85m664T2Gc/FpxG4 74tl3XAkKmvo+ItOJ9aJnQWZuPjjMkXBoPz/fEgZ65EyF0r2JBmWs5XkE4dsg+N4n7iR pNEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; 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=jDABOe5K9JMadz4HvqWDgF6LXkViQGX+kBYs/4LXF1I=; fh=PnYt+qEB9tAfMKoqBm2xjKOFpYyFFGPudh5cVIoieJM=; b=t9lM85s4reI/8ZyM/F2KPW1kDNyOiNwFRAxEQ8JogYfiaZQfxwVpycnWGY/4mUz1b/ JmryshDE0IC6BFAIn581zFH3S/8MJVYfDXmuQ+AYOKFcfIzYnmNChLvOcOt/g2I/Kq2S dEp9gjLabJA1GOF9qwwZUO+IBgG+PCYJOUaurRrSxdHEFo2x3TopgQhWfyzm2E52vWC7 +zNF6r9l04oLjUvWe9K3SSIn+/PMaRbrzYUNR4FiUnPIk00DS4/8feFa2LR+XFw0dMv7 I6//ND9koHqBAE1pR2ElO3zfCAl0hR/2pbCc5sQJc/qZII38MnuXnyNLxlfU0Ci8ofmg bGaA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=CcFtLIob; 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 Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6ae4b402302si19308486d6.276.2024.05.31.05.09.45 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 31 May 2024 05:09:45 -0700 (PDT) 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=CcFtLIob; 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 Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sD105-0004Xq-HO; Fri, 31 May 2024 08:04:49 -0400 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 ) id 1sD0zj-0004Oh-A0 for qemu-devel@nongnu.org; Fri, 31 May 2024 08:04:28 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sD0zf-0003Sf-2J for qemu-devel@nongnu.org; Fri, 31 May 2024 08:04:26 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4212e341818so5207905e9.2 for ; Fri, 31 May 2024 05:04:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1717157060; x=1717761860; 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=jDABOe5K9JMadz4HvqWDgF6LXkViQGX+kBYs/4LXF1I=; b=CcFtLIobKhOi+jHXCvVsUG8GfRjVHv0aeYLDpW2KPAeQc+48v3NiW5tyEeUcnUcL7S HJDCsYEI0ztSF/HhyPluOItXtLI8tDCYA3H/LqJJpLRI5jWUU2+3ktxD7IRmOPzpDHE5 JLMsR5qJaoN+nu+RlJ22ElnktyECWjdYwoj1hhLxxFhLNu6uJonndon+5kyNu2x3reIT Y4xmQSIo9XZw/ZlguhBl0kn1puNqQhNBL2eF5CgbK1FKGSKZ1r9V6SVkGQow5IKkhSTh DnL/iNZVLXBAhI9T78FDrMc48vXi6IQQJaRkxi1pJfEEL6Udu/95gCsdb4YrftvnCL7e 14zg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717157060; x=1717761860; 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=jDABOe5K9JMadz4HvqWDgF6LXkViQGX+kBYs/4LXF1I=; b=si9roPWvFCGLF0CmG+DvcJs3oHwCJPKtLqBPfUQmhe745tBIsKDAcTeNoyo6VJTPM6 4cN219l/L9CC0cjDFg+H7+ltNGJbM1WLWI6Osw/HG629Uh9WGErP8U3BwgijQTS9ZUuG LiEL33m8FsU+OL7cqRtY9fKRPLf3YmD1Zi6hlR1ly9IauhyTqd5WdTEdpeO/x6FkDABa Iosm0M0rRbK0IE7wW68QeF47xY0iXbeLHGTsWZVCC205yUbigPqrKU14qEez68YlIHeW GLzNCUAqc0XmVFKfAHsy5F3iLDpDBnlz6nvhfRErWMCfyKLJ81i+NK/Sc1SyP+ZHg6Ae 0lMw== X-Gm-Message-State: AOJu0Yz72OARCvDP16S1oFyggnesg8A5OJrW2jyWAhjY+cMBwwY7quqJ nLkzByNz3F6NkaDAzFb4p+1CK6BDstGbZ+dIe/oWerXnKHdIGVhN4vTdnG7R2+bxhvOaKtTSc9k D X-Received: by 2002:a05:600c:46cb:b0:41a:a521:9699 with SMTP id 5b1f17b1804b1-4212e045342mr15661065e9.4.1717157060522; Fri, 31 May 2024 05:04:20 -0700 (PDT) Received: from orth.archaic.org.uk (orth.archaic.org.uk. [2001:8b0:1d0::2]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42129de0cf9sm37027685e9.13.2024.05.31.05.04.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 31 May 2024 05:04:20 -0700 (PDT) From: Peter Maydell To: qemu-devel@nongnu.org Subject: [PULL 24/43] target/arm: Use TCG_COND_TSTNE in gen_cmtst_vec Date: Fri, 31 May 2024 13:03:42 +0100 Message-Id: <20240531120401.394550-25-peter.maydell@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240531120401.394550-1-peter.maydell@linaro.org> References: <20240531120401.394550-1-peter.maydell@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x336.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, T_SCC_BODY_TEXT_LINE=-0.01 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: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Richard Henderson Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson Message-id: 20240528203044.612851-20-richard.henderson@linaro.org Signed-off-by: Peter Maydell --- target/arm/tcg/gengvec.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/target/arm/tcg/gengvec.c b/target/arm/tcg/gengvec.c index e64ca02e0c1..2451d23823f 100644 --- a/target/arm/tcg/gengvec.c +++ b/target/arm/tcg/gengvec.c @@ -944,9 +944,7 @@ void gen_cmtst_i64(TCGv_i64 d, TCGv_i64 a, TCGv_i64 b) static void gen_cmtst_vec(unsigned vece, TCGv_vec d, TCGv_vec a, TCGv_vec b) { - tcg_gen_and_vec(vece, d, a, b); - tcg_gen_dupi_vec(vece, a, 0); - tcg_gen_cmp_vec(TCG_COND_NE, vece, d, d, a); + tcg_gen_cmp_vec(TCG_COND_TSTNE, vece, d, a, b); } void gen_gvec_cmtst(unsigned vece, uint32_t rd_ofs, uint32_t rn_ofs,