1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-require-effective-target lp64 } */
4 /* { dg-options "-O2 -mdejagnu-cpu=power9 -mvsx" } */
7 test (float *a
, float *b
, float *c
, float *d
)
9 return (vector
float){*a
, *b
, *c
, *d
};
12 /* { dg-final { scan-assembler-not {\mlxssp} } } */
13 /* { dg-final { scan-assembler-not {\mlfs} } } */
14 /* { dg-final { scan-assembler-times {\mlwz\M} 4 } } */
15 /* { dg-final { scan-assembler-times {\mrldimi\M} 2 } } */
16 /* { dg-final { scan-assembler-times {\mmtvsrdd\M} 1 } } */