We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 18d8a67 + 6232237 commit 7377246Copy full SHA for 7377246
1 file changed
driver/others/dynamic_power.c
@@ -53,8 +53,10 @@ static gotoblas_t *get_coretype(void) {
53
return &gotoblas_POWER10;
54
#endif
55
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
56
+#if (!defined __GNUC__) || ( __GNUC__ >= 6)
57
if (__builtin_cpu_is("power10"))
58
return &gotoblas_POWER9;
59
+#endif
60
return NULL;
61
}
62
0 commit comments