Debian Codegraph @

gcc/testsuite/gcc.target/powerpc/altivec-8.c

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