From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D7EB3858D1E; Thu, 22 Feb 2024 19:21:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D7EB3858D1E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1708629707; bh=0MmuBw3XIeLI4bBrXQKtviMT6mlOr6Vjb4Iniu+SatM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=ChiP9iTSJjq3MQeyvCjm1Z7zDgDndoWquiPbVK0vSQOh4e+jHu2VxD8jqPSy9cqXf gXOmVxiTjwwcpPCbRB5W225TNtt7eEUAkaAhx/594CDUbRpaW5Az8M6TP1ENMSabo7 Rlwu6ZqO5vMuu7Il0Y5RpdH+7UTw3HK9tWYLQTC4= From: "tnfchris at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/114061] GCC fails vectorization when using __builtin_prefetch Date: Thu, 22 Feb 2024 19:21:47 +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: tnfchris 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: 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=3D114061 --- Comment #4 from Tamar Christina --- (In reply to Andrew Pinski from comment #3) > Confirmed. >=20 > Though maybe we should drop them in the vectorized version of the loop. HW > prefetchers usually do a decent job and sometimes (maybe most) SW hinted > prefetches interfere with the HW prefetchers. definitely agree that I'm not sure how useful they are, but some customers definitely seem to want them.=