1 /* { dg-do compile } */
2 /* { dg-require-effective-target powerpc_p9vector_ok } */
3 /* { dg-options "-mdejagnu-cpu=power9 -O2" } */
5 /* Verify P9 changes to allow DImode into Altivec registers, and generate
6 constants using XXSPLTIB. */
14 __asm__ ("xxlor %x0,%x1,%x1" : "=&d" (ret
) : "wa" (l
));
25 __asm__ ("xxlor %x0,%x1,%x1" : "=&d" (ret
) : "wa" (l
));
36 __asm__ ("xxlor %x0,%x1,%x1" : "=&d" (ret
) : "wa" (l
));
41 /* { dg-final { scan-assembler {\mxxspltib\M} } } */
42 /* { dg-final { scan-assembler-not {\mmtvsr} } } */
43 /* { dg-final { scan-assembler-not {\mlfd\M} } } */
44 /* { dg-final { scan-assembler-not {\mld\M} } } */
45 /* { dg-final { scan-assembler-not {\mlxsd\M} } } */