[patch, testsuite] Fix PR 39248: failures of vectorizer tests on ARM
Janis Johnson
janis187@us.ibm.com
Mon Mar 2 22:11:00 GMT 2009
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
More information about the Gcc-patches
mailing list