Require gcc 11 for builtin_cpu_is(power10)

fixes #3074
This commit is contained in:
Martin Kroeker 2021-01-20 15:41:04 +01:00 committed by GitHub
parent 3612d9a57a
commit 63fa3c3f8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ static gotoblas_t *get_coretype(void) {
return &gotoblas_POWER10;
#endif
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
#if (!defined __GNUC__) || ( __GNUC__ >= 6)
#if (!defined __GNUC__) || ( __GNUC__ >= 11)
if (__builtin_cpu_is("power10"))
return &gotoblas_POWER9;
#endif