1 ! { dg
-do compile
{ target i?
86-*-* x86_64
-*-* } }
2 ! { dg
-options
"-O3 -mavx -mvzeroupper -fno-tree-slp-vectorize -mtune=generic -dp" }
5 INTEGER LM
, NM
, NV
, NR
, NIT
10 PARAMETER( NM
=2+2**LM
, NV
=NM**3
)
11 PARAMETER( NR
= (8*(NM**3
+NM**2
+5*NM
-23+7*LM
))/7 )
14 C If commented line is used than there is no penalty
15 C COMMON /X/ U, V, R, A, C, IR, MM
16 COMMON /X
/ A
, C
, IR
, MM
20 INTEGER LMI
, MTIME
, NTIMES
38 WRITE(6,7)N
-2,N
-2,N
-2,NIT
39 6 FORMAT( I4
, 2E19
.12
)
40 7 FORMAT(/,' KERNEL B: SOLVING A POISSON PROBLEM ON A ',I6
,' BY ',
41 > I6
,' BY ',I6
,' GRID,',/,' USING ',I6
,' MULTIGRID ITERATIONS.',/)
46 ! { dg
-final
{ scan
-assembler
-times
"avx_vzeroupper" 1 } }