Re: [PATCH-3v4, rs6000] Fix regression cases caused 16-byte by pieces move [PR111449]

2023-11-13 Thread Kewen.Lin
Hi, on 2023/11/10 17:22, HAO CHEN GUI wrote: > Hi, > Originally 16-byte memory to memory is expanded via pattern. > expand_block_move does an optimization on P8 LE to leverage V2DI reversed > load/store for memory to memory move. Now it's done by 16-byte by pieces > move and the optimization is

[PATCH-3v4, rs6000] Fix regression cases caused 16-byte by pieces move [PR111449]

2023-11-10 Thread HAO CHEN GUI
Hi, Originally 16-byte memory to memory is expanded via pattern. expand_block_move does an optimization on P8 LE to leverage V2DI reversed load/store for memory to memory move. Now it's done by 16-byte by pieces move and the optimization is lost. This patch adds an insn_and_split pattern to retak