1 /* { dg-options "-maltivec -mdejagnu-cpu=power6" } */
2 /* { dg-require-effective-target powerpc_altivec } */
3 /* If the default cpu type is power10 or later, MMA is enabled by default.
4 To keep the test point available all the time, this case specifies
5 -mdejagnu-cpu=power6 to make it be tested without MMA. */
7 /* Verify there is no ICE and don't check the error messages on MMA
8 requirement since they could be fragile and are not test points
10 /* { dg-excess-errors "pr103353" } */
13 foo (__vector_pair
*dst
, double *x
)
15 dst
[0] = __builtin_vsx_lxvp (0, (__vector_pair
*)(void *)x
);
19 bar (__vector_pair
*src
, double *x
)
21 __builtin_vsx_stxvp (src
[0], 0, (__vector_pair
*)(void *)x
);