> > New algorithm for move-mode selection is implemented for move_by_pieces, > > store_by_pieces. > > x86-specific ix86_expand_movmem and ix86_expand_setmem are also changed in > > similar way, x86 cost-models parameters are slightly changed to support > > this. This implementation checks if array's alignment is known at compile > > time and chooses expanding algorithm and move-mode according to it.
Can you give some sumary of changes you made? It would make it a lot easier to review if it was broken up int the generic changes (with rationaly why they are needed) and i386 backend changes that I could review then. >From first pass through the patch I don't quite see the need for i.e. adding new move patterns when we can output all kinds of SSE moves already. Will look more into the patch to see if I can come up with useful comments. Honza