gfortran.dg/vect failures at -m64 on darwin
Dominique Dhumieres
dominiq@lps.ens.fr
Fri Aug 3 09:27:00 GMT 2007
> I am seeing a set of gfortran.dg/vect failures at -m64
> on power-apple-darwin with current gcc trunk that I don't
> see with gcc 4.2.1.
I see the same failures with gcc trunk. I have had a quick look at vect-4.f90
and I get:
[karma] f90/bug% gfc -c -m64 -fdump-tree-vect-stats -ftree-vectorize -ftree-vectorizer-verbose=4 -O2 /opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/vect/vect-4.f90
...
! { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } }
! { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail vect_no_align } } }
! { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 1 "vect" { xfail vect_no_align } } }
! { dg-final { scan-tree-dump-times "accesses have the same alignment." 1 "vect" } }
! { dg-final { cleanup-tree-dump "vect" } }
[karma] f90/bug% grep "vectorized 1 loops" vect-4.f90.102t.vect
/opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/vect/vect-4.f90:7: note: vectorized 1 loops in function.
[karma] f90/bug% grep "Alignment of access forced using peeling" vect-4.f90.102t.vect
[karma] f90/bug% grep "Vectorizing an unaligned access" vect-4.f90.102t.vect
/opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/vect/vect-4.f90:9: note: Vectorizing an unaligned access.
/opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/vect/vect-4.f90:9: note: Vectorizing an unaligned access.
[karma] f90/bug% grep "accesses have the same alignment." vect-4.f90.102t.vect
/opt/gcc/gcc-4.3-work/gcc/testsuite/gfortran.dg/vect/vect-4.f90:9: note: accesses have the same alignment.
As far as I understand the test 'scan-tree-dump-times "Vectorizing an unaligned access"'
is probably finding a 2 instead of 1. In addition I don't know what 'vect_no_align'
is supposed to be on Darwin and same about "peeling".
Dominique
More information about the Fortran
mailing list