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]

[PATCH] [testsuite] fix XPASSes in vectorizer testcases


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.

dorit

2006-11-30  Dorit Nuzman <dorit@il.ibm.com>

        * gcc.dg/vect/pr16105.c: Remove xfail on vect_no_align targets. Add
        test for loop versioning on vect_no_align targets.
        * gcc.dg/vect/pr20122.c: Likewise.
        * gcc.dg/vect/vect-105.c: Likewise.
        * gcc.dg/vect/vect-42.c: Likewise.
        * gcc.dg/vect/vect-43.c: Likewise.
        * gcc.dg/vect/vect-74.c: Likewise.
        * gcc.dg/vect/vect-75.c: Likewise.
        * gcc.dg/vect/vect-multitypes-3.c: Likewise.
        * gcc.dg/vect/vect-multitypes-6.c: Likewise.
        * gcc.dg/vect/vect-8.c: Remove xfail on vect_no_align targets.
        * gcc.dg/vect/vect-30.c: Remove xfail on vect_no_align targets.

(See attached file: vect_no_align_fixes.txt)

Attachment: vect_no_align_fixes.txt
Description: Text document


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