[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / recip-6.c
blob151dd6f88d46abc668b5ca4c5ebfbc1a33ac305d
1 /* { dg-do run { target { powerpc*-*-linux* powerpc*-ibm-aix* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
3 /* { dg-require-effective-target vsx_hw } */
4 /* { dg-options "-mdejagnu-cpu=power7 -O3 -ftree-vectorize -ffast-math -mrecip=all -mrecip-precision" } */
6 /* Check reciprocal estimate functions for accuracy. */
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <stddef.h>
11 #include <math.h>
12 #include <float.h>
13 #include <string.h>
15 #include "recip-test.h"