c++: normalizing ttp constraints [PR115656]
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr88965.c
blob47be152c09529bcdfcbabee45153fbb41f2d2991
1 /* PR target/88965 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -mvsx" } */
4 /* { dg-require-effective-target powerpc_vsx } */
6 unsigned int a[16];
7 unsigned int __attribute__ ((vector_size (16))) b;
9 void
10 foo (void)
12 b = __builtin_vec_vsx_ld (0, &a[0]);
15 void
16 bar (void)
18 __builtin_vec_vsx_st (b, 0, &a[0]);