Re: [PATCH]rs6000: Remove useless insns fed into lvx/stvx [PR97019]

2020-09-14 Thread Segher Boessenkool
Hi! On Mon, Sep 14, 2020 at 05:53:13PM +0800, Kewen.Lin wrote: > This patch is to extend the existing function find_alignment_op to > check all defintions of base_reg are AND operations with mask -16B > to force the alignment. If all are satifised, it passes all AND > operations and instructions

[PATCH]rs6000: Remove useless insns fed into lvx/stvx [PR97019]

2020-09-14 Thread Kewen.Lin via Gcc-patches
Hi, This patch is to extend the existing function find_alignment_op to check all defintions of base_reg are AND operations with mask -16B to force the alignment. If all are satifised, it passes all AND operations and instructions in one vector to recombine_lvx_pattern and recombine_stvx_pattern,