From patchwork Thu Jul 15 15:34:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe Lyon X-Patchwork-Id: 1505766 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha256 header.s=default header.b=yA03mRCJ; dkim-atps=neutral Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4GQdlS5yCHz9sS8 for ; Fri, 16 Jul 2021 01:36:52 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id E2AB739890AE for ; Thu, 15 Jul 2021 15:36:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E2AB739890AE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1626363409; bh=SGpnijxtrE5d9ZLBCWlkRxejVexf8Z8SLwIlKHGLTN0=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=yA03mRCJsN/O1i/pcTSYcqD5UUglAaJaK2e/7/qN45iSwrMNHrOyXS1PCZABxE/0A 4iE51XtEXGf1sVYRFIL28R6chUf1gT2w8ea4s5pbhSOaEM4fkW3fWtDyu7Z/kRpUBK pLeRu3f4oDUjstwW5RgxsekHT/nNcF6do2nWuZA4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wm1-x32a.google.com (mail-wm1-x32a.google.com [IPv6:2a00:1450:4864:20::32a]) by sourceware.org (Postfix) with ESMTPS id 7123F398909D for ; Thu, 15 Jul 2021 15:34:56 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7123F398909D Received: by mail-wm1-x32a.google.com with SMTP id l8-20020a05600c1d08b02902333d79327aso3304082wms.3 for ; Thu, 15 Jul 2021 08:34:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=SGpnijxtrE5d9ZLBCWlkRxejVexf8Z8SLwIlKHGLTN0=; b=lxpuBg+5MMMhkI7FLO1kB/FK9woti2cjQiqVo9LurAwqom0WGH9IkdO17jeuKxdJWL 4opA8OMXwmCUu+1F9p46xmAdHYbUwIfxMLUAPAnmwy/Vs6qvputk67c/Q7hul4ODOXE4 rlvnmn8r88MhboOPJlQPURrZLD8kC6JOo8aidN2mM+SViNnBnMwyxZfz9yEtBJmFHe8P JmIcFM5xKgMEgNyrvNfsG/4hBKgkMHeGLbxJYw3zrkB2UchGl/JJJBTTFsTqIpbi4wx7 01PmVPZh0QDIW0hEXWW2bSc0vBJIEsajdiNxcY9IjYjPIikXIkYn8WW0yWDbyI8eYNZQ Ttwg== X-Gm-Message-State: AOAM533DucY+0u7LRc9e0DEf/b1dawUvu5NEG9aGp4Nqr0EjELUKkyLz 2nRgh6PSRBJ8pQ4wkQzfBUX+M55wOIlBQBP9 X-Google-Smtp-Source: ABdhPJxnyQMAWT2s8BpWEO7vQKVR4Gz4s1dp5AyNNLEBM9oOOQHwbXzkaSqzjCWaUI/ngn6Efnj+ZA== X-Received: by 2002:a1c:1bd4:: with SMTP id b203mr11313277wmb.171.1626363295158; Thu, 15 Jul 2021 08:34:55 -0700 (PDT) Received: from localhost.localdomain (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id c12sm7763304wrr.90.2021.07.15.08.34.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jul 2021 08:34:54 -0700 (PDT) X-Google-Original-From: Christophe Lyon To: gcc-patches@gcc.gnu.org, tamar.christina@arm.com Subject: [PATCH 1/2] testsuite: [arm] Add missing effective-target to vusdot-autovec.c Date: Thu, 15 Jul 2021 15:34:53 +0000 Message-Id: <20210715153454.23549-1-christophe.lyon@foss.st.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Spam-Status: No, score=-14.3 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 autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Christophe Lyon via Gcc-patches From: Christophe Lyon Reply-To: Christophe Lyon Errors-To: gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" This test fails when forcing an -mcpu option incompatible with -march=armv8.2-a+i8mm. This patch adds the missing arm_v8_2a_i8mm_ok effective-target, as well as the associated dg-add-options arm_v8_2a_i8mm. 2021-07-15 Christophe Lyon gcc/testsuite/ * gcc.target/arm/simd/vusdot-autovec.c: Use arm_v8_2a_i8mm_ok effective-target. --- gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c b/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c index 7cc56f68817..e7af895b423 100644 --- a/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c +++ b/gcc/testsuite/gcc.target/arm/simd/vusdot-autovec.c @@ -1,5 +1,7 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -march=armv8.2-a+i8mm" } */ +/* { dg-require-effective-target arm_v8_2a_i8mm_ok } */ +/* { dg-options "-O3" } */ +/* { dg-add-options arm_v8_2a_i8mm } */ #define N 480 #define SIGNEDNESS_1 unsigned