From: Ilya Verbin Date: Tue, 24 May 2016 17:35:17 +0000 (+0000) Subject: avx-ceil-sfix-2-vec.c: Define __NO_MATH_INLINES before math.h is included. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a6f5ac7fd4bc1e1c8593bb78920a5918d9f6019f;p=gcc.git avx-ceil-sfix-2-vec.c: Define __NO_MATH_INLINES before math.h is included. * gcc.target/i386/avx-ceil-sfix-2-vec.c: Define __NO_MATH_INLINES before math.h is included. * gcc.target/i386/avx-floor-sfix-2-vec.c: Likewise. * gcc.target/i386/avx-rint-sfix-2-vec.c: Likewise. * gcc.target/i386/avx-round-sfix-2-vec.c: Likewise. * gcc.target/i386/avx512f-ceil-sfix-vec-1.c: Likewise. * gcc.target/i386/avx512f-floor-sfix-vec-1.c: Likewise. * gcc.target/i386/sse4_1-ceil-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-ceil-vec.c: Likewise. * gcc.target/i386/sse4_1-ceilf-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-ceilf-vec.c: Likewise. * gcc.target/i386/sse4_1-floor-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-floor-vec.c: Likewise. * gcc.target/i386/sse4_1-rint-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-rint-vec.c: Likewise. * gcc.target/i386/sse4_1-rintf-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-rintf-vec.c: Likewise. * gcc.target/i386/sse4_1-round-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-round-vec.c: Likewise. * gcc.target/i386/sse4_1-roundf-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-roundf-vec.c: Likewise. * gcc.target/i386/sse4_1-trunc-vec.c: Likewise. * gcc.target/i386/sse4_1-truncf-vec.c: Likewise. * gcc.target/i386/sse4_1-floorf-sfix-vec.c: Likewise. * gcc.target/i386/sse4_1-floorf-vec.c: Likewise. From-SVN: r236656 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 3eef44ef92e..d88618eebb2 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,31 @@ +2016-05-24 Ilya Verbin + + * gcc.target/i386/avx-ceil-sfix-2-vec.c: Define __NO_MATH_INLINES before + math.h is included. + * gcc.target/i386/avx-floor-sfix-2-vec.c: Likewise. + * gcc.target/i386/avx-rint-sfix-2-vec.c: Likewise. + * gcc.target/i386/avx-round-sfix-2-vec.c: Likewise. + * gcc.target/i386/avx512f-ceil-sfix-vec-1.c: Likewise. + * gcc.target/i386/avx512f-floor-sfix-vec-1.c: Likewise. + * gcc.target/i386/sse4_1-ceil-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-ceil-vec.c: Likewise. + * gcc.target/i386/sse4_1-ceilf-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-ceilf-vec.c: Likewise. + * gcc.target/i386/sse4_1-floor-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-floor-vec.c: Likewise. + * gcc.target/i386/sse4_1-rint-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-rint-vec.c: Likewise. + * gcc.target/i386/sse4_1-rintf-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-rintf-vec.c: Likewise. + * gcc.target/i386/sse4_1-round-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-round-vec.c: Likewise. + * gcc.target/i386/sse4_1-roundf-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-roundf-vec.c: Likewise. + * gcc.target/i386/sse4_1-trunc-vec.c: Likewise. + * gcc.target/i386/sse4_1-truncf-vec.c: Likewise. + * gcc.target/i386/sse4_1-floorf-sfix-vec.c: Likewise. + * gcc.target/i386/sse4_1-floorf-vec.c: Likewise. + 2016-05-24 Michael Meissner Kelvin Nilsen diff --git a/gcc/testsuite/gcc.target/i386/avx-ceil-sfix-2-vec.c b/gcc/testsuite/gcc.target/i386/avx-ceil-sfix-2-vec.c index bf48b80717b..45b7af7b06a 100644 --- a/gcc/testsuite/gcc.target/i386/avx-ceil-sfix-2-vec.c +++ b/gcc/testsuite/gcc.target/i386/avx-ceil-sfix-2-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double ceil (double); diff --git a/gcc/testsuite/gcc.target/i386/avx-floor-sfix-2-vec.c b/gcc/testsuite/gcc.target/i386/avx-floor-sfix-2-vec.c index 275199cf8f0..0a28c762b3c 100644 --- a/gcc/testsuite/gcc.target/i386/avx-floor-sfix-2-vec.c +++ b/gcc/testsuite/gcc.target/i386/avx-floor-sfix-2-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double floor (double); diff --git a/gcc/testsuite/gcc.target/i386/avx-rint-sfix-2-vec.c b/gcc/testsuite/gcc.target/i386/avx-rint-sfix-2-vec.c index 9f273af5cbb..e6c47b8dff1 100644 --- a/gcc/testsuite/gcc.target/i386/avx-rint-sfix-2-vec.c +++ b/gcc/testsuite/gcc.target/i386/avx-rint-sfix-2-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double rint (double); diff --git a/gcc/testsuite/gcc.target/i386/avx-round-sfix-2-vec.c b/gcc/testsuite/gcc.target/i386/avx-round-sfix-2-vec.c index ddb46d9252a..dc0a7db33d8 100644 --- a/gcc/testsuite/gcc.target/i386/avx-round-sfix-2-vec.c +++ b/gcc/testsuite/gcc.target/i386/avx-round-sfix-2-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double round (double); diff --git a/gcc/testsuite/gcc.target/i386/avx512f-ceil-sfix-vec-1.c b/gcc/testsuite/gcc.target/i386/avx512f-ceil-sfix-vec-1.c index 038d25e3582..d7d69166317 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-ceil-sfix-vec-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-ceil-sfix-vec-1.c @@ -3,6 +3,7 @@ /* { dg-require-effective-target avx512f } */ /* { dg-skip-if "no M_PI" { vxworks_kernel } } */ +#define __NO_MATH_INLINES #include #include "avx512f-check.h" diff --git a/gcc/testsuite/gcc.target/i386/avx512f-floor-sfix-vec-1.c b/gcc/testsuite/gcc.target/i386/avx512f-floor-sfix-vec-1.c index fab7e6528ae..b46ea9fc283 100644 --- a/gcc/testsuite/gcc.target/i386/avx512f-floor-sfix-vec-1.c +++ b/gcc/testsuite/gcc.target/i386/avx512f-floor-sfix-vec-1.c @@ -3,6 +3,7 @@ /* { dg-require-effective-target avx512f } */ /* { dg-skip-if "no M_PI" { vxworks_kernel } } */ +#define __NO_MATH_INLINES #include #include "avx512f-check.h" diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-ceil-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-ceil-sfix-vec.c index ca07d9c003f..bb32c8d7669 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-ceil-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-ceil-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double ceil (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-ceil-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-ceil-vec.c index 20bb2641fac..4193aaa97cf 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-ceil-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-ceil-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double ceil (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-sfix-vec.c index b0559bf3995..971ccb853e1 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float ceilf (float); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-vec.c index 314be91fa6c..e2ebafc6db2 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-ceilf-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float ceilf (float); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-floor-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-floor-sfix-vec.c index 2083a60e7fe..15db225d237 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-floor-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-floor-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double floor (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-floor-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-floor-vec.c index d250413c1b7..a33f7d915db 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-floor-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-floor-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double floor (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-floorf-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-floorf-sfix-vec.c index 7e18b46f598..bf05af3e281 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-floorf-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-floorf-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include #define NUM 64 diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-floorf-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-floorf-vec.c index 019ef89417b..13630fb5460 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-floorf-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-floorf-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include #define NUM 64 diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-rint-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-rint-sfix-vec.c index d9c2fbf2d37..61119333526 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-rint-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-rint-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double rint (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-rint-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-rint-vec.c index f20359a1ae2..88965a542b7 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-rint-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-rint-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double rint (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-rintf-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-rintf-sfix-vec.c index 1d25f7669d5..12d3dbeb14d 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-rintf-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-rintf-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float rintf (float); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-rintf-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-rintf-vec.c index 716cad1e3ff..362832d15c4 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-rintf-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-rintf-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float rintf (float); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-round-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-round-sfix-vec.c index 9abbe55b7d7..c54aceef592 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-round-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-round-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double round (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c index bb912cef955..83aeb64a773 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-round-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double round (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-roundf-sfix-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-roundf-sfix-vec.c index 5384e5c62c5..cd1107110cc 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-roundf-sfix-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-roundf-sfix-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float roundf (float); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-roundf-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-roundf-vec.c index d254aa66b89..b55e5df0585 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-roundf-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-roundf-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float roundf (float); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-trunc-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-trunc-vec.c index 9cbcd9b3985..5c270837980 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-trunc-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-trunc-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern double trunc (double); diff --git a/gcc/testsuite/gcc.target/i386/sse4_1-truncf-vec.c b/gcc/testsuite/gcc.target/i386/sse4_1-truncf-vec.c index 815b5081433..e491feedd92 100644 --- a/gcc/testsuite/gcc.target/i386/sse4_1-truncf-vec.c +++ b/gcc/testsuite/gcc.target/i386/sse4_1-truncf-vec.c @@ -13,6 +13,7 @@ #include CHECK_H +#define __NO_MATH_INLINES #include extern float truncf (float);