2 ! { dg
-options
"-Ofast" }
3 ! { dg
-additional
-options
"-mavx2" { target
{ x86_64
-*-* i?
86-*-* } } }
4 SUBROUTINE FOO
(EF3
,CA
,ZA
,NATA
,IC4
,NFRGPT
)
5 IMPLICIT DOUBLE PRECISION (A
-H
,O
-Z
)
10 DIMENSION EF3
(3,NFRGPT
)
15 RJII
= SQRT
(XII*XII
+ YII*YII
+ ZII*ZII
)
18 DE
(1,II
) = DE
(1,II
) - S2*ZA
(II
)*XII
/R3
19 DE
(2,II
) = DE
(2,II
) - S2*ZA
(II
)*YII
/R3
20 DE
(3,II
) = DE
(3,II
) - S2*ZA
(II
)*ZII
/R3
22 EF3
(1,IC4
+II
) = EF3
(1,IC4
+II
) - S2*ZA
(II
)*XII
/R3
23 EF3
(2,IC4
+II
) = EF3
(2,IC4
+II
) - S2*ZA
(II
)*YII
/R3
24 EF3
(3,IC4
+II
) = EF3
(3,IC4
+II
) - S2*ZA
(II
)*ZII
/R3