From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B40CB3858421; Tue, 21 Mar 2023 12:29:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B40CB3858421 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1679401799; bh=CP/5C/BejcaXesL+lf2+IlZmBVscYpwnX69aWata+Ko=; h=From:To:Subject:Date:In-Reply-To:References:From; b=DqgwfmtmM5VQKst5R9r+5FG8iAPCjxAa+ln3RHYnbFGmIjvcJtk5icYeRQ6YlqhaX sCNEOlkJcl9SlpWwVmABg9pMVZMqdj+arsXYlJq30Q17+6mZtEKbymAsEp7RkEfH0m oQok2jUabYENGaUF+KiwYtBuRHUawBos0ROIrCFM= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug testsuite/108898] [13 Regression] Test introduced by r13-6278-g3da77f217c8b2089ecba3eb201e727c3fcdcd19d failed on i386 Date: Tue, 21 Mar 2023 12:29:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: testsuite X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D108898 --- Comment #5 from CVS Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:b49aedf6aed4911c8473738a88e839703f51386d commit r13-6784-gb49aedf6aed4911c8473738a88e839703f51386d Author: Jakub Jelinek Date: Tue Mar 21 13:28:50 2023 +0100 testsuite: Fix up vect-simd-clone1[678]*.c tests [PR108898] As mentioned in the PR, vect-simd-clone-1[678]{,f}.c tests FAIL on x86_64-linux with -m64/-march=3Dcascadelake or -m32/-march=3Dcascadelak= e, there are 3 matches for the calls rather than expected two. As suggested by Richi, this patch changes those tests to use --param vect-epilogues-nomask=3D0 such that it is more predictable on h= ow many calls will show up. In the non-[a-f] suffixed tests, the scan-tree-dump-times patterns were expecting 2 for non-aarch64 and 3 for aarch64, which is a puzzle for me, because vect_simd_clones effective target is apparently never true on aarch64 (just on x86 in some cases a= nd on amdgcn; perhaps something to change for GCC14, but I guess too late for stage4). That said, I have looked at aarch64 dumps and see only 2 calls with --param vect-epilogues-nomask=3D0 and 3 with --param vect-epilogues-nomask=3D1 or without it, so I have tweaked those to alw= ays expect the same thing. Another thing is some tests uselessly had -fdump-tree-optimized in dg-options even when they don't scan anything there. Tested on x86_64-linux with make -j32 -k check-gcc RUNTESTFLAGS=3D"vect.exp=3Dgcc.dg/vect/vect-simd-clone-*.c \ =20=20=20 --target_board=3D'unix{-m64/-march=3Dx86-64,-m64/-march=3Dcascadelake,-m32/= -march=3Di686,-m32/-march=3Dcascadelake}'" and aarch64-linux (where all tests are UNSUPPORTED before/after). 2023-03-21 Jakub Jelinek PR testsuite/108898 * gcc.dg/vect/vect-simd-clone-16.c: Add --param vect-epilogues-nomask=3D0 to dg-additional-options. Always expect just 2 foo.simdclone calls. * gcc.dg/vect/vect-simd-clone-16f.c: Add --param vect-epilogues-nomask=3D0 to dg-additional-options. * gcc.dg/vect/vect-simd-clone-17.c: Likewise. Always expect ju= st 2 foo.simdclone calls. * gcc.dg/vect/vect-simd-clone-17d.c: Remove -fdump-tree-optimiz= ed from dg-additional-options. * gcc.dg/vect/vect-simd-clone-17e.c: Likewise. * gcc.dg/vect/vect-simd-clone-17f.c: Likewise. Add --param vect-epilogues-nomask=3D0 to dg-additional-options. * gcc.dg/vect/vect-simd-clone-18.c: Add --param vect-epilogues-nomask=3D0 to dg-additional-options. Always expect just 2 foo.simdclone calls. * gcc.dg/vect/vect-simd-clone-18f.c: Add --param vect-epilogues-nomask=3D0 to dg-additional-options.=