From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 337923858282; Mon, 24 Oct 2022 20:30:32 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 337923858282 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666643432; bh=r/lhKPAwCyYWF2FSkS4H4JcBgvTW2w/Dz/qTwX4XxcM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=VLykB/Gzrhvha/lxUbNHaw7IXDfxb3rj45Xt4Bjx5nOiCAvQq3OKcBdW8QVRO+syV /0e3dBbxpeSnAvuu0MSQF1V1JraCAxOEjQ69J5vLwMRevoM1+rdAwjXJrPGQNYtCBh LR/doa0Swy9mmCl3SKzg9LvOG4gxDzF8q6w+PY+U= From: "marxin at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107364] [10/11/12 Regression] ICE on Via Nehemiah with --march=native Date: Mon, 24 Oct 2022 20:30:30 +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: 10.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: marxin at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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=3D107364 Martin Li=C5=A1ka changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |hjl at gcc dot gnu.org --- Comment #9 from Martin Li=C5=A1ka --- ... > That means that all CENTAUR/CYRIX/NSC were broken since gcc 10 and nobody > noticed until me ?? That sounds very unlikely, does it not ? Yes, you are the first one who noticed! >=20 > (I dont even know what NSC is) >=20 > I'm not sure, but the "wrong" commit seems to be the very large >=20 > https://github.com/gcc-mirror/gcc/commit/ > 1890f2f0e210ef515c39728c54151372d36dd187 Yep, I know about this commit. I suspect g:6c35d16a3925958b3a22426de0cb8e04f654b6dd where e.g. sse detecti= on is unified: - has_sse =3D edx & bit_SSE; and rather: + else if (has_feature (FEATURE_SSE2) is used. And then in g:792317cc777123b9cac8fc9a70fc85b01a3d7a0f newly added get_available_features which does the ISA features detection is called only for AMD and Intel CPUs= :/=