From patchwork Tue May 28 20:30:30 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 13677373 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3A5E4C25B78 for ; Tue, 28 May 2024 20:33:43 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sC3Tb-00030l-0t; Tue, 28 May 2024 16:31:19 -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 1sC3Ta-000302-7e for qemu-devel@nongnu.org; Tue, 28 May 2024 16:31:18 -0400 Received: from mail-pg1-x530.google.com ([2607:f8b0:4864:20::530]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sC3TM-0003hB-Vx for qemu-devel@nongnu.org; Tue, 28 May 2024 16:31:17 -0400 Received: by mail-pg1-x530.google.com with SMTP id 41be03b00d2f7-6819d785528so944157a12.3 for ; Tue, 28 May 2024 13:31:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716928263; x=1717533063; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=wZAURCUXc6vorPHD4xU/CM9bOfr04uP55VqYtELjUkE=; b=q59r8ubLzU0RCvhLARpKsoJ+EA4nMBuBuunGG6lB1H+HZYAIsEO19cIAKpfhjPOGM1 iN2cHyoy/O9ql8fbERsn7/ClifLDbYr6U+fvsYiJiE2RebPyHEgLsoFyUtQUxHx4E86k bsDBt0dmnb5Pk0UBxqrjFr3tMcv6LXjXZsvmuBYsDqlkFyP1VdJUY/xwCRAo9G9muvA+ eWOnMpSmS3JAqXdLgFJeQHLl86W4Z3oF5BJBz4S5xwqlUpVlyn4S+X7R6f5iHSvPSkEQ kfe1PQ4Mxzu8Mmx4jbpSZ4Mrnd2RzPrG/ZHERWUfgxq5XawVi4iusY1FRs6gJESLTCAW YmaA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716928263; x=1717533063; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=wZAURCUXc6vorPHD4xU/CM9bOfr04uP55VqYtELjUkE=; b=R+VRBthhnRgPr158RcTNLFDW0dQkT2f5iF6LEPW5SOgHgBG7UrDHEJIjlFZMWljYT1 euKDgyw39QDtA0x3XANYeMskH2+cpx5slW7H3394TnJ1igNX4Ye/FEouqBM/xm1A5tb5 e8BU1uE7fDysehoaweVtOkU+8+8vAXHVkSMnykt7AbaqtoePQWDQGisjHh44iRGj4pRB eaP6z6TXOnACtZ+tEMIalq3lWe0UHQnSNMT1cP/OdguNcvvAemu4Ae0PZx7u/C+olwAI jouUJvHkNWg2upaPbRa+lw8xDeG3d2CVgEwx4z7R7wNdqJ4DCa1M1QqvXJ2MMWmdTFE/ fasg== X-Gm-Message-State: AOJu0YyL9BPQLfLREjz+R/p1CfJ5heciwBH0btRaU/Q7Qr8J9l12QGy+ AW7flJMzdW0rzJOk4cxJ5xMQ1naFUjiMTEQDkN76PVt8hTOfpW/jABGPQuI9pg4hckfZ7O7hnsj i X-Google-Smtp-Source: AGHT+IFF2JZBUshEjtxRrTmT+d+NWcku2hDXil2bQ4bOaCN33KGZkgDr6pgUtZgJbBRKcfo5WksDiQ== X-Received: by 2002:a05:6a20:8423:b0:1b2:53c5:9e71 with SMTP id adf61e73a8af0-1b253c5a07bmr2411542637.25.1716928262889; Tue, 28 May 2024 13:31:02 -0700 (PDT) Received: from stoup.. (174-21-72-5.tukw.qwest.net. [174.21.72.5]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f8fbd3dbe9sm7042036b3a.10.2024.05.28.13.31.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 13:31:02 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, Peter Maydell Subject: [PATCH v3 19/33] target/arm: Use TCG_COND_TSTNE in gen_cmtst_vec Date: Tue, 28 May 2024 13:30:30 -0700 Message-Id: <20240528203044.612851-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240528203044.612851-1-richard.henderson@linaro.org> References: <20240528203044.612851-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::530; envelope-from=richard.henderson@linaro.org; helo=mail-pg1-x530.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=unavailable 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+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- 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 e64ca02e0c..2451d23823 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,