blob: 9ad5987ac03767fcc041109c3cfa24aed6d935ed [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-fno-tree-vectorize -mfp64 -mhard-float -mmsa" } */
/* { dg-skip-if "code quality test" { *-*-* } { "-O0" } { "" } } */
typedef double v2f64 __attribute__ ((vector_size (16)));
void foo (double* arr, v2f64* vec)
{
v2f64 v;
v[0] = arr[0];
v[1] = arr[1];
*vec = v;
}
/* { dg-final { scan-assembler-not "insert.w" } } */
/* { dg-final { scan-assembler-times "insve.d" 2 } } */