Handle T_HRESULT types in CodeView records
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / fold-vec-st-pixel.c
blob029907daf1e4439245d480a1b7576ecd24cd927d
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 } */
8 #include <altivec.h>
10 void
11 testst_1 (vector pixel vp1, int i1, vector pixel * vpp)
13 return vec_st(vp1, i1, vpp);
16 void
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 } } */