This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch, testsuite] Fix PR 39248: failures of vectorizer tests on ARM
- From: Janis Johnson <janis187 at us dot ibm dot com>
- To: Ira Rosen <IRAR at il dot ibm dot com>
- Cc: gcc-patches at gcc dot gnu dot org, dave dot anglin at nrc-cnrc dot gc dot ca
- Date: Mon, 02 Mar 2009 14:10:53 -0800
- Subject: Re: [patch, testsuite] Fix PR 39248: failures of vectorizer tests on ARM
- References: <OF9B6B8C5D.FFA96A89-ONC225756C.002B3692-C225756C.0035CB21@il.ibm.com>
- Reply-to: janis187 at us dot ibm dot com
On Sun, 2009-03-01 at 11:47 +0200, Ira Rosen wrote:
> Hi,
>
> This patch fixes vectorizer testsuite failures on ARM:
> 1. In vect-complex-1.c the loop was not vectorized because of misaligned
> data access - the fix is to force the alignment using __attribute__
> ((__aligned__(16))).
> 2. vect-iv-6.c is erroneously expected to fail to be vectorized if there is
> no vector misalignment support, but in fact the alignment is forced using
> loop peeling.
> 3. vector multiplication for shorts seems to be supported on ARM - I added
> ARM to check_effective_target_vect_short_mult.
>
> Tested by Dave on arm-none-linux-gnueabi and by me on x86_64-suse-linux.
>
> O.K. to apply?
OK.
Janis