blob: 326c836fe7bc9770712fe4d0967e30b9a057fb6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* Origin: Aldy Hernandez <aldyh@redhat.com> */
/* Test rs6000_legitimate_address. PRE_INC should be invalid. */
/* { dg-do compile { target powerpc*-*-* } } */
/* { dg-options "-maltivec" } */
/* { dg-require-effective-target powerpc_altivec } */
#include <altivec.h>
vector signed short *hannah;
int
main ()
{
*hannah++ = __builtin_altivec_vspltish (5);
*hannah++ = __builtin_altivec_vspltish (6);
return 0;
}
|