1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
|
From ff46c252b040fd6e8fb0562bf4cc4c8db4eac95f Mon Sep 17 00:00:00 2001
From: Devin Matthews <damatthews@smu.edu>
Date: Thu, 11 Sep 2025 10:58:36 -0500
Subject: [PATCH 1/2] Update Haswell gemmsup fix for gcc 16 and later.
---
kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c | 9 ++++-----
kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c | 9 ++++-----
.../haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c | 9 ++++-----
.../haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c | 9 ++++-----
4 files changed, 16 insertions(+), 20 deletions(-)
diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c
index e71732de3c..2b38c9a4b1 100644
--- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c
+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8m.c
@@ -33,11 +33,10 @@
*/
-// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845).
-// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also
-// make sure the compiler isn't clang since it also confusingly defines __GNUC__
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15
-#pragma GCC optimize("-fno-tree-slp-vectorize")
+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845).
+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__
+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15
+#pragma GCC optimize("-fno-tree-vectorize")
#endif
#include "blis.h"
diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c
index 880af4207a..093d149a54 100644
--- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c
+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_d6x8n.c
@@ -33,11 +33,10 @@
*/
-// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845).
-// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also
-// make sure the compiler isn't clang since it also confusingly defines __GNUC__
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15
-#pragma GCC optimize("-fno-tree-slp-vectorize")
+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845).
+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__
+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15
+#pragma GCC optimize("-fno-tree-vectorize")
#endif
#include "blis.h"
diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c
index d0814d6d82..e9697f9771 100644
--- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c
+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16m.c
@@ -33,11 +33,10 @@
*/
-// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845).
-// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also
-// make sure the compiler isn't clang since it also confusingly defines __GNUC__
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15
-#pragma GCC optimize("-fno-tree-slp-vectorize")
+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845).
+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__
+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15
+#pragma GCC optimize("-fno-tree-vectorize")
#endif
#include "blis.h"
diff --git a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c
index bc2d783e3b..73517976eb 100644
--- a/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c
+++ b/kernels/haswell/3/sup/bli_gemmsup_rv_haswell_asm_s6x16n.c
@@ -33,11 +33,10 @@
*/
-// This avoids a known issue with GCC15 ("error: bp cannot be used in asm here", #845).
-// Only check for version 15 since this may be fixed in 16 (**fingers crossed**), and also
-// make sure the compiler isn't clang since it also confusingly defines __GNUC__
-#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ == 15
-#pragma GCC optimize("-fno-tree-slp-vectorize")
+// This avoids a known issue with GCC15+ ("error: bp cannot be used in asm here", #845).
+// Make sure the compiler isn't clang since it also confusingly defines __GNUC__
+#if !defined(__clang__) && defined(__GNUC__) && __GNUC__ >= 15
+#pragma GCC optimize("-fno-tree-vectorize")
#endif
#include "blis.h"
From b62a9f11c080189a8742ce9949f5930793fbdaf4 Mon Sep 17 00:00:00 2001
From: Devin Matthews <damatthews@smu.edu>
Date: Thu, 11 Sep 2025 11:04:13 -0500
Subject: [PATCH 2/2] Update CREDITS [ci skip].
---
CREDITS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/CREDITS b/CREDITS
index b677cbaa8d..a0615da121 100644
--- a/CREDITS
+++ b/CREDITS
@@ -64,6 +64,7 @@ but many others have contributed code, ideas, and feedback, including
Aaron Hutchinson @Aaron-Hutchinson (SiFive)
Francisco Igual @figual (Universidad Complutense de Madrid)
@j-bm
+ Sam James @thesamesam
Madeesh Kannan @shadeMe
Tony Kelman @tkelman
Lee Killough @leekillough (Tactical Computing Labs)
@@ -149,6 +150,7 @@ but many others have contributed code, ideas, and feedback, including
Chenhan Yu @ChenhanYu (The University of Texas at Austin)
Roman Yurchak @rth (Symerio)
Stefano Zampini @stefanozampini
+ Paul Zander @negril
M. Zhou @cdluminate
Igor Zhuravlov @jip (Far Eastern Federal University)
@AngryLoki
|