1 // Test EH when V4SI SIMD registers are involved.
2 // Contributed by Aldy Hernandez (aldy@quesejoda.com).
4 // { dg-options "-O -w" { target i?86-*-* } }
5 // { dg-options "-O -w -maltivec" { target powerpc*-*-linux* } }
8 #include "check-vect.h"
10 typedef int __attribute__((vector_size (16))) vecint;
12 vecint vecfunc (vecint beachbum)
19 vecint foobar = (vecint) {0, 0};
20 foobar = vecfunc (foobar);
27 vecint foobar = (vecint) {0, 0};
28 foobar = vecfunc (foobar);
48 /* Exit with zero if the hardware does not support AltiVec instructions. */