[Bug target/98519] rs6000: @pcrel unsupported on this instruction error in pveclib

munroesj at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jan 5 01:18:41 GMT 2021


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=98519

--- Comment #5 from Steven Munroe <munroesj at gcc dot gnu.org> ---
I would think you need to look at the instruction and the "m" constraint.

In this case lxsd%X1 would need to be converted to plxsd and the "m" constraint
would have to allow @pcrel. I would think a static variable would be valid, but
stack local or explicit pointer with (nonconst) offset/index would not.


More information about the Gcc-bugs mailing list