patch to support power10 in builtin_cpu_is was backported to gcc 10.2, so allow that as wel
This commit is contained in:
parent
63fa3c3f8f
commit
b94dab5250
|
@ -202,7 +202,7 @@ static gotoblas_t *get_coretype(void) {
|
||||||
return &gotoblas_POWER10;
|
return &gotoblas_POWER10;
|
||||||
#endif
|
#endif
|
||||||
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
|
/* Fall back to the POWER9 implementation if the toolchain is too old or the MMA feature is not set */
|
||||||
#if (!defined __GNUC__) || ( __GNUC__ >= 11)
|
#if (!defined __GNUC__) || ( __GNUC__ >= 11) || (__GNUC__ == 10 && __GNUC_MINOR__ >= 2)
|
||||||
if (__builtin_cpu_is("power10"))
|
if (__builtin_cpu_is("power10"))
|
||||||
return &gotoblas_POWER9;
|
return &gotoblas_POWER9;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue