From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by sourceware.org (Postfix) with ESMTPS id D5B0C3858D37 for ; Wed, 28 Jun 2023 09:26:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D5B0C3858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ot1-x32f.google.com with SMTP id 46e09a7af769-6b72c4038b6so3752184a34.0 for ; Wed, 28 Jun 2023 02:26:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687944400; x=1690536400; 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=WvTY+YK97hZQonhOkePs9FkE6vy+pib6gI4heEVpRhQ=; b=qosMSYgjfUpeJbMYQtmEqUrBsAac6zXkYlEjWjh+Xlqs4A+s6VuW0KM2f86JrCEvIr NM5mOd2WWuoRDWXMQy/0ROcLi5H25pthUJMpWL7UuGeb1MHRhn9uSRZEPOixBKHhLE5B rGvklLGfk6EoALnPsJp26RlvveI8jZo1i/6uT3PpgwsGK/G624bSvm/n8wxht9eQjd7z 53IbVLtxO1EzINixovX0v876l7kpH/HMbXn0CQPndQqu6pIp/Fei+LDVW9Zzn9eVlRry RQ/gWnAQr0eDOE/miU+BhRKm4cyp4GRlDquVXF7FfFistG+eEWEygfUtDFSeIyqO/Ewl +JTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687944400; x=1690536400; 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=WvTY+YK97hZQonhOkePs9FkE6vy+pib6gI4heEVpRhQ=; b=J7l1wnNvPwo41L8LBN5xrEATM7D0oKMf8GOPffFuvQv5KnPUAHwRkh4RUM8VXb6rmX mz9DufHACUM+FALNcOVyTE9MQ7CqilznLVcmGA+9/8Dt4LijX8SsXuFTd2wYH7yc0+uH 0b7qspcZ5wRc+Hu9HEN+mKX/iD5Xu7TvdHvSJcrlnQg9xa69m8oNMIe4tjjNOm8xDeU8 K/yM8TJ8bWk/M7TOxacIAWh8WPfReRl1T1FiXT5tMOqxRu1E6npbPLZ4d0eCa2au10Cb S55zQ+cb0EKONokWJ8s1LTxjcbKqGOVNSYVA1UedElMw4xc8opddxOh8PUETCGCp2Of8 kedQ== X-Gm-Message-State: AC+VfDy2IpzFaSWi3V6rqsYqHseUWObuTX0cfjT0Ip1mboc0zCD21lVG Y5T7FCSWkn0oC0kwA7nh2AfyUvyp7C6DtaMhhoBjdZjd X-Google-Smtp-Source: ACHHUZ7tNQNnzQ1tt2x70MNWTduTQEwRU07wZlZ02Dudg3InEBHNSj9jhd6eDKmgC6KikgeUuI0i/Q== X-Received: by 2002:a9d:6f08:0:b0:6b6:9060:1113 with SMTP id n8-20020a9d6f08000000b006b690601113mr15305187otq.7.1687944399817; Wed, 28 Jun 2023 02:26:39 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id l1-20020a05683004a100b006ac75cff491sm4451435otd.3.2023.06.28.02.26.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 02:26:39 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org, Kyrylo.Tkachov@arm.com Cc: Christophe Lyon Subject: [PATCH 2/2] [testsuite,arm]: Make mve_fp_fpu[12].c accept single or double precision FPU Date: Wed, 28 Jun 2023 09:26:31 +0000 Message-Id: <20230628092631.3173114-2-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230628092631.3173114-1-christophe.lyon@linaro.org> References: <20230628092631.3173114-1-christophe.lyon@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 List-Id: This tests currently expect a directive containing .fpu fpv5-sp-d16 and thus may fail if the test is executed for instance with -march=armv8.1-m.main+mve.fp+fp.dp This patch accepts either fpv5-sp-d16 or fpv5-d16 to avoid the failure. 2023-06-28 Christophe Lyon gcc/testsuite/ * gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c: Fix .fpu scan-assembler. * gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c: Likewise. --- gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c | 2 +- gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c index e375327fb97..8358a616bb5 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu1.c @@ -12,4 +12,4 @@ foo1 (int8x16_t value) return b; } -/* { dg-final { scan-assembler "\.fpu fpv5-sp-d16" } } */ +/* { dg-final { scan-assembler "\.fpu fpv5(-sp|)-d16" } } */ diff --git a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c index 1fca1100cf0..5dd2feefc35 100644 --- a/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c +++ b/gcc/testsuite/gcc.target/arm/mve/intrinsics/mve_fp_fpu2.c @@ -12,4 +12,4 @@ foo1 (int8x16_t value) return b; } -/* { dg-final { scan-assembler "\.fpu fpv5-sp-d16" } } */ +/* { dg-final { scan-assembler "\.fpu fpv5(-sp|)-d16" } } */ -- 2.34.1