Use conditional internal functions in if-conversion
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / vsxcopy.c
blob61c9f77b7719885c42b4b51b8ccb34f84a084351
1 /* { dg-do compile { target { powerpc64*-*-* } } } */
2 /* { dg-require-effective-target powerpc_vsx_ok } */
3 /* { dg-options "-O1 -mvsx" } */
4 /* { dg-final { scan-assembler {\m(lxvd2x|lxv)\M} } } */
5 /* { dg-final { scan-assembler {\m(stxvd2x|stxv)\M} } } */
6 /* { dg-final { scan-assembler-not "xxpermdi" } } */
8 typedef float vecf __attribute__ ((vector_size (16)));
9 extern vecf j, k;
11 void fun (void)
13 j = k;