1 /* Verify that overloaded built-ins for vec_st* with pixel
2 inputs produce the right code. */
4 /* { dg-do compile } */
5 /* { dg-options "-mvsx -O2" } */
6 /* { dg-require-effective-target powerpc_vsx } */
11 testst_1 (vector pixel vp1
, int i1
, vector pixel
* vpp
)
13 return vec_st(vp1
, i1
, vpp
);
17 testst_cst1 (vector pixel vp1
, int i1
, vector pixel
* vpp
)
19 return vec_st(vp1
, 12, vpp
);
22 /* { dg-final { scan-assembler-times {\mstvx\M} 2 } } */