From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 63DF63858401; Mon, 3 Oct 2022 22:18:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 63DF63858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1664835524; bh=zdjdwlojQnmDU/cH4nFmzA0KLbF4FKucvW8YVD6AO1o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=frQKhJTG2dMu0zo9MN892vB/jjzhGSmclN+TRXP1hPHZUX4ODbF9vcov8YT13duv0 DagF9eajx1A/PHlhkEsV21GsWbLEpn+vBct5F1uNKKrMP/s62V34thrryQzhVqYmkj 36JuBlkCezC6lWUmMx5WYV7wdKIh8BP7Vw4q0bz0= 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: Mon, 03 Oct 2022 22:18:29 +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: segher 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 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98519 --- Comment #29 from Peter Bergner --- (In reply to Segher Boessenkool from comment #28) > All prefixed addresses, pcrel or R=3D0, are valid always. The original c= ode > is correct. Well they're only valid when compiling for power10, but we probably don't generate pcrel addresses unless we're compiling for power10, so ok. > But lxsd cannot use "m" as constraint anyway. It needs "wY", and that wi= ll > work fine here? "wY" might be correct for lxsd, but I don't see how using "wY" instead of "= m" will stop us from generating a pcrel here, since mem_operand_ds_form() does= n't disallow pcrel addresses. Ie, lxsd is a red herring to the actual bug.=