From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id AA71F3858C2C for ; Mon, 17 Apr 2023 09:40:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org AA71F3858C2C Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id D2CA621A36; Mon, 17 Apr 2023 09:40:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1681724411; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XyMgj/pwISuwFHG/JotX37gMcrC434x1MQnU6N3/3qM=; b=QLotq0s77DAKGWm3DLuV6N4cO8Fw+7lNavZW7eFpykV7kfHGeXam358JqWZDpyajjGcFNJ x7sl4CVZ3dBvPfDPKQC0tMl5M9Xz1yymsRBJn4mUdS9sB7VCgcqi7HH79uiR7Yv568GmnP DfH/+z4Ya6ymOi/lB8e7NUNucUZu8yI= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1681724411; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=XyMgj/pwISuwFHG/JotX37gMcrC434x1MQnU6N3/3qM=; b=wo62UTlFMkvNzKNlLVSxdAUxKWWCQt1OM+EiTVYRa4LRr+zRXueLM5zBNizRd8za6kN50V tKy1M3GjR8/pxSCw== Received: from wotan.suse.de (wotan.suse.de [10.160.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by relay2.suse.de (Postfix) with ESMTPS id C468E2C141; Mon, 17 Apr 2023 09:40:11 +0000 (UTC) Date: Mon, 17 Apr 2023 09:40:11 +0000 (UTC) From: Richard Biener To: Jakub Jelinek cc: gcc-patches@gcc.gnu.org Subject: Re: [PATCH] testsuite: Fix up vect-simd-clone-1[678]f.c tests some more In-Reply-To: Message-ID: References: User-Agent: Alpine 2.22 (LSU 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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: On Mon, 17 Apr 2023, Jakub Jelinek wrote: > Hi! > > With > make check-gcc check-g++ -j32 -k RUNTESTFLAGS='--target_board=unix\{-m32,-m32/-mavx,-m32/-mavx512f,-m32/-march=cascadelake,-m64,-m64/-mavx,-m64/-mavx512f,-m64/-march=cascadelake\} vect.exp=vect-simd-clone*' > the vect-simd-clone-1[678]f.c tests fail with -m32/-mavx512f and -m32/-march=cascadelake, > in that case there are zero matches rather than the 4 expected for ia32. > -m64/-mavx512f and -m64/-march=cascadelake works fine though (2 expected > matches). > > So, the following patch just adds -mno-avx512f for x86 non-lp64. > > Tested on x86_64-linux using the above command, ok for trunk? OK. Thanks, Richard. > 2023-04-17 Jakub Jelinek > > * gcc.dg/vect/vect-simd-clone-16f.c: Add -mno-avx512f for non-lp64 x86. > * gcc.dg/vect/vect-simd-clone-17f.c: Likewise. > * gcc.dg/vect/vect-simd-clone-18f.c: Likewise. > > --- gcc/testsuite/gcc.dg/vect/vect-simd-clone-16f.c.jj 2023-04-15 12:05:43.728131002 +0200 > +++ gcc/testsuite/gcc.dg/vect/vect-simd-clone-16f.c 2023-04-17 10:41:16.856503509 +0200 > @@ -1,6 +1,7 @@ > /* { dg-require-effective-target vect_simd_clones } */ > /* { dg-additional-options "-fopenmp-simd --param vect-epilogues-nomask=0" } */ > /* { dg-additional-options "-mavx" { target avx_runtime } } */ > +/* { dg-additional-options "-mno-avx512f" { target { { i?86*-*-* x86_64-*-* } && { ! lp64 } } } } */ > > #define TYPE __INT64_TYPE__ > #include "vect-simd-clone-16.c" > --- gcc/testsuite/gcc.dg/vect/vect-simd-clone-17f.c.jj 2023-04-15 12:05:43.747130726 +0200 > +++ gcc/testsuite/gcc.dg/vect/vect-simd-clone-17f.c 2023-04-17 10:41:32.746272142 +0200 > @@ -1,6 +1,7 @@ > /* { dg-require-effective-target vect_simd_clones } */ > /* { dg-additional-options "-fopenmp-simd --param vect-epilogues-nomask=0" } */ > /* { dg-additional-options "-mavx" { target avx_runtime } } */ > +/* { dg-additional-options "-mno-avx512f" { target { { i?86*-*-* x86_64-*-* } && { ! lp64 } } } } */ > > #define TYPE __INT64_TYPE__ > #include "vect-simd-clone-17.c" > --- gcc/testsuite/gcc.dg/vect/vect-simd-clone-18f.c.jj 2023-04-15 12:05:43.758130566 +0200 > +++ gcc/testsuite/gcc.dg/vect/vect-simd-clone-18f.c 2023-04-17 10:41:47.555056516 +0200 > @@ -1,6 +1,7 @@ > /* { dg-require-effective-target vect_simd_clones } */ > /* { dg-additional-options "-fopenmp-simd --param vect-epilogues-nomask=0" } */ > /* { dg-additional-options "-mavx" { target avx_runtime } } */ > +/* { dg-additional-options "-mno-avx512f" { target { { i?86*-*-* x86_64-*-* } && { ! lp64 } } } } */ > > #define TYPE __INT64_TYPE__ > #include "vect-simd-clone-18.c" > > Jakub > > -- Richard Biener SUSE Software Solutions Germany GmbH, Frankenstrasse 146, 90461 Nuernberg, Germany; GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman; HRB 36809 (AG Nuernberg)