From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4FD353857C71; Mon, 9 Oct 2023 06:30:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FD353857C71 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1696833054; bh=gStYUz0SMDqvx03wjIPRJpeIVdyzxS84KwdDzvikrcY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HgnNiCkl3s87nPnIbdn5hZ6jroi3qhYV++Nf95ii8ptYdGWllb0oE9fopKNwfgXgc MrkZxvzl3Dfnfr1DsIaxiDcDQSnEtUWcjb9amITkvr+lz6ukcJ/4mAsV/tWUJ1Ixca Wh1bpWD+a38LoQiJR/0r2+YjEqWYD9r/HpuPbzK4= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/99395] s116 benchmark of TSVC is vectorized by clang and not by gcc Date: Mon, 09 Oct 2023 06:30:52 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: tree-optimization X-Bugzilla-Version: 11.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cf_reconfirmed_on 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=3D99395 Richard Biener changed: What |Removed |Added ---------------------------------------------------------------------------- Last reconfirmed|2021-03-05 00:00:00 |2023-10-9 --- Comment #7 from Richard Biener --- (In reply to JuzheZhong from comment #6) > Hi, Richi. >=20 > Recently, I am evaluating TSVC performance of GCC: >=20 > I found both RISC-V and aarch64 can SLP vectorize it: >=20 > https://godbolt.org/z/ssvTxxjeT >=20 > Both GCC-13 and trunk GCC can SLP it like LLVM (GCC-12 failed) but with > -fno-vect-cost-model. >=20 > I suspect we should adjust Vector COST model (I don't think we should aju= st > cost > model in target backend since LLVM by default vectorize such case). We are only vectorizing part of the scalar code. The CSE issue still exist= s, so is the resulting loop analysis issues.=