From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) by sourceware.org (Postfix) with ESMTPS id CB7343858D35 for ; Wed, 28 Jun 2023 09:26:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB7343858D35 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-oa1-x34.google.com with SMTP id 586e51a60fabf-1b06a46e1a9so1079480fac.2 for ; Wed, 28 Jun 2023 02:26:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1687944397; x=1690536397; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=AcB9Zv7Z3z5mKwAz5AT8jtuUcrclkfM6LgLRkBmjLf0=; b=c7p3tIXpJM0lKOUq77B0Ldn5PanV2jm+FM710aD/M14T8A62hK2HFJOhiq4ze/WrgR ZmqNqt+DmQV0MjtyEKILZRWOwL6EfxV1r6QTHFoJbpXJYgUmym5w6eQ5TsMWILCbV99P rMjwFBaBaDq2YMhgj9etxIGbRh3b72edmD+oTS/YhDo2nC8pUDw9s26XS7AHocU02pos b87TQuxu3GZDRRmHE8ttqA8LYCl1FpsqJFfFEGzAwowBqr0h+plrixiG/1EGEsH2X/6K 99a12qlk4Vdq+JU7gnx3HKjIqwuRAQbusTZrq3tVTfR8wMObX7xY50YH7EraqiGK6p5B Ik3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687944397; x=1690536397; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=AcB9Zv7Z3z5mKwAz5AT8jtuUcrclkfM6LgLRkBmjLf0=; b=OQra3Hc1dI4Xc/nMLjW4xCWgDmsLQbCp/hPjmND7lBeCs1VHadh656eBVYJI9ZWKlY FCTmIS4/nq6eW7aAw3qW4xjpNNVH3K8NN83GPUSNfUjVPZ6KGwqnXMVpXRDRa5BSNFu7 ZHx5DOHigzjcvyqNgKh2uqDGpyMck3XSE9lUdnFU3MslV9tMPENvEogibW88PpITz8uL 1eS06zN3sVgDtFE2y2/+v+7Vcao1wAtoRDvOcJN2eIv2kpih3aBZvOobaJNMrjKCaoax Q1F/PWmmA8O+VpizD8+4mAGJ2YtUE0eqDIdgdALP8r05AAnUIHc9RuwqkO0Vm31e/Nsn l2vA== X-Gm-Message-State: AC+VfDyraz5yKPIevZNVGS5sZ/1aBVpy80U0USlv5YhaR6ljjaKjj+bC IfabfOFTre8GAGGgMks2njbkiqmRn03rFEX1o9wDvA== X-Google-Smtp-Source: ACHHUZ7AW/FlzsHDPDFqZkO5bTskUBWD9wT8GzsC/XQzOhCEDEfPFaoQFKxWHuMSrm2nVLTVVXujVg== X-Received: by 2002:a05:6871:c18a:b0:1b0:81eb:ac92 with SMTP id yr10-20020a056871c18a00b001b081ebac92mr751360oab.17.1687944397614; Wed, 28 Jun 2023 02:26:37 -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.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 02:26:37 -0700 (PDT) From: Christophe Lyon To: gcc-patches@gcc.gnu.org, Kyrylo.Tkachov@arm.com Cc: Christophe Lyon Subject: [PATCH 1/2] [testsuite,arm]: Make nomve_fp_1.c require arm_fp Date: Wed, 28 Jun 2023 09:26:30 +0000 Message-Id: <20230628092631.3173114-1-christophe.lyon@linaro.org> X-Mailer: git-send-email 2.34.1 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: If GCC is configured with the default (soft) -mfloat-abi, and we don't override the target_board test flags appropriately, gcc.target/arm/mve/general-c/nomve_fp_1.c fails for lack of -mfloat-abi=softfp or -mfloat-abi=hard, because it doesn't use dg-add-options arm_v8_1m_mve (on purpose, see comment in the test). Require and use the options needed for arm_fp to fix this problem. 2023-06-28 Christophe Lyon gcc/testsuite/ * gcc.target/arm/mve/general-c/nomve_fp_1.c: Require arm_fp. --- gcc/testsuite/gcc.target/arm/mve/general-c/nomve_fp_1.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/testsuite/gcc.target/arm/mve/general-c/nomve_fp_1.c b/gcc/testsuite/gcc.target/arm/mve/general-c/nomve_fp_1.c index 21c2af16a61..c9d279ead68 100644 --- a/gcc/testsuite/gcc.target/arm/mve/general-c/nomve_fp_1.c +++ b/gcc/testsuite/gcc.target/arm/mve/general-c/nomve_fp_1.c @@ -1,9 +1,11 @@ /* { dg-do compile } */ /* { dg-require-effective-target arm_v8_1m_mve_ok } */ +/* { dg-require-effective-target arm_fp_ok } */ /* Do not use dg-add-options arm_v8_1m_mve, because this might expand to "", which could imply mve+fp depending on the user settings. We want to make sure the '+fp' extension is not enabled. */ /* { dg-options "-mfpu=auto -march=armv8.1-m.main+mve" } */ +/* { dg-add-options arm_fp } */ #include -- 2.34.1