aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorAaron Sawdey <acsawdey@linux.ibm.com>2020-05-29 16:19:10 -0500
committerAaron Sawdey <acsawdey@linux.ibm.com>2020-06-02 11:27:46 -0500
commit85bce484d37fdda9c7eadb9bdcdb1ded891462bb (patch)
tree5c3fb388953bf3016ad91e4ea9885e38a1dc95f0 /libgcc
parent34e5efa10a7b514238ed9a914b802898d2d8cb36 (diff)
downloadgcc-85bce484d37fdda9c7eadb9bdcdb1ded891462bb.zip
gcc-85bce484d37fdda9c7eadb9bdcdb1ded891462bb.tar.gz
gcc-85bce484d37fdda9c7eadb9bdcdb1ded891462bb.tar.bz2
Correctly identify stfs if prefixed
Because reg_to_non_prefixed() only looks at the register being used, it doesn't get the right answer for stfs, which leads to us not seeing that it has a PCREL symbol ref. This patch works around this by introducing a helper function that inspects the insn to see if it is in fact a stfs. Then if we use NON_PREFIXED_DEFAULT, address_to_insn_form() can see that it has the PCREL symbol ref. gcc/ChangeLog: PR target/95347 * config/rs6000/rs6000.c (prefixed_store_p): Add special case for stfs. (is_stfs_insn): New helper function.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions