From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CDD10384AB41; Mon, 20 May 2024 14:48:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CDD10384AB41 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716216527; bh=iOzwfph4vSpEjLHrxnpvRvFZGf4BQHyKLbi6JGuQAro=; h=From:To:Subject:Date:In-Reply-To:References:From; b=wf5w0gvsG0oQn0WtiE7I8So8/KiQzjB7mZgEDwXKrAY9v4F7ynOl4hIbaPOZXnsl3 fItoBB+h+unLpzMAYxawEWuPC9qkmWSTqRfoEvQR7xRcgZMPVdLFQyeQes/c+ezLn1 LHVqc3IiePcOJgxoPm4F13FMdnVDrOYU64VvNCxQ= From: "roger at nextmovesoftware dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115161] [15 Regression] highway-1.0.7 miscompilation of some SSE2 intrinsics Date: Mon, 20 May 2024 14:48:34 +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: X-Bugzilla-Severity: normal X-Bugzilla-Who: roger at nextmovesoftware dot com 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: everconfirmed bug_status cf_reconfirmed_on 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=3D115161 Roger Sayle changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Status|UNCONFIRMED |NEW Last reconfirmed| |2024-05-20 --- Comment #2 from Roger Sayle --- I can confirm that I can reproduce this and see the same thing. Adding=20 vi tmp1 =3D Set_i32(INT32_MAX); d_i("tmp1",tmp1.raw); at multiple places in bug.cc, reveals that sometimes the result is the corr= ect [0x7ffffff x 4], and at other places is the incorrect [0x80000000 x 4], even though this affected snippet doesn't involve binary operation simplificatio= n.=