1  /* Verify that overloaded built-ins for vec_st* with pixel
       2     inputs produce the right code.  */
       3  
       4  /* { dg-do compile } */
       5  /* { dg-require-effective-target powerpc_vsx_ok } */
       6  /* { dg-options "-mvsx -O2" } */
       7  
       8  #include <altivec.h>
       9  
      10  void
      11  testst_1 (vector pixel vp1, int i1, vector pixel * vpp)
      12  {
      13  	return vec_st(vp1, i1, vpp);
      14  }
      15  
      16  void
      17  testst_cst1 (vector pixel vp1, int i1, vector pixel * vpp)
      18  {
      19  	return vec_st(vp1, 12, vpp);
      20  }
      21  
      22  /* { dg-final { scan-assembler-times {\mstvx\M}  2 } } */