summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/powerpc/recip-6.c
blob: 151dd6f88d46abc668b5ca4c5ebfbc1a33ac305d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do run { target { powerpc*-*-linux* powerpc*-ibm-aix* } } } */
/* { dg-skip-if "" { powerpc*-*-darwin* } } */
/* { dg-require-effective-target vsx_hw } */
/* { dg-options "-mdejagnu-cpu=power7 -O3 -ftree-vectorize -ffast-math -mrecip=all -mrecip-precision" } */

/* Check reciprocal estimate functions for accuracy.  */

#include <stdio.h>
#include <stdlib.h>
#include <stddef.h>
#include <math.h>
#include <float.h>
#include <string.h>

#include "recip-test.h"