2 ! { dg-additional-options "-msse2" { target sse2_runtime } }
3 ! { dg-additional-options "-mavx" { target avx_runtime } }
7 subroutine work( b
, n
, m
)
14 !$omp simd safelen(16)
20 subroutine work_ref( b
, n
, m
)
30 end subroutine work_ref
32 subroutine init (b
, n
)
44 subroutine check (a
, b
, n
)
46 real, parameter :: EPS
= 0.000001
47 real :: diff
, a(*), b(*)
50 if (diff
> EPS
.or
. -diff
> EPS
) STOP 1
58 real :: b(128), b_ref(128)
61 call work_ref(b_ref
, 128, 32)
63 call check(b
, b_ref
, 128)