From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vk1-xa2d.google.com (mail-vk1-xa2d.google.com [IPv6:2607:f8b0:4864:20::a2d]) by sourceware.org (Postfix) with ESMTPS id D59D43858410; Sat, 9 Oct 2021 02:47:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D59D43858410 Received: by mail-vk1-xa2d.google.com with SMTP id 34so1913596vkl.13; Fri, 08 Oct 2021 19:47:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=xiwFxjI7OwSG1YlxO7/Ks6WbsimBLPEz8pvMv+z1FLo=; b=Gn8yxYe5gz3Gb7qhgyUpM99+VE6NoZd2DFQmqXVCCbWD1BYxWr5rYArNOzOtB9oVsj lHiF7fIhcCKmZ4wDaED83td9AKsm06tzu4vIv26yrNCMiU9YU7qPNb8HBjy2cVh8LmMB FkPfBzamdyvRRbFggbAZHJwy/HkDqwH/hDJiMVzsgAOyKpandOr897BQMTtxah97x/86 hMKC9s3VeNCaKQVmIqfRj4YT3MB98O8GmRzUe90QvyMX8+BNbi3ORF2hDL8GqPoV0aMF myhCClsxoYQSawOr2HdkjHPV+PNDU271LM01ZhOn4/4u8xNQ2SFD1qHhFKxtOLvNHXZb z/OA== X-Gm-Message-State: AOAM531vm8+honyPCNUkYuiMJ0dQQFv7v/6XNAF4B0QF+BzAGzp1tvr3 +jFwKQ05Wta/dh0R9tUJNeA50fZpWA5HmBC/X14= X-Google-Smtp-Source: ABdhPJxWRjJqs7AlvN1mcMC8v2UsT03o2eRrHWvyQp/lqmMSqE6VlzQkOzW3Dn8uSXAWzndYgiRMB1AO9dITvU+657E= X-Received: by 2002:a1f:608a:: with SMTP id u132mr13341824vkb.19.1633747624440; Fri, 08 Oct 2021 19:47:04 -0700 (PDT) MIME-Version: 1.0 References: <20211008172701.151452864721@gskx-2.sc.intel.com> In-Reply-To: <20211008172701.151452864721@gskx-2.sc.intel.com> From: Hongtao Liu Date: Sat, 9 Oct 2021 10:53:37 +0800 Message-ID: Subject: Re: [r12-4240 Regression] FAIL: libgomp.c++/scan-9.C scan-tree-dump-times vect "vectorized [2-6] loops" 2 on Linux/x86_64 To: "sunil.k.pandey" Cc: GCC Patches , gcc-regression@gcc.gnu.org, "Liu, Hongtao" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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-regression@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-regression mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2021 02:47:06 -0000 On Sat, Oct 9, 2021 at 1:27 AM sunil.k.pandey via Gcc-patches wrote: > > On Linux/x86_64, > > 2b8453c401b699ed93c085d0413ab4b5030bcdb8 is the first bad commit > commit 2b8453c401b699ed93c085d0413ab4b5030bcdb8 > Author: liuhongt > Date: Mon Sep 6 13:48:49 2021 +0800 > > Enable auto-vectorization at O2 with very-cheap cost model. > > caused > > FAIL: gcc.dg/optimize-bswapsi-5.c scan-tree-dump-times optimized "=3D __b= uiltin_bswap32 \\(" 2 > FAIL: gcc.dg/optimize-bswapsi-6.c scan-tree-dump store-merging "32 bit bs= wap implementation found at" > FAIL: gcc.dg/torture/pr69760.c -O2 -flto -fuse-linker-plugin -fno-fat-l= to-objects (test for excess errors) Those testcase should be adjusted with either add -fno-tree-vectorize or add -mtune=3Dgeneric when target is x86 except for runtime test pr69760.c which seems to be a real bug. > FAIL: gcc.dg/Warray-bounds-51.c target { i?86-*-* x86_64-*-* } (test fo= r warnings, line 41) > FAIL: gcc.dg/Wstringop-overflow-14.c target { i?86-*-* x86_64-*-* } (te= st for warnings, line 38) > FAIL: g++.dg/tree-ssa/pr94403.C scan-tree-dump-times store-merging "__b= uiltin_bswap32" 1 > FAIL: g++.dg/tree-ssa/pr94403.C scan-tree-dump-times store-merging "__b= uiltin_bswap64" 1 > > with GCC configured with > > ../../gcc/configure --prefix=3D/local/skpandey/gccwork/toolwork/gcc-bisec= t-master/master/r12-4240/usr --enable-clocale=3Dgnu --with-system-zlib --wi= th-demangler-in-ld --with-fpmath=3Dsse --enable-languages=3Dc,c++,fortran -= -enable-cet --without-isl --enable-libmpx x86_64-linux --disable-bootstrap > > To reproduce: > > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/optimi= ze-bswapsi-5.c --target_board=3D'unix{-m64\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/optimi= ze-bswapsi-6.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/optimi= ze-bswapsi-6.c --target_board=3D'unix{-m64\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg-torture.exp=3Dgcc.d= g/torture/pr69760.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/Warray= -bounds-51.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/Warray= -bounds-51.c --target_board=3D'unix{-m64\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/Wstrin= gop-overflow-14.c --target_board=3D'unix{-m32\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dgcc.dg/Wstrin= gop-overflow-14.c --target_board=3D'unix{-m64\ -march=3Dcascadelake}'" > $ cd {build_dir}/gcc && make check RUNTESTFLAGS=3D"dg.exp=3Dg++.dg/tree-s= sa/pr94403.C --target_board=3D'unix{-m64\ -march=3Dcascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-7.c --target_bo= ard=3D'unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-7.c --target_bo= ard=3D'unix{-m32\ -march=3Dcascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-7.c --target_bo= ard=3D'unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-7.c --target_bo= ard=3D'unix{-m64\ -march=3Dcascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-8.c --target_bo= ard=3D'unix{-m32}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-8.c --target_bo= ard=3D'unix{-m32\ -march=3Dcascadelake}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-8.c --target_bo= ard=3D'unix{-m64}'" > $ cd {build_dir}/x86_64-linux/libgomp/testsuite && make check RUNTESTFLAG= S=3D"c++.exp=3Dlibgomp.c-c++-common/lastprivate-conditional-8.c --target_bo= ard=3D'unix{-m64\ -march=3Dcascadelake}'" > > (Please do not reply to this email, for question about this report, conta= ct me at skpgkp2 at gmail dot com) --=20 BR, Hongtao