From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 24E773856973; Fri, 28 Jul 2023 16:53:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 24E773856973 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1690563213; bh=9cnSoHLaNZ9TFDTTwKNvWVn23XxwOz+atJsHxY1mb+E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=APDW1yyTMTjEkYTBeDwH9wDz9SLQ1EcoRb0kjN9xmYAHLC5XEJ46vay/LsPFeMBVo r3R4tVlY9G5a2u+ZGP9STHfTPriXR0St5xTuraUWW3XeVHHw2hg2l46cnU3uJszNCc mTev+qgHuQWzAsQnC98xfwUD0cXYRgtI2MW01JqY= From: "rsandifo at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/110625] [AArch64] Vect: SLP fails to vectorize a loop as the reduction_latency calculated by new costs is too large Date: Fri, 28 Jul 2023 16:53:32 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rsandifo at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rsandifo at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D110625 --- Comment #10 from rsandifo at gcc dot gnu.org --- Created attachment 55654 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D55654&action=3Dedit Candidate patch (part 2) Sorry for the delay. I'm testing the attached two patches to fix the scala= r FP issue rate calculation. It's enough to make us vectorise the testcase, but= we (pointlessly) unroll two times without the fix for the latency calculation.= =20 I'll review the latency patch soon.=