Re: [Patch AArch64] GCC 6 regression in vector performance. - Fix vector initialization to happen with lane load instructions.

2016-02-16 Thread Marcus Shawcroft
On 20 January 2016 at 15:22, James Greenhalgh wrote: > gcc/ > > 2016-01-20 James Greenhalgh > Ramana Radhakrishnan > > * config/aarch64/aarch64.c (aarch64_expand_vector_init): Refactor, >

Re: [Patch AArch64] GCC 6 regression in vector performance. - Fix vector initialization to happen with lane load instructions.

2016-02-15 Thread James Greenhalgh
On Mon, Feb 08, 2016 at 10:56:29AM +, James Greenhalgh wrote: > On Tue, Feb 02, 2016 at 10:29:29AM +, James Greenhalgh wrote: > > On Wed, Jan 20, 2016 at 03:22:11PM +, James Greenhalgh wrote: > > > > > > Hi, > > > > > > In a number of cases where we try to create vectors we end up

Re: [Patch AArch64] GCC 6 regression in vector performance. - Fix vector initialization to happen with lane load instructions.

2016-02-08 Thread James Greenhalgh
On Tue, Feb 02, 2016 at 10:29:29AM +, James Greenhalgh wrote: > On Wed, Jan 20, 2016 at 03:22:11PM +, James Greenhalgh wrote: > > > > Hi, > > > > In a number of cases where we try to create vectors we end up spilling to > > the > > stack and then filling. This is one example distilled

Re: [Patch AArch64] GCC 6 regression in vector performance. - Fix vector initialization to happen with lane load instructions.

2016-02-02 Thread James Greenhalgh
On Wed, Jan 20, 2016 at 03:22:11PM +, James Greenhalgh wrote: > > Hi, > > In a number of cases where we try to create vectors we end up spilling to the > stack and then filling. This is one example distilled from a couple of > micro-benchmrks where the issue shows up. The reason for the

[Patch AArch64] GCC 6 regression in vector performance. - Fix vector initialization to happen with lane load instructions.

2016-01-20 Thread James Greenhalgh
Hi, In a number of cases where we try to create vectors we end up spilling to the stack and then filling. This is one example distilled from a couple of micro-benchmrks where the issue shows up. The reason for the extra cost in this case is the unnecessary use of the stack. The patch attempts to