blob: 4591f687c07ebb738b2a727c9d7bda69a30c703b [file] [log] [blame]
// { dg-additional-options "-mavx" { target avx_runtime } }
// { dg-do compile { target { avx_runtime || vect_sizes_16B_8B } } }
// { dg-skip-if "needs gcc/config.d" { ! d_runtime } }
import core.simd;
double dot (double2 a) {
return a.ptr[0] * a.ptr[1];
}