I would like the pgfortran compiler to produce vectorisation reports for the following simple code:
program vec_test implicit none real, dimension(1:100) :: a, b, c integer :: i a(:) = 1.0 b(:) = 2.3 do i = 1, 100 c(i) = a(i) + b(i) end do end program vec_test
I have used the following command to create vectorisation reports, but it doesn’t print anything useful:
[wadudm@oban ~/fortran]$ pgfortran -c -Mvect=simd -Minfo=vect -O3 -Mneginfo vec_test.f90 vec_test: 7, Memory set idiom, loop replaced by call to __c_mset4 8, Memory set idiom, loop replaced by call to __c_mset4
Could anyone help me with information with creating useful vectorisation reports, much like how the Intel compiler creates vectorisation reports?
Thanks in advance,