From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22a.google.com (mail-oi1-x22a.google.com [IPv6:2607:f8b0:4864:20::22a]) by sourceware.org (Postfix) with ESMTPS id B66CE3858C1F for ; Thu, 13 Jul 2023 10:21:53 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B66CE3858C1F 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-oi1-x22a.google.com with SMTP id 5614622812f47-3a41da34780so321127b6e.0 for ; Thu, 13 Jul 2023 03:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1689243712; x=1691835712; 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=SWhivXnlBpnwoLXv7tzh7zszDsQrDAzGgbFGRJfnrnVsPZHrPojkIWjkeQgZcgcO8S IaNTCQyQXTr1vAXrcNtQJ9zU7YtQ671eqafFoyydKNVL2reItCvbt2QwQdJBOLQtkCPz TAb1C4KBZDDw0GEoVZvgCRYj2PuQgf7YEunpQTFvcwZ3L6iesITH2YItjli0TIRcHAXy jb203tfMQuYeC5sjywcgnhbTXLZNPvZRrQqx/9u0n0Rb1ZwHAh1ZZ38RDJ0uKZoaqCRO Ucx7wJiEEcptBK2yyr+aIlHbJoPORJDTOiLO45cPhzAPWLf7y/MApBRAxaautfVh/vLG OJ9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689243712; x=1691835712; 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=jnk6/zz2VcTdb/jM5BDxgXpcrqz3XKJVg6fhyVowN8Mqw/Myi0oHaTO+9r7pI0J+ZM 9zbXseFn0k2MJeNpDs5TA2S3G6gjMfovsH6lKjVo79tajLLt0ga6f34Dkud57Y+8bzhS FdMBbirBvcnglL2ZHcpwdLonvATzo9capCRX4vGMBI92Incbtyxt6yUIVbQK44u451Bv eNZQbwhA3Uh35IUNtuX11Y0AoS6Hf4Qx5rlPpAcTQ3ZqsGontg8KSwqCtdTQWqNk6+Zk 6IVukdK+NRW/OOt5au4MX2/QCrnOxOCRvkg7uflVwFbnyjOOoSAzyXumbvci+pMMIXUJ AUpg== X-Gm-Message-State: ABy/qLZ1HG9Ok3bFs+D4k+DGCwP8hIaKLrKo3qL44t/rGVw72UljmJfp 9ius+qHbKeIKmIPP02auelttNaDmz/DObpHwRF2UuRkc X-Google-Smtp-Source: APBJJlEfH9lrdTUa58FWRPuCpUuJH/5ipDBe70B9YGI+zenMVo2Rplkj7+AGW1cVJJhp4TFfciG7Xg== X-Received: by 2002:a05:6808:bd0:b0:3a3:e769:44a3 with SMTP id o16-20020a0568080bd000b003a3e76944a3mr3717080oik.12.1689243712693; Thu, 13 Jul 2023 03:21:52 -0700 (PDT) Received: from localhost.localdomain ([139.178.84.207]) by smtp.gmail.com with ESMTPSA id u15-20020a4aae8f000000b0056520f122eesm2448261oon.44.2023.07.13.03.21.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Jul 2023 03:21:52 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org, Kyrylo.Tkachov@arm.com, richard.earnshaw@arm.com Cc: Christophe Lyon Subject: [PATCH 2/2] [testsuite,arm]: Make mve_fp_fpu[12].c accept single or double precision FPU Date: Thu, 13 Jul 2023 10:21:40 +0000 Message-Id: <20230713102140.1161573-2-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230713102140.1161573-1-christophe.lyon@linaro.org> References: <20230713102140.1161573-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