| 1 |
/* { dg-do run { target { powerpc*-*-linux* powerpc*-ibm-aix* } } } */ |
| 2 |
/* { dg-skip-if "" { powerpc*-*-darwin* } } */ |
| 3 |
/* { dg-require-effective-target ppc_recip_hw } */ |
| 4 |
/* { dg-options "-O3 -ftree-vectorize -ffast-math -mrecip -mpowerpc-gfxopt -mpowerpc-gpopt -mpopcntb" } */ |
| 5 |
|
| 6 |
/* Check reciprocal estimate functions for accuracy. */ |
| 7 |
|
| 8 |
#include <stdio.h> |
| 9 |
#include <stdlib.h> |
| 10 |
#include <stddef.h> |
| 11 |
#include <math.h> |
| 12 |
#include <float.h> |
| 13 |
#include <string.h> |
| 14 |
|
| 15 |
#include "recip-test.h" |