Index: src/base/cpu.cc |
diff --git a/src/base/cpu.cc b/src/base/cpu.cc |
index 896c25dab1d91962eb4cc332772bba26e9ebebb7..bf530c628165413418a49f5cb9ad418af822a6fd 100644 |
--- a/src/base/cpu.cc |
+++ b/src/base/cpu.cc |
@@ -596,7 +596,10 @@ CPU::CPU() |
CPUInfo cpu_info; |
char* cpu_model = cpu_info.ExtractField("cpu model"); |
has_fpu_ = HasListItem(cpu_model, "FPU"); |
+ char* ASEs = cpu_info.ExtractField("ASEs implemented"); |
+ has_msa_ = HasListItem(ASEs, "msa"); |
delete[] cpu_model; |
+ delete[] ASEs; |
#ifdef V8_HOST_ARCH_MIPS |
is_fp64_mode_ = __detect_fp64_mode(); |
architecture_ = __detect_mips_arch_revision(); |