1 /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
7 /* Insure setting 0.0f to a V4SFmode element does not do a FP conversion. */
10 insert_arg_0 (vector
float vf
)
12 return vec_insert (0.0f
, vf
, 0);
15 /* { dg-final { scan-assembler {\mxxinsertw\M} } } */
16 /* { dg-final { scan-assembler-not {\mlvewx\M} } } */
17 /* { dg-final { scan-assembler-not {\mlvx\M} } } */
18 /* { dg-final { scan-assembler-not {\mvperm\M} } } */
19 /* { dg-final { scan-assembler-not {\mvpermr\M} } } */
20 /* { dg-final { scan-assembler-not {\mstfs\M} } } */
21 /* { dg-final { scan-assembler-not {\mstxssp\M} } } */
22 /* { dg-final { scan-assembler-not {\mstxsspx\M} } } */
23 /* { dg-final { scan-assembler-not {\mxscvdpspn\M} } } */
24 /* { dg-final { scan-assembler-not {\mxxextractuw\M} } } */