1 // Test EH when V2SI SIMD registers are involved.
2 // Contributed by Aldy Hernandez (aldy@quesejoda.com).
4 // { dg-options "-O -w" { target { { i?86-*-* x86_64-*-* } && ilp32 } } }
7 typedef int __attribute__((vector_size (8))) vecint;
9 vecint vecfunc (vecint beachbum)
16 /* Force a use of a V2SI register if available. On the PPC/E500,
17 this will cause the compiler to save the registers in this
18 function in 64-bits. */
19 vecint foobar = (vecint) {0, 0};
20 foobar = vecfunc (foobar);
27 vecint foobar = (vecint) {0, 0};
28 foobar = vecfunc (foobar);