1 /* Verify that overloaded built-ins for vec_unpackh and vec_unpackl with pixel
2 inputs produce the right code. */
4 /* { dg-do compile } */
5 /* { dg-require-effective-target powerpc_altivec_ok } */
6 /* { dg-options "-maltivec -O2" } */
11 testf_el (vector pixel vpx2
)
13 return vec_unpackl (vpx2
);
17 testf_eh (vector pixel vpx2
)
19 return vec_unpackh (vpx2
);
22 /* { dg-final { scan-assembler-times "vupkhpx" 1 } } */
23 /* { dg-final { scan-assembler-times "vupklpx" 1 } } */