mkcolg
Joined: 30 Jun 2004 Posts: 4996 Location: The Portland Group Inc.
|
Posted: Fri Jan 21, 2011 1:14 pm Post subject: |
|
|
Hi Zhenya,
Sorry I should have caught this earlier. The data size for your integer and reals must be the same as well. In other words, you need to promote integer to integer*8. (Note you can use the command line flag "-i8" to set the default kind to 8 for integers).
- Mat
| Code: |
% pgf90 -fast -Minfo -c test2.f90 -Minline -V11.1
MAIN:
28, Loop not vectorized: mixed data types
30, greenfun inlined, size=3, file test2.f90 (40)
45, greenfun_2 inlined, size=21, file test2.f90 (54)
greenfun:
45, greenfun_2 inlined, size=21, file test2.f90 (54)
tabu_2:
132, Memory zero idiom, array assignment replaced by call to pgf90_mzero8
163, mystop inlined, size=2, file test2.f90 (199)
167, Memory zero idiom, array assignment replaced by call to pgf90_mzero8
169, Loop not vectorized/parallelized: too deeply nested
176, Loop not vectorized: mixed data types
181, Generated 3 alternate versions of the loop
Generated vector sse code for the loop
Generated 3 prefetch instructions for the loop
194, Loop unrolled 8 times
% pgf90 -fast -Minfo -c test2.f90 -Minline -V11.1 -i8 -Mvect=levels:5
MAIN:
30, greenfun inlined, size=3, file test2.f90 (40)
45, greenfun_2 inlined, size=22, file test2.f90 (54)
greenfun:
45, greenfun_2 inlined, size=22, file test2.f90 (54)
tabu_2:
132, Memory zero idiom, array assignment replaced by call to pgf90_mzero8
163, mystop inlined, size=2, file test2.f90 (199)
167, Memory zero idiom, array assignment replaced by call to pgf90_mzero8
181, Generated 3 alternate versions of the loop
Generated vector sse code for the loop
Generated 3 prefetch instructions for the loop
194, Loop unrolled 8 times
|
|
|