+2019-08-07 Alexandre Oliva <oliva@adacore.com>
+
+ * gcc.target/i386/math_m_pi.h: New.
+ * gcc.target/i386/sse4_1-round.h: Use it.
+ * gcc.target/i386/pr73350.c: Likewise.
+ * gcc.target/i386/avx512f-vfixupimmpd-2.c: Likewise.
+ * gcc.target/i386/avx512f-vfixupimmps-2.c: Likewise.
+ * gcc.target/i386/avx512f-vfixupimmsd-2.c: Likewise.
+ * gcc.target/i386/avx512f-vfixupimmss-2.c: Likewise.
+ * gcc.target/i386/avx512f-vfixupimmss-2.c: Likewise.
+ * gcc.target/i386/avx-ceil-sfix-2-vec.c: Likewise. Drop
+ dg-skip-if "no M_PI".
+ * gcc.target/i386/avx-cvt-2-vec.c: Likewise.
+ * 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-ceil-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-ceilf-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-ceilf-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-floor-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-floor-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-floorf-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-floorf-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-rint-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-rintf-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-round-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-roundf-sfix-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-trunc-vec-1.c: Likewise.
+ * gcc.target/i386/avx512f-truncf-vec-1.c: Likewise.
+ * gcc.target/i386/sse2-cvt-vec.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-floorf-sfix-vec.c: Likewise.
+ * gcc.target/i386/sse4_1-floorf-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-roundsd-4.c: Likewise.
+ * gcc.target/i386/sse4_1-roundss-4.c: Likewise.
+ * gcc.target/i386/sse4_1-trunc-vec.c: Likewise.
+ * gcc.target/i386/sse4_1-truncf-vec.c: Likewise.
+
2019-08-06 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/91359
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "avx-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double ceil (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "avx-check.h"
#include CHECK_H
-#include <math.h>
+#include "math_m_pi.h"
#define NUM 4
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "avx-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double floor (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "avx-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double rint (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "avx-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double round (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx" } */
/* { dg-require-effective-target avx } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define CHECK_H "avx-check.h"
#define TEST avx_test
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
extern double ceil (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
extern double floor (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#include "avx512f-check.h"
#define NUM 64
#define SIZE (AVX512F_LEN / 64)
#include "avx512f-mask-type.h"
-#include "math.h"
+#include "math_m_pi.h"
#include "float.h"
#define SIZE (AVX512F_LEN / 32)
#include "avx512f-mask-type.h"
-#include "math.h"
+#include "math_m_pi.h"
#include "float.h"
static void
#include "avx512f-check.h"
#include "avx512f-helper.h"
-#include <math.h>
+#include "math_m_pi.h"
#include <float.h>
#include "avx512f-mask-type.h"
#include "avx512f-check.h"
#include "avx512f-helper.h"
-#include <math.h>
+#include "math_m_pi.h"
#include <float.h>
#include "avx512f-mask-type.h"
--- /dev/null
+#include <math.h>
+#ifndef M_PI
+# define M_PI 3.14159265358979323846
+#endif
+#ifndef M_PI_2
+# define M_PI_2 1.57079632679489661923
+#endif
+#ifndef M_PI_4
+# define M_PI_4 0.78539816339744830962
+#endif
/* { dg-do run } */
/* { dg-options "-O2 -mavx512f" } */
/* { dg-require-effective-target avx512f } */
-#include <math.h>
+#include "math_m_pi.h"
#define AVX512F
#include "avx512f-helper.h"
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse2" } */
/* { dg-require-effective-target sse2 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse2-check.h"
#include CHECK_H
-#include <math.h>
+#include "math_m_pi.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double ceil (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double ceil (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float ceilf (float);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float ceilf (float);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double floor (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double floor (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double rint (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double rint (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float rintf (float);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float rintf (float);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double round (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double round (double);
#include <smmintrin.h>
-#include <math.h>
+#include "math_m_pi.h"
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float roundf (float);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float roundf (float);
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
#include <smmintrin.h>
-#include <math.h>
+#include "math_m_pi.h"
#include <string.h>
#define NUM 64
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
/* { dg-do run } */
/* { dg-require-effective-target sse4 } */
/* { dg-options "-O2 -msse4.1" } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#include "sse4_1-check.h"
#include <smmintrin.h>
-#include <math.h>
+#include "math_m_pi.h"
#include <string.h>
#define NUM 64
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern double trunc (double);
/* { dg-do run } */
/* { dg-options "-O2 -ffast-math -ftree-vectorize -msse4.1" } */
/* { dg-require-effective-target sse4 } */
-/* { dg-skip-if "no M_PI" { vxworks_kernel } } */
#ifndef CHECK_H
#define CHECK_H "sse4_1-check.h"
#include CHECK_H
#define __NO_MATH_INLINES
-#include <math.h>
+#include "math_m_pi.h"
extern float truncf (float);