Re: [PATCH, RS6000] Add movmemsi pattern for inline expansion of memmove()

2019-09-30 Thread Segher Boessenkool
Hi! On Mon, Sep 30, 2019 at 11:36:31AM -0500, Aaron Sawdey wrote: > This patch uses the support added in the patch I posted last week for > actually doing > inline expansion of memmove(). > I've also removed the code from expand_block_move() for dealing with > mode==BLKmode because I don't belie

[PATCH, RS6000] Add movmemsi pattern for inline expansion of memmove()

2019-09-30 Thread Aaron Sawdey
This patch uses the support added in the patch I posted last week for actually doing inline expansion of memmove(). I've added a might_overlap parameter to expand_block_move() to tell it when it must make sure to handle overlapping moves. I changed the code to save up the generated rtx for both