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] | |
A few updates to the vectorizer test cases:
- 4 new test cases that feature unaligned accesses (not vectorizable yet).
- use -msse2 on i*86 instead of -msse
- change i*86 tests to "compile" tests instead of "run" tests. This is a
temporary change, until I come up with a run time test to check if vector
extensions are available on the platform (the current test is applicable
only to ppc). Can someone suggest such a test? Would it be possible to
devise a single (run) test for both platforms?
With the above changes,
the current status of the vectorizer tests on powerpc-apple-darwin7.0.0 is:
Running
/Develop/lno-work2/gcc/gcc/testsuite/gcc.dg/tree-ssa-vect/tree-ssa-vect.exp
...
=== gcc Summary ===
# of expected passes 71
# of expected failures 15
And on i686-pc-linux-gnu:
Running
/Develop/FSF/lno/gcc/gcc/testsuite/gcc.dg/tree-ssa-vect/tree-ssa-vect.exp
...
FAIL: gcc.dg/tree-ssa-vect/tree-ssa-vect-17.c scan-tree-dump-times
vectorized 3 loops 1
FAIL: gcc.dg/tree-ssa-vect/tree-ssa-vect-18.c scan-tree-dump-times
vectorized 3 loops 1
FAIL: gcc.dg/tree-ssa-vect/tree-ssa-vect-19.c scan-tree-dump-times
vectorized 3 loops 1
FAIL: gcc.dg/tree-ssa-vect/tree-ssa-vect-20.c scan-tree-dump-times
vectorized 3 loops 1
=== gcc Summary ===
# of expected passes 44
# of unexpected failures 4
# of expected failures 15
The reason for these failures is probably lack of modelling of vector
bitwise operations for different data types. Probably something similar to
what was added to altivec.md in
http://gcc.gnu.org/ml/gcc-patches/2004-03/msg00769.html should be added to
i*86 target.
Changelog:
* gcc.dg/tree-ssa-vect/tree-ssa-vect-26.c: New test.
* gcc.dg/tree-ssa-vect/tree-ssa-vect-27.c: New test.
* gcc.dg/tree-ssa-vect/tree-ssa-vect-28.c: New test.
* gcc.dg/tree-ssa-vect/tree-ssa-vect-29.c: New test.
* gcc.dg/tree-ssa-vect/tree-ssa-vect-*.c: Use -msse2 instead of
-msse.
* gcc.dg/tree-ssa-vect/tree-ssa-vect-*.c: Temporarily change i*86
'run'
tests to 'compile' tests.
thanks,
dorit
(See attached file: new_tests.tar)(See attached file: vect_tests.diff)Attachment:
new_tests.tar
Description: Binary data
Attachment:
vect_tests.diff
Description: Binary data
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |