From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E4A6A3896C17; Mon, 4 Jan 2021 22:12:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E4A6A3896C17 From: "bergner at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/98519] New: rs6000: @pcrel unsupported on this instruction error in pveclib Date: Mon, 04 Jan 2021 22:12:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new 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: UNCONFIRMED 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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: Mon, 04 Jan 2021 22:12:56 -0000 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D98519 Bug ID: 98519 Summary: rs6000: @pcrel unsupported on this instruction error in pveclib Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: bergner at gcc dot gnu.org Target Milestone: --- Using latest GCC trunk and binutils trunk from today, we see the following error on a reduced test case from pveclib: bergner@pike:~/gcc/BUGS/PVECLIB$ cat bug.i typedef __attribute__((altivec(vector__))) double vf64_t; static double test_f64[16]; vf64_t bug (void) { vf64_t j0; __asm__("lxsd%X1 %0,%1;" : "=3Dv" (j0) : "m" (test_f64)); return j0; } bergner@pike:~/gcc/BUGS/PVECLIB$ /home/bergner/gcc/build/gcc-fsf-mainline-pveclib-debug/gcc/xgcc -B/home/bergner/gcc/build/gcc-fsf-mainline-pveclib-debug/gcc -c -O2 -mcpu=3Dpower10 bug.i /tmp/ccNVSo9c.s: Assembler messages: /tmp/ccNVSo9c.s:15: Warning: @pcrel unsupported on this instruction /tmp/ccNVSo9c.s:15: Error: unsupported relocation for DS offset field /tmp/ccNVSo9c.s:15: Error: missing operand The problematic insn is: lxsd 2,.LANCHOR0@pcrel;=