[PATCH][AARCH64] Emulating aligned mask loads on AArch64

2015-09-18 Thread Pawel Kupidura
This patch uses max reductions to emulate aligned masked loads on AArch64. It reduces the mask to a scalar that is nonzero if any mask element is true, then uses that scalar to select between the real address and a scratchpad address. The idea is that if the vector load is aligned, it cannot

Re: [PATCH][AArch64] Change aarch64 vector cost to match vectorizer

2015-08-04 Thread Pawel Kupidura
On 04/08/15 11:48, James Greenhalgh wrote: On Tue, Aug 04, 2015 at 11:06:11AM +0100, Pawel Kupidura wrote: Hi, I'm sorry about the issues with formatting, it should be fixed now. Here's corrected version with diff to current trunk. Hi Pawel, I'm still having trouble getting this patch

Re: [PATCH][AArch64] Change aarch64 vector cost to match vectorizer

2015-08-04 Thread Pawel Kupidura
On 03/08/15 17:26, James Greenhalgh wrote: On Mon, Jul 27, 2015 at 02:22:41PM +0100, Pawel Kupidura wrote: diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 10df325..ffafc3f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2015-07-27 Pawel Kupidurapawel.kupid...@arm.com Two

[PING][PATCH][AArch64] Change aarch64 vector cost to match vectorizer

2015-08-03 Thread Pawel Kupidura
Hi, Ping for the patch submitted here https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02251.html Thanks, Pawel Kupidura

[PATCH][AArch64] Change aarch64 vector cost to match vectorizer

2015-07-27 Thread Pawel Kupidura
-27 Pawel Kupidura pawel.kupid...@arm.com + +* config/aarch64/aarch64.c: Changed inner loop statement cost +to be consistent with vectorizer code. + 2015-07-26 Uros Bizjak ubiz...@gmail.com * config/alpha/alpha.c: Use SUBREG_P predicate. diff --git a/gcc/config/aarch64/aarch64.c b/gcc