This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] [testsuite] fix XPASSes in vectorizer testcases


On Fri, Dec 01, 2006 at 11:23:29AM +0200, Dorit Nuzman wrote:
> 
> The following tests currently XPASS on "vect_no_align" targets (targets
> that don't support unaligned loads):
> 
> XPASS: gcc.dg/vect/pr16105.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/pr20122.c scan-tree-dump-times vectorized 1 loops 2
> XPASS: gcc.dg/vect/vect-105.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/vect-30.c scan-tree-dump-times vectorized 1 loops 2
> XPASS: gcc.dg/vect/vect-42.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/vect-43.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/vect-74.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/vect-75.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/vect-8.c scan-tree-dump-times vectorized 1 loops 1
> XPASS: gcc.dg/vect/vect-multitypes-3.c scan-tree-dump-times vectorized 1
> loops 1
> XPASS: gcc.dg/vect/vect-multitypes-6.c scan-tree-dump-times vectorized 1
> loops 1
> 
> This is because the tests were not updated to account for the fact that we
> can do loop versioning when we can't vectorize misaligned accesses.
> 
> Tested on the vectorizer testsuite on i386 with alignment-support disabled,
> and on the spu (patch to enable vectorizer testcases for the spu follows).
> 
> I think it's an obvious fix - will commit it, if no objections, in a day or
> two.

I trust your judgement, particularly for the vectorizor tests, so when
changes to them seem obvious to you, go ahead and check them in.

Janis


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]