[RS6000] Tests that use int128_t and -m32
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr79799-5.c
blobbe01bb8fe7bc08d3a034e4842bfa5025b2ff4bd9
1 /* { dg-do compile { target { powerpc64*-*-* && lp64 } } } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
5 #include <altivec.h>
7 /* Insure setting 0.0f to a V4SFmode element does not do a FP conversion. */
9 vector float
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} } } */