1 // Test EH when V2SI SIMD registers are involved.
2 // Contributed by Aldy Hernandez (aldy@quesejoda.com).
6 typedef int __attribute__((mode(V2SI))) vecint;
8 vecint vecfunc (vecint beachbum)
15 /* Force a use of a V2SI register if available. On the PPC/E500,
16 this will cause the compiler to save the registers in this
17 function in 64-bits. */
18 vecint foobar = (vecint) {0, 0};
19 foobar = vecfunc (foobar);
26 vecint foobar = (vecint) {0, 0};
27 foobar = vecfunc (foobar);