openblas/SOURCES/openblas-0.3.10-power-optimize.patch

40 lines
1.1 KiB
Diff
Raw Normal View History

2020-01-21 15:39:56 +00:00
diff --git a/kernel/power/drot.c b/kernel/power/drot.c
2020-10-22 06:12:42 +00:00
index baeb542..daeae9f 100644
2020-01-21 15:39:56 +00:00
--- a/kernel/power/drot.c
+++ b/kernel/power/drot.c
@@ -37,8 +37,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "common.h"
-#pragma GCC optimize "O1"
-
2020-10-22 06:12:42 +00:00
#if defined(POWER8) || defined(POWER9)
2020-01-21 15:39:56 +00:00
#include "drot_microk_power8.c"
#endif
diff --git a/kernel/power/srot.c b/kernel/power/srot.c
2020-10-22 06:12:42 +00:00
index 6af813c..0a172d5 100644
2020-01-21 15:39:56 +00:00
--- a/kernel/power/srot.c
+++ b/kernel/power/srot.c
@@ -37,8 +37,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "common.h"
-#pragma GCC optimize "O1"
-
2020-10-22 06:12:42 +00:00
#if defined(POWER8) || defined(POWER9)
2020-01-21 15:39:56 +00:00
#include "srot_microk_power8.c"
#endif
diff --git a/kernel/power/zscal.c b/kernel/power/zscal.c
2020-10-22 06:12:42 +00:00
index a1b441d..3c80ba0 100644
2020-01-21 15:39:56 +00:00
--- a/kernel/power/zscal.c
+++ b/kernel/power/zscal.c
@@ -36,8 +36,6 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "common.h"
-#pragma GCC optimize "O1"
-
2020-10-22 06:12:42 +00:00
#if defined(POWER8) || defined(POWER9)
2020-01-21 15:39:56 +00:00
#if defined(DOUBLE)
#include "zscal_microk_power8.c"