From 790b4d631d6f5056c66386f717fea8ac7b8b5b74 Mon Sep 17 00:00:00 2001 From: Johannes M Dieterich Date: Thu, 6 Sep 2018 20:06:40 +0000 Subject: new port: math/libpgmath This adds the compiler-callable math intrinsics library libpgmath. It is the math library of the flang compiler with support for vector operations. Patches were in large part adapted from the OpenBSD port. Reviewed by: zeising (mentor), mat Approved by: zeising (mentor) Obtained from: Brian Callahan (bcallah@openbsd.org) with adaptations Differential Revision: https://reviews.freebsd.org/D17034 --- math/libpgmath/files/patch-lib_common_dispatch.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 math/libpgmath/files/patch-lib_common_dispatch.c (limited to 'math/libpgmath/files/patch-lib_common_dispatch.c') diff --git a/math/libpgmath/files/patch-lib_common_dispatch.c b/math/libpgmath/files/patch-lib_common_dispatch.c new file mode 100644 index 000000000000..fc8034e12865 --- /dev/null +++ b/math/libpgmath/files/patch-lib_common_dispatch.c @@ -0,0 +1,14 @@ +--- lib/common/dispatch.c.orig 2018-09-04 21:58:51 UTC ++++ lib/common/dispatch.c +@@ -62,11 +62,7 @@ + #include + #include + #include +-#ifdef TARGET_LINUX_X8664 +-#include +-#else + #include +-#endif + #include "mth_tbldefs.h" + #if defined(TARGET_LINUX_X8664) || defined(TARGET_OSX_X8664) + #include "cpuid8664.h" -- cgit v1.2.3