From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 902B03858CDB; Thu, 18 Jan 2024 05:13:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 902B03858CDB DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705554799; bh=n5UDZL/8xucyJ5gGbFN1zAQxBMwXl4O+gbZJwVSsszI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HyVsOs8CaYx7+jLskfi5P4azokGADY7v3U4kr3nR6gCZZabn0l3MqI2vcrPEkkvdT bwVLC7JiGUnUrEF21lMtR6XI8Z464SWIMB1j5hbcX98rwabSMzQTn1F68iXZmi+du5 6yTZOSpDK3L6cPnvW2nJ/7NmQ7rH+uanIZn8ql3M= From: "liuhongt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/113458] Missed SLP for reduction of multiplication/addition with promotion Date: Thu, 18 Jan 2024 05:13:19 +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: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: liuhongt at gcc dot gnu.org 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=3D113458 --- Comment #2 from Hongtao Liu --- > But if we reduce n to 4, the loop based vectorizer is not able to handle = it > either. Do we support 1 element vector(i.e V1SI) in vectorizer? and it also relies on backend support of dot_prodv4qi.=