Hi Mike, On Fri, May 05, 2017 at 07:43:25PM -0400, Michael Meissner wrote: > This code does stores in Altivec registers by moving the value to FPR and > using > the traditional STFS instruction. However, in looking at the code, I came to > the conclusion that we could do better (PR 80510) by using a peephole2 to > load the offset value into a GPR and doing an indexed store. I have code for > PR 80510 that I will submit after this patch. That patch needs this patch to > prevent using direct move to do a store. > > Is this patch ok for GCC 8? How about GCC 7.2?
> +;; Originally, we tried to keep movsf and movsd common, but the differences > +;; addressing was making it rather difficult to hide with mode attributes. > In "difference in addressing", maybe? The patch is okay for trunk; please let it simmer there for a bit before putting it on 7 as well. Thanks, Segher