[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr96139-c.c
blob3ada26034280840dbf10f6ac8349b56400094cfc
1 /* { dg-do run } */
2 /* { dg-options "-O2 -Wall -maltivec" } */
3 /* { dg-require-effective-target powerpc_altivec_ok } */
5 /*
6 * Based on test created by sjmunroe for pr96139
7 */
9 #include <stdio.h>
10 #include <altivec.h>
12 volatile vector long long llfoo;
14 void
15 print_v2xint64_b () {
16 printf (" %016llx \n", llfoo[0]);
17 printf (" %016llx \n", llfoo[1]);
20 int
21 main() {
22 llfoo[0]=12345678;
23 llfoo[1]=34567890;
24 print_v2xint64_b();
25 return 0;