URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [gcc.target/] [powerpc/] [altivec-8.c] - Rev 154
Go to most recent revision | Compare with Previous | Blame | View Log
/* Origin: Aldy Hernandez <aldyh@redhat.com> */ /* Test rs6000_legitimate_address. PRE_INC should be invalid. */ /* { dg-do compile { target powerpc*-*-* } } */ /* { dg-require-effective-target powerpc_altivec_ok } */ /* { dg-options "-maltivec" } */ #include <altivec.h> vector signed short *hannah; int main () { *hannah++ = __builtin_altivec_vspltish (5); *hannah++ = __builtin_altivec_vspltish (6); return 0; }
Go to most recent revision | Compare with Previous | Blame | View Log