On Tue, Sep 26, 2017 at 04:56:54PM -0500, Segher Boessenkool wrote: > On Tue, Sep 26, 2017 at 10:48:29AM -0400, Michael Meissner wrote: > > * config/rs6000/vsx.md (peephole for optimizing move SF to GPR): > > Adjust code to eliminate needing to do the shift right 32-bits > > operation after XSCVDPSPN. > > After staring at this way too long... Looks correct. What a monster :-) > > Okay for trunk. Thanks!
Thanks for taking the time to verify it. Yeah, it is a monster to get right. It would be nice to put this off to a separate MD pass, instead of abusing peephole2's. -- Michael Meissner, IBM IBM, M/S 2506R, 550 King Street, Littleton, MA 01460-6245, USA email: meiss...@linux.vnet.ibm.com, phone: +1 (978) 899-4797