identify lfs prefixed case PR95347
authorAaron Sawdey <acsawdey@linux.ibm.com>
Tue, 2 Jun 2020 20:48:01 +0000 (15:48 -0500)
committerAaron Sawdey <acsawdey@linux.ibm.com>
Wed, 3 Jun 2020 21:01:27 +0000 (16:01 -0500)
commitc0d738a0f493a85f46d7618efe20a89bf7f7ead8
treedbca18c6d4ef373e1abffb319c2c3b9692570da4
parentc06280ac4c34b0aff8cfa2e74ae8c7afd759d52f
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.
gcc/config/rs6000/rs6000.c