Add missing CPU ID definitions for old versions of AIX.

This commit is contained in:
Chip Kerchner 2024-02-07 07:54:06 -06:00
parent 08e479f956
commit 08ce6b1c1c
1 changed files with 7 additions and 0 deletions

View File

@ -43,6 +43,13 @@ char *gotoblas_corename(void) {
#define CPU_POWER9 9 #define CPU_POWER9 9
#define CPU_POWER10 10 #define CPU_POWER10 10
#ifndef POWER_9
#define POWER_9 0x20000 /* 9 class CPU */
#endif
#ifndef POWER_10
#define POWER_10 0x40000 /* 10 class CPU */
#endif
#ifdef _AIX #ifdef _AIX
#include <sys/systemcfg.h> #include <sys/systemcfg.h>