From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 372EC389244F; Sat, 23 Jan 2021 23:48:15 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 372EC389244F From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib Date: Sat, 23 Jan 2021 23:48:14 +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: 11.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: bergner 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: --- 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 X-BeenThere: gcc-bugs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-bugs mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2021 23:48:15 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98519 --- Comment #20 from Peter Bergner --- (In reply to Alan Modra from comment #18) > Isn't this a bug in the assembly? We've changed the ABI, there is no way > anyone can expect all old asm to work with power10 pcrel. To support pcr= el > you need new asm. >=20 > #ifdef __PCREL__ > __asm__ (pcrel version); > #else > __asm__ (non-pcrel version); > #endif >=20 > No need for special constraints, I think. (And not sufficient if we had > them.) I agree with Segher that we can't state that all old inline asm that uses "= m" is buggy if/when compiled with -mcpu=3Dpower10. There's just way too much = use of it. That said, I'm interested in why you don't think a new special pcrel constr= aint would be sufficient?=