summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/altivec-19.c
blob: 80f305a54472bcd9ae3ff703e21a64318d7334f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-require-effective-target powerpc_altivec_ok } */
/* { dg-options "-maltivec" } */
/* { dg-final { scan-assembler "dst" } } */

void foo ( char* image )
{
  while ( 1 )
    {
      __builtin_altivec_dst( (void *)( (long)image & ~0x0f ), 0, 0 );
      image += 48;
    }
}