Alan Hayward <alan.hayw...@arm.com> writes: > On 05/06/2016 12:00, "Andreas Schwab" <sch...@linux-m68k.org> wrote: > >>Alan Hayward <alan.hayw...@arm.com> writes: >> >>> * gcc.dg/vect/vect-live-2.c: New test. >> >>This test fails on powerpc64 (with -m64, but not with -m32): >> >>$ grep 'vectorized.*loops' ./vect-live-2.c.149t.vect >>../gcc/testsuite/gcc.dg/vect/vect-live-2.c:10:1: note: vectorized 0 loops >>in function. >>../gcc/testsuite/gcc.dg/vect/vect-live-2.c:29:1: note: vectorized 0 loops >>in function. >> >> > > "note: not vectorized: relevant stmt not supported: _1 = (long unsigned > int) j_24;" > > > This is failing because power does not support vectorising a cast from int > to long. > (It works on power 32bit because longs are 32bit and therefore no need to > cast). > > Can someone please suggest a target-supports define (or another method) I > can use to > disable this test for power 64bit (but not 32bit) ? > I tried using vect_multiple_sizes, but that will also disable the test on > x86 without > avx.
I'm also seeing new FAILs on Solaris/SPARC: +FAIL: gcc.dg/vect/vect-live-2.c -flto -ffat-lto-objects scan-tree-dump-times v ect "vectorized 1 loops" 1 +FAIL: gcc.dg/vect/vect-live-2.c scan-tree-dump-times vect "vectorized 1 loops" 1 32- and 64-bit: vect-live-2.c:16:3: note: not vectorized: relevant stmt not supported: _2 = j.0_1 * 4; vect-live-2.c:48:7: note: not vectorized: control flow in loop. vect-live-2.c:35:3: note: not vectorized: loop contains function calls or data references that cannot be analyzed and +FAIL: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects scan-tree-dump-times vect "vec_stmt_relevant_p: stmt live but not relevant" 4 +FAIL: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorized 1 loops" 4 +FAIL: gcc.dg/vect/vect-live-slp-3.c -flto -ffat-lto-objects scan-tree-dump-times vect "vectorizing stmts using SLP" 4 +FAIL: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vec_stmt_relevant_p: stmt live but not relevant" 4 +FAIL: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vectorized 1 loops" 4 +FAIL: gcc.dg/vect/vect-live-slp-3.c scan-tree-dump-times vect "vectorizing stmts using SLP" 4 vect-live-slp-3.c:29:1: note: not vectorized: no vectype for stmt: n0_29 = *_4; vect-live-slp-3.c:30:1: note: not vectorized: no vectype for stmt: n0_29 = *_4; vect-live-slp-3.c:31:1: note: not vectorized: no vectype for stmt: n0_29 = *_4; vect-live-slp-3.c:32:1: note: not vectorized: no vectype for stmt: n0_29 = *_4; vect-live-slp-3.c:62:4: note: not vectorized: control flow in loop. vect-live-slp-3.c:45:3: note: not vectorized: loop contains function calls or data references that cannot be analyzed Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University