Index: src/base/cpu.cc |
diff --git a/src/base/cpu.cc b/src/base/cpu.cc |
index cf1f9c399db413883507c15d4db847634cdb92ee..ace70bf877796810e3ab133bf980e3422064f7f1 100644 |
--- a/src/base/cpu.cc |
+++ b/src/base/cpu.cc |
@@ -670,7 +670,9 @@ CPU::CPU() |
part_ = -1; |
if (auxv_cpu_type) { |
- if (strcmp(auxv_cpu_type, "power8") == 0) { |
+ if (strcmp(auxv_cpu_type, "power9") == 0) { |
+ part_ = PPC_POWER9; |
+ } else if (strcmp(auxv_cpu_type, "power8") == 0) { |
part_ = PPC_POWER8; |
} else if (strcmp(auxv_cpu_type, "power7") == 0) { |
part_ = PPC_POWER7; |
@@ -689,6 +691,9 @@ CPU::CPU() |
#elif V8_OS_AIX |
switch (_system_configuration.implementation) { |
+ case POWER_9: |
+ part_ = PPC_POWER9; |
+ break; |
case POWER_8: |
part_ = PPC_POWER8; |
break; |