From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D425E3858D28; Fri, 3 Nov 2023 08:13:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D425E3858D28 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1698999238; bh=+nf7u1k5AZ2GpubqBjOamF1PSRCbrYH4mIuc/egMDk8=; h=From:To:Subject:Date:In-Reply-To:References:From; b=FyA9nHn7msR3HSHx8nUkOik4EnfzXOTZuXM/eXvmrMoW9gQCHK6jBBVubbEt3wilH DnjHKxI1AGWCz9f/3czZLsNi/7v04vJ36hXigu5KX2pozuOMC84DserB59LRpQCyLP +F3lEALfksvNwgBWqhdMspSZNK0NTnd4ZnPjDM7k= From: "rguenth at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/112361] [14 Regression] avx512f-reduce-op-1.c miscompiled since r14-5076 Date: Fri, 03 Nov 2023 08:13:56 +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: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: rguenth at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P1 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 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=3D112361 --- Comment #3 from Richard Biener --- You can use SDE (the simulator from Intel), but I suppose just inspecting t= he vectorized code should work fine as well. I suspect we fail to fail vectorization when we have a masked op but no native masked_fold_left as we cannot open-code that variant.=