[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / altivec-26.c
blob689d13a514f0ec6e208424d4308f256788bf1b7b
1 /* { dg-do compile { target powerpc*-*-* } } */
2 /* { dg-require-effective-target powerpc_altivec_ok } */
3 /* { dg-options "-maltivec" } */
5 /* A compiler implementing context-sensitive keywords must define this
6 preprocessor macro so that altivec.h does not provide the vector,
7 pixel, etc. macros. */
9 #ifndef __APPLE_ALTIVEC__
10 #error __APPLE_ALTIVEC__ not pre-defined
11 #endif