Re: [PATCH] rs6000: PR target/95347 Correctly identify stfs if prefixed

2020-05-29 Thread Segher Boessenkool
Hi! Re: [PATCH] rs6000: PR target/95347 Correctly identify stfs if prefixed Please put the PR id at the end of the subject (it is the least important information). You can also shorten it to "PR95347" -- total subject length ideally is maybe 50 chars, so something like "rtl-opti

[PATCH] rs6000: PR target/95347 Correctly identify stfs if prefixed

2020-05-29 Thread Aaron Sawdey via Gcc-patches
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 w