mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v0.98][PPC] Fix bug in which altivec was not detected for POWER9
This commit is contained in:
@@ -238,6 +238,10 @@ bool has_altivec(struct uarch* arch) {
|
||||
case UARCH_POWER7PLUS:
|
||||
case UARCH_POWER8:
|
||||
case UARCH_POWER9:
|
||||
case UARCH_POWER9_DD20:
|
||||
case UARCH_POWER9_DD21:
|
||||
case UARCH_POWER9_DD22:
|
||||
case UARCH_POWER9_DD23:
|
||||
case UARCH_POWER10:
|
||||
return true;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user