* gcc.dg/altivec-19.c: New.

From-SVN: r94670
This commit is contained in:
Geoffrey Keating 2005-02-06 08:51:32 +00:00
parent f1b4c8d80a
commit c1105188df
1 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1,12 @@
/* { dg-do compile { target powerpc*-*-* } } */
/* { 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;
}
}