[v0.98][PPC] Fix bug in which altivec was not detected for POWER9

This commit is contained in:
Dr-Noob
2021-08-03 13:43:15 +02:00
parent 7802505c19
commit c0263c0378

View File

@@ -238,6 +238,10 @@ bool has_altivec(struct uarch* arch) {
case UARCH_POWER7PLUS: case UARCH_POWER7PLUS:
case UARCH_POWER8: case UARCH_POWER8:
case UARCH_POWER9: case UARCH_POWER9:
case UARCH_POWER9_DD20:
case UARCH_POWER9_DD21:
case UARCH_POWER9_DD22:
case UARCH_POWER9_DD23:
case UARCH_POWER10: case UARCH_POWER10:
return true; return true;
default: default: