From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ABA8D385841A; Fri, 9 Feb 2024 13:53:09 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ABA8D385841A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707486789; bh=EPEfg0/V09oSOQRsUj2vEB1j1rUNxGlgpFyzSmW+kcU=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Q7ixMKeKhxbYRN+rRjGIdARG1NaFaTSthrruGlrm1ZJfWbpO/ITHoZq3NlQlQgRwJ ZrGI//xE8CH6ORymvr44VT7/HlwRCZVJg7YO+q3J3Sa3Iqfu7IeAM8qUI40nrjOTDA C/GRXNgEEdWsnyZjO+Gj5J3nZ0PYalm9S8iPwy98= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/108410] x264 averaging loop not optimized well for avx512 Date: Fri, 09 Feb 2024 13:53:08 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: rguenth 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=3D108410 --- Comment #10 from Richard Biener --- So this is now fixed if you use --param vect-partial-vector-usage=3D2, ther= e is at the moment no way to get masking/not masking costed against each other. = In theory vect_analyze_loop_costing and vect_estimate_min_profitable_iters could do both and we could delay vect_determine_partial_vectors_and_peeling= .=