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

40 lines
1.2 KiB
Diff
Raw Permalink Normal View History

2019-07-31 02:51:09 +00:00
diff --git a/kernel/power/drot.c b/kernel/power/drot.c
2022-03-29 12:03:21 +00:00
index 3229878e..a25ccceb 100644
2019-07-31 02:51:09 +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"
-
2021-03-30 15:21:19 +00:00
#if defined(__VEC__) || defined(__ALTIVEC__)
2022-03-29 12:03:21 +00:00
#if defined(POWER8) || defined(POWER9)
2019-07-31 02:51:09 +00:00
#include "drot_microk_power8.c"
diff --git a/kernel/power/srot.c b/kernel/power/srot.c
2022-03-29 12:03:21 +00:00
index 5a0d4b12..d73fafc9 100644
2019-07-31 02:51:09 +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"
-
2021-03-30 15:21:19 +00:00
#if defined(__VEC__) || defined(__ALTIVEC__)
2022-03-29 12:03:21 +00:00
#if defined(POWER8) || defined(POWER9)
2019-07-31 02:51:09 +00:00
#include "srot_microk_power8.c"
diff --git a/kernel/power/zscal.c b/kernel/power/zscal.c
2022-03-29 12:03:21 +00:00
index 59ddc149..a5e35001 100644
2019-07-31 02:51:09 +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"
-
2021-03-30 15:21:19 +00:00
#if defined(__VEC__) || defined(__ALTIVEC__)
2022-03-29 12:03:21 +00:00
#if defined(POWER8) || defined(POWER9)
2019-07-31 02:51:09 +00:00
#if defined(DOUBLE)