1.1 --- a/src/cpu/mips/vm/vm_version_mips.cpp Fri Jun 09 20:44:53 2017 +0800 1.2 +++ b/src/cpu/mips/vm/vm_version_mips.cpp Thu Dec 29 13:40:20 2016 +0800 1.3 @@ -94,9 +94,19 @@ 1.4 ); 1.5 //////////////////////add some other feature here////////////////// 1.6 #ifdef COMPILER2 1.7 + if (MaxVectorSize > 0) { 1.8 + if (!is_power_of_2(MaxVectorSize)) { 1.9 + warning("MaxVectorSize must be a power of 2"); 1.10 + MaxVectorSize = 8; 1.11 + } 1.12 + if (MaxVectorSize > 0 && supports_ps()) { 1.13 + MaxVectorSize = 8; 1.14 + } 1.15 + } 1.16 if (UseLoongsonISA) 1.17 UseCountTrailingZerosInstruction = true; 1.18 #endif 1.19 + UseSSE = 0; // Only on x86 and x64 1.20 1.21 // buf is started with ", " or is empty 1.22 _features_str = strdup(buf);