Re: [01/nn] [AArch64] Generate permute patterns using rtx builders

2017-11-02 Thread Richard Sandiford
James Greenhalgh writes: > On Fri, Oct 27, 2017 at 02:22:39PM +0100, Richard Sandiford wrote: >> This patch replaces switch statements that call specific generator >> functions with code that constructs the rtl pattern directly. >> This seemed to scale better to SVE and also seems less error-prone

Re: [01/nn] [AArch64] Generate permute patterns using rtx builders

2017-10-31 Thread James Greenhalgh
On Fri, Oct 27, 2017 at 02:22:39PM +0100, Richard Sandiford wrote: > This patch replaces switch statements that call specific generator > functions with code that constructs the rtl pattern directly. > This seemed to scale better to SVE and also seems less error-prone. > > As a side-effect, the pa

[01/nn] [AArch64] Generate permute patterns using rtx builders

2017-10-27 Thread Richard Sandiford
This patch replaces switch statements that call specific generator functions with code that constructs the rtl pattern directly. This seemed to scale better to SVE and also seems less error-prone. As a side-effect, the patch fixes the REV handling for diff==1, vmode==E_V4HFmode and adds missing su