From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B0F6B385841C; Mon, 27 May 2024 00:47:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B0F6B385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1716770875; bh=u+TsObk8zoXzNYIL6NdPvM7GRXSsdcdObNZSSeZNyz0=; h=From:To:Subject:Date:In-Reply-To:References:From; b=mycJB4/xx2nTBY8JPWBnoozkBo1xD2huUei5Z1NFVX6lplLK+dqJghJs3XaLG0sNL kIaMSMOI6A/QP8WdsW0nFGu0aKJbTjsyXwdpWJednrQyYCf7+otqaCk/bnLy/TOjhE LSMkbc8YJ8mffKciWqhykEPOg6l3cbuVlY7PTpbE= From: "liuhongt at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/115161] highway-1.0.7 miscompilation of _mm_cvttps_epi32(): invalid result assumed Date: Mon, 27 May 2024 00:47:54 +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: 15.0 X-Bugzilla-Keywords: wrong-code X-Bugzilla-Severity: normal X-Bugzilla-Who: liuhongt 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: 15.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=3D115161 --- Comment #25 from Hongtao Liu --- (In reply to Jakub Jelinek from comment #17) > I don't think the cost of using UNSPEC would be significant if the backend > tried to constant fold more target builtins. Anyway, with the proposed > changes perhaps you could keep using FIX/UNSIGNED_FIX for flag_trapping_m= ath > case even for the intrinsics and use UNSPECs only for !flag_trapping_math. Ok, we'll refactor all {V,}CVTT* instructions with UNSPEC instead of FIX/UNSIGNED_FIX.=