From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id ED06F3858C5F; Tue, 12 Mar 2024 02:31:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org ED06F3858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1710210708; bh=BGzaIELgjmWbAKprYeNgpAalu/KmEpAerA03FbLWXsY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JpfS9dfXzizhBNrM+8+zhMlu4240H1N/Dp+8GpxGPLt+hdvTGfyTkzNQziVtOHpig rgFhZSwBxmtGxrCVz+ABILaCjLu8X3V+UCoETrFJ8cdldmMIBuIs5pQO9iUnY/g4JJ PwEE4QlVmuwblXnzaO3B34ploJEZst7CmwzpoouM= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/111683] [11/12/13/14 Regression] Incorrect answer when using SSE2 intrinsics with -O3 since r7-3163-g973625a04b3d9351f2485e37f7d3382af2aed87e Date: Tue, 12 Mar 2024 02:31:47 +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: 10.2.1 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: pinskia 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: 11.5 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=3D111683 --- Comment #9 from Andrew Pinski --- (In reply to Andrew Pinski from comment #8) > Note with the reduced testcase in comment #7, -fno-tree-vrp has no effect= on > it any more so it might make sense to do another bisection on that testca= se. I am suspecting r7-104-gfc9cf6da84a899 exposed the issue now. in GCC 6, _mm_storeu_pd/_mm_loadu_pd were still builtins, but in GCC 7, they become directly unaligned loads (starting with r7-104-gfc9cf6da84a899 ). I suspect if manually change _mm_storeu_pd/_mm_loadu_pd to be similar to wh= at GCC 7 had, then we might even up with this failing before GCC 7.=