Merge pull request #4490 from ChipKerchner/missingCPUIDsForAIX

Add missing CPU ID definitions for old versions of AIX.
This commit is contained in:
Martin Kroeker 2024-02-07 17:31:26 +01:00 committed by GitHub
commit 818bf30628
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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>