[Bug target/95347] rs6000 mcpu=future generating stfs instead of pstfs for pc-relative references
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jun 3 21:10:16 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95347
--- Comment #3 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Aaron Sawdey <acsawdey@gcc.gnu.org>:
https://gcc.gnu.org/g:c0d738a0f493a85f46d7618efe20a89bf7f7ead8
commit r11-886-gc0d738a0f493a85f46d7618efe20a89bf7f7ead8
Author: Aaron Sawdey <acsawdey@linux.ibm.com>
Date: Tue Jun 2 15:48:01 2020 -0500
identify lfs prefixed case PR95347
The same problem also arises for plfs where prefixed_load_p()
doesn't recognize it so we get just lfs in the asm output
with an @pcrel address.
PR target/95347
* config/rs6000/rs6000.c (is_stfs_insn): Rename to
is_lfs_stfs_insn and make it recognize lfs as well.
(prefixed_store_p): Use is_lfs_stfs_insn().
(prefixed_load_p): Use is_lfs_stfs_insn() to recognize lfs.
More information about the Gcc-bugs
mailing list