From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 5BEBF3858D1E; Fri, 10 Mar 2023 13:16:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5BEBF3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1678454215; bh=XypTLRLUZ/vQtcBpv+j4mAwr77C57pI7SkjOyQbKfM0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=M9B4PIjUgb7nDtpD17Efb9fHx8bikwfu8m12jeG6klKhcP2Zmabnj1xNVirmA5dCt fiyQOZgSOd2gbfjtCKjGgzxO68dixHNNpvndF2LXD01VnQh3HbHFIox3V/GgFO4wX7 uinK6iRnkwgD224spQnbNYWZBClR1rUZ2ez9kgf8= From: "juzhe.zhong at rivai dot ai" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/109088] GCC fail auto-vectorization Date: Fri, 10 Mar 2023 13:16:55 +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: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: juzhe.zhong at rivai dot ai X-Bugzilla-Status: UNCONFIRMED 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: 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=3D109088 --- Comment #3 from JuzheZhong --- (In reply to Richard Biener from comment #2) > I think we can do conditional reduction but maybe not for variable-length > vectors? Otherwise I'm sure there's a duplicate bug about this. No, GCC still can not vectorize when I specify the fixed-length vectors=20 (-msve-vector-bits=3D512). If it's a known issue, do you have any suggestion? I am willing to fix it w= hen I finished the RVV auto-vectorization.=