Skip to content

Commit 63fa3c3

Browse files
authored
Require gcc 11 for builtin_cpu_is(power10)
fixes #3074
1 parent 3612d9a commit 63fa3c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/others/dynamic_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ static gotoblas_t *get_coretype(void) {
202202
return &gotoblas_POWER10;
203203
#endif
204204
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
205-
#if (!defined __GNUC__) || ( __GNUC__ >= 6)
205+
#if (!defined __GNUC__) || ( __GNUC__ >= 11)
206206
if (__builtin_cpu_is("power10"))
207207
return &gotoblas_POWER9;
208208
#endif

0 commit comments

Comments
 (0)