PKGBUILDs/community/coin-or-clp/0001-Remove-MMX-and-NEON-headers.patch
2019-06-17 23:45:45 +00:00

51 lines
1.4 KiB
Diff

From 472517388e866758b74821d4fa3945cf7da4b838 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Mon, 17 Jun 2019 17:41:11 -0600
Subject: [PATCH] Remove MMX and NEON headers
---
Clp/src/ClpPackedMatrix.cpp | 8 --------
Clp/src/ClpSimplexDual.cpp | 8 --------
2 files changed, 16 deletions(-)
diff --git a/Clp/src/ClpPackedMatrix.cpp b/Clp/src/ClpPackedMatrix.cpp
index ed26ff7..df2be84 100644
--- a/Clp/src/ClpPackedMatrix.cpp
+++ b/Clp/src/ClpPackedMatrix.cpp
@@ -6747,14 +6747,6 @@ ClpPackedMatrix3::ClpPackedMatrix3()
, ifActive_(0)
{
}
-#ifdef _MSC_VER
-#include <intrin.h>
-#elif defined(__arm__)
-#include <arm_neon.h>
-#else
-#include <immintrin.h>
-//#include <fmaintrin.h>
-#endif
/* Constructor from copy. */
ClpPackedMatrix3::ClpPackedMatrix3(ClpSimplex *model, const CoinPackedMatrix *columnCopy)
: numberBlocks_(0)
diff --git a/Clp/src/ClpSimplexDual.cpp b/Clp/src/ClpSimplexDual.cpp
index b5de7cc..ce46064 100644
--- a/Clp/src/ClpSimplexDual.cpp
+++ b/Clp/src/ClpSimplexDual.cpp
@@ -3554,14 +3554,6 @@ void moveAndZero(clpTempInfo *info, int type, void *extra)
}
}
#endif
-#ifdef _MSC_VER
-#include <intrin.h>
-#elif defined(__arm__)
-#include <arm_neon.h>
-#else
-#include <immintrin.h>
-//#include <fmaintrin.h>
-#endif
int ClpSimplexDual::dualColumn0(const CoinIndexedVector *rowArray,
const CoinIndexedVector *columnArray,
CoinIndexedVector *spareArray,
--
2.21.0