2017-08-28 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / recip-7.c
blob3d84bedc75a670e835e1ae916d4862dfe9a45ce1
1 /* { dg-do run { target { powerpc*-*-linux* powerpc*-ibm-aix* } } } */
2 /* { dg-skip-if "" { powerpc*-*-darwin* } { "*" } { "" } } */
3 /* { dg-skip-if "" { powerpc*-*-*spe* } { "*" } { "" } } */
4 /* { dg-require-effective-target ppc_recip_hw } */
5 /* { dg-options "-O3 -ftree-vectorize -ffast-math -mrecip -mpowerpc-gfxopt -mpowerpc-gpopt -mpopcntb" } */
7 /* Check reciprocal estimate functions for accuracy. */
9 #include <stdio.h>
10 #include <stdlib.h>
11 #include <stddef.h>
12 #include <math.h>
13 #include <float.h>
14 #include <string.h>
16 #include "recip-test.h"