From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 396E03858018; Mon, 29 Jan 2024 16:50:36 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 396E03858018 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706547036; bh=z64TbjfXRbXslvgTcuUfgzZqkDy81EVayMYkgCs7wsw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Fjbgjoev/Mw1WvJRDjFk7wUVo59UW5dFq3f7tHt8YAwK2Ae0Wt7RrUzJPvoXZYNAO TCRS86slcnkaDzafZoV1QY16tJK+R948Iwu/V0zQ64/AuCQKCw6Nu+CSE34KiqZ0V2 wGjbRspgFvukXyw2vFfLgOAlgjfrPRiUCihOdUww= From: "erhard_f at mailbox dot org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/113652] [14 regression] Failed bootstrap on ppc unrecognized opcode: `lfiwzx' with -mcpu=7450 Date: Mon, 29 Jan 2024 16:50:35 +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: assemble-failure X-Bugzilla-Severity: normal X-Bugzilla-Who: erhard_f at mailbox dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 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=3D113652 --- Comment #3 from Erhard F. --- (In reply to Christopher Fore from comment #0) > Created attachment 57251 [details] > original preprocessed file >=20 > Steps to reproduce: > 1. Attempt to build GCC 14 (latest snapshot attempted is Gentoo's 2024012= 8) > 2. Fails to assemble with: > /tmp/ccP8ev2f.s: Assembler messages: > /tmp/ccP8ev2f.s:85: Error: unrecognized opcode: `lfiwzx' >=20 > Originally reported downstream at: https://bugs.gentoo.org/921621 >=20 > Command to reproduce: > gcc -mcpu=3D7450 -O1 -mvsx -c _kf_to_sd.i I did the Gentoo downstream bugreport where I tried to build GCC 14 with GC= C 11 + binutils 2.41. Building was done on a 32 bit partition on my Talos II via 'setarch ppc32 emerge -1 gcc'. As the PowerPC 7450 (aka PowerPC G4) is only capable of -maltivec but not -= mvsx I only passed "-O2 -mcpu=3D7450 -mtune=3D7450" as CFLAGS. Still my GCC 14 build spills this "unrecognized opcode: `lfiwzx'" which is a Power ISA 2.06 (POWER 7) opcode. GCC 11 builds fine on the same system.=