From patchwork Thu Nov 16 15:26:16 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 165857 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b909:0:b0:403:3b70:6f57 with SMTP id t9csp3287348vqg; Thu, 16 Nov 2023 07:28:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IE3oNd5yTGUL3Iza5dQrvI2DfXCk1wTRBjpgvC1KLEGcCBTmea9IdovqFOxoLiHbHKMCkK2 X-Received: by 2002:a05:622a:18f:b0:41c:cc6d:bba with SMTP id s15-20020a05622a018f00b0041ccc6d0bbamr9942871qtw.44.1700148486300; Thu, 16 Nov 2023 07:28:06 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1700148486; cv=pass; d=google.com; s=arc-20160816; b=zs54iT+ihpkDVNJvC0bOU8RI/8KDVv7VBQNVaohRlsgPLu1KnwCWaVa+NyE5RYpnGQ GWWmQnUhGIqPyZdDS2NENAQNZEyhbIbOqEJUZAilwwKU0NUXlHTUtQYTAUs8cf2p7+DO QCig7akehDPA7hM1iDlT4XHstYq5hHNHfs1Qzk79w8DZCBvJLBi7qHgXtJtfXhQs7f7q xsDUDmAPGI/YPO9UJwvZTgJjwwJ5Z/YRgMYyO8Xtnf7b8GwqZAd/t7bak1vUzU2libA4 acEVlefI2CXUae0spwL74KGNAK4fWmTBxEr3ccRkZgjrqTEtvu+/BEVw+lMw5nFW9N7I sYQQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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:cc:to :from:dkim-signature:arc-filter:dmarc-filter:delivered-to; bh=+EcSlqsk/8qAB2PpqLmYsSkz2do2ohGpzwNLxuq+KYs=; fh=FRNyphhuT2DfOrWLD6nTLzU8xRqveLticgMhz0p6TRc=; b=R8XBr1lz1eQ3IKdR0ItNk9It/LFrpLEoCd0RjNtaqF2A+BI1smJUwp+pKCr8jyeyQn SU34xohtOEo4penOQfaWChgdNLiXBJ1LaFIhevhAaxAoLOCwu0ZCLIZaAblym5JiaHfw D2eg6y5XuUfKTSwt1bOvsiQ9ApqhS/hbajmfRbrb1yotFW0ASaushd+/qgIYjruEuKep OvBNBT88OyPOCTvvc+y+h9T76HIy68UyBVkwBc08oCIEcYtEdy7SevqmQnmF3SfxrFg/ e2BR5Yv6CDrHNosPNvUqi4t/hIv0JZf8Psd3aAlFtsyr4WhjBMdYwrYyAFT8IrndC3M0 Wrjw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lj5elQCL; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id k10-20020a05622a03ca00b004053819f665si11198564qtx.608.2023.11.16.07.28.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 07:28:06 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lj5elQCL; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 61AB23857C72 for ; Thu, 16 Nov 2023 15:27:52 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-oi1-x234.google.com (mail-oi1-x234.google.com [IPv6:2607:f8b0:4864:20::234]) by sourceware.org (Postfix) with ESMTPS id C1E7C3858421 for ; Thu, 16 Nov 2023 15:26:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1E7C3858421 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org C1E7C3858421 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::234 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700148415; cv=none; b=KsZYkektZR0u8MIRLAQwnwKjyaw5oTNFBnD/YwmVqmk+BDr/0Ix+iy4iJGB3wZovLwWyxZIcU30sYq8SwA8EvW/ZshXnhNa9KNPeYjC0FHWvrVvy+HULimEl2bqWQMlTCFeegq+zccYWr+HKIGYGvBU3U41NF5qm2d9Uul7rG+M= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700148415; c=relaxed/simple; bh=ci/GixXW+6kzGdNbsMjvtbfPyyPs5BMl8l/PSw5q7k8=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=ecpoXnOmvp6i8ZmJVMh1AuOj0s4o+H7Fdf7W0ZwPOp6n9G5Iy9NQuwxmIkR2VZD7wv1aRjf/ue64Ty1+wLYtDuMHc6or7ksKl8uqMepOPYqFZOC9b+tj+XZv7kakfA45sZDZxC4CEDYDdIAQEJ2hL2ulPzVQxcY8UQOK5pRHzBM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-3b566ee5f1dso537320b6e.0 for ; Thu, 16 Nov 2023 07:26:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1700148412; x=1700753212; darn=gcc.gnu.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=+EcSlqsk/8qAB2PpqLmYsSkz2do2ohGpzwNLxuq+KYs=; b=lj5elQCLR6Xd2VRAYFEY0/eanOrYGymsnMbCGWfoUpzOpy9NfF+SXm+7TrNZqiPs1h ZHLjztkl6YIZNh+asjv2yaCC1mLnHULbOT/bI5ZzrB2zNCi7HGJ2p7soXgx495kMXhK+ hjJAImAH/A2+MQ9xmcDgTFdJECx7ZKiYrZ+/88G8GXE9AQfKikqzk7SMFIX5WX3+LeJ8 jh/WQdnDfzw4Aq50Dl/YJhT2rwDkSQ0xVXb9BfbwEkzDmr2c7sXXvhOq51pDKhNGoUYV 8ToRiQ+pn9RKnpp76OajeM1ilvlAdZtfxD1ZUMC+TW32wEMMPWXemAbVNPclxhBqtCOG 1vmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700148412; x=1700753212; 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=+EcSlqsk/8qAB2PpqLmYsSkz2do2ohGpzwNLxuq+KYs=; b=j7grhSfjeFp4Sts24PKzucZy8Y+xiMaRBHzRcUwfGugJVKYmOl7iVlx4Kb6C2gDItm mERWJGfMwivKOcDSOWZKyoNWF4ZdFtwTrHlNxROg+AFVHINdYAcqMXHWG5DqpPtBzigK F09rwCCWk/gB07YR251Bl9AKheCF6JsW2VXxN38mC/yBwJam3Owa5LONjDX43fxj28/a dPytMTXdLzdYNu1FaPTxX70JaK6YgvM4TNWzXOPKaWpqocN5ybYft/W0WWAU3xGe9nAc npoEPMmUdcP56Zt9y0tmiJICPdptxPbovuK8VPRaqCbvnYrsa14wX1wDhI8tKFmaFiW6 P7JQ== X-Gm-Message-State: AOJu0Yw1tSi8YSO8IL056+1qV97DTYD5n9rXDMM6bcy9wgHNtLmB63Q9 6tUTTkaegqfpRRNRugFbjx9vX5FkghHzS2t09TToXaGp X-Received: by 2002:a05:6808:3a19:b0:3a3:ed41:5ab with SMTP id gr25-20020a0568083a1900b003a3ed4105abmr23272874oib.9.1700148412379; Thu, 16 Nov 2023 07:26:52 -0800 (PST) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id a26-20020a056808099a00b003af5f6e40d7sm1817426oic.15.2023.11.16.07.26.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Nov 2023 07:26:51 -0800 (PST) From: Christophe Lyon To: gcc-patches@gcc.gnu.org, richard.sandiford@arm.com, richard.earnshaw@arm.com, kyrylo.tkachov@arm.com Cc: Christophe Lyon Subject: [PATCH 5/6] arm: [MVE intrinsics] fix vst1 tests Date: Thu, 16 Nov 2023 15:26:16 +0000 Message-Id: <20231116152617.2193377-5-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231116152617.2193377-1-christophe.lyon@linaro.org> References: <20231116152617.2193377-1-christophe.lyon@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1782734899108278849 X-GMAIL-MSGID: 1782734899108278849 vst1q intrinsics return void, so we should not do 'return vst1q_f16 (base, value);' This was OK so far, but will trigger an error/warning with the new implementation of these intrinsics. This patch just removes the 'return' keyword. 2023-11-16 Christophe Lyon gcc/testsuite/ * gcc.target/arm/mve/intrinsics/vst1q_f16.c: Remove 'return'. * gcc.target/arm/mve/intrinsics/vst1q_f32.c: Likewise. * gcc.target/arm/mve/intrinsics/vst1q_s16.c: Likewise. * gcc.target/arm/mve/intrinsics/vst1q_s32.c: Likewise. * gcc.target/arm/mve/intrinsics/vst1q_s8.c: Likewise. * gcc.target/arm/mve/intrinsics/vst1q_u16.c: Likewise. * gcc.target/arm/mve/intrinsics/vst1q_u32.c: Likewise. * gcc.target/arm/mve/intrinsics/vst1q_u8.c: Likewise. --- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f16.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f32.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s16.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s32.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s8.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u16.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u32.c | 4 ++-- gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u8.c | 4 ++-- 8 files changed, 16 insertions(+), 16 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f16.c index 1fa02f00f53..e4b40604d54 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f16.c @@ -18,7 +18,7 @@ extern "C" { void foo (float16_t *base, float16x8_t value) { - return vst1q_f16 (base, value); + vst1q_f16 (base, value); } @@ -31,7 +31,7 @@ foo (float16_t *base, float16x8_t value) void foo1 (float16_t *base, float16x8_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f32.c index 67cc3ae3b47..8f42323c603 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_f32.c @@ -18,7 +18,7 @@ extern "C" { void foo (float32_t *base, float32x4_t value) { - return vst1q_f32 (base, value); + vst1q_f32 (base, value); } @@ -31,7 +31,7 @@ foo (float32_t *base, float32x4_t value) void foo1 (float32_t *base, float32x4_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s16.c index 052959b2083..891ac4155d9 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s16.c @@ -18,7 +18,7 @@ extern "C" { void foo (int16_t *base, int16x8_t value) { - return vst1q_s16 (base, value); + vst1q_s16 (base, value); } @@ -31,7 +31,7 @@ foo (int16_t *base, int16x8_t value) void foo1 (int16_t *base, int16x8_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s32.c index 444ad07f4ef..a28d1eb98db 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s32.c @@ -18,7 +18,7 @@ extern "C" { void foo (int32_t *base, int32x4_t value) { - return vst1q_s32 (base, value); + vst1q_s32 (base, value); } @@ -31,7 +31,7 @@ foo (int32_t *base, int32x4_t value) void foo1 (int32_t *base, int32x4_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s8.c index 684ff0aca5b..81c141a63e0 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_s8.c @@ -18,7 +18,7 @@ extern "C" { void foo (int8_t *base, int8x16_t value) { - return vst1q_s8 (base, value); + vst1q_s8 (base, value); } @@ -31,7 +31,7 @@ foo (int8_t *base, int8x16_t value) void foo1 (int8_t *base, int8x16_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u16.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u16.c index 1fea2de1e76..b8ce7fbe6ee 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u16.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u16.c @@ -18,7 +18,7 @@ extern "C" { void foo (uint16_t *base, uint16x8_t value) { - return vst1q_u16 (base, value); + vst1q_u16 (base, value); } @@ -31,7 +31,7 @@ foo (uint16_t *base, uint16x8_t value) void foo1 (uint16_t *base, uint16x8_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u32.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u32.c index 64c43c59d47..1dbb55538a9 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u32.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u32.c @@ -18,7 +18,7 @@ extern "C" { void foo (uint32_t *base, uint32x4_t value) { - return vst1q_u32 (base, value); + vst1q_u32 (base, value); } @@ -31,7 +31,7 @@ foo (uint32_t *base, uint32x4_t value) void foo1 (uint32_t *base, uint32x4_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u8.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u8.c index 5517611bba6..ab22be81647 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u8.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/vst1q_u8.c @@ -18,7 +18,7 @@ extern "C" { void foo (uint8_t *base, uint8x16_t value) { - return vst1q_u8 (base, value); + vst1q_u8 (base, value); } @@ -31,7 +31,7 @@ foo (uint8_t *base, uint8x16_t value) void foo1 (uint8_t *base, uint8x16_t value) { - return vst1q (base, value); + vst1q (base, value); } #ifdef __cplusplus