src/cpu/mips/vm/vm_version_mips.cpp

changeset 9155
30adb9fd9663
parent 9150
f7b3bf895d68
child 9251
1ccc5a3b3671
     1.1 --- a/src/cpu/mips/vm/vm_version_mips.cpp	Thu Jun 21 17:30:45 2018 +0800
     1.2 +++ b/src/cpu/mips/vm/vm_version_mips.cpp	Tue Jul 03 15:57:58 2018 +0800
     1.3 @@ -110,13 +110,13 @@
     1.4    }
     1.5  
     1.6    if (is_gs464e()) {
     1.7 -    if (FLAG_IS_DEFAULT(UseCountTrailingZerosInstruction)) {
     1.8 -      FLAG_SET_DEFAULT(UseCountTrailingZerosInstruction, 1);
     1.9 +    if (FLAG_IS_DEFAULT(UseCountTrailingZerosInstructionMIPS64)) {
    1.10 +      FLAG_SET_DEFAULT(UseCountTrailingZerosInstructionMIPS64, 1);
    1.11      }
    1.12 -  } else if (UseCountTrailingZerosInstruction) {
    1.13 -    if (!FLAG_IS_DEFAULT(UseCountTrailingZerosInstruction))
    1.14 -      warning("Only 3A2000/3000 CPUs support UseCountTrailingZerosInstruction");
    1.15 -    FLAG_SET_DEFAULT(UseCountTrailingZerosInstruction, 0);
    1.16 +  } else if (UseCountTrailingZerosInstructionMIPS64) {
    1.17 +    if (!FLAG_IS_DEFAULT(UseCountTrailingZerosInstructionMIPS64))
    1.18 +      warning("Only 3A2000/3000 CPUs support UseCountTrailingZerosInstructionMIPS64");
    1.19 +    FLAG_SET_DEFAULT(UseCountTrailingZerosInstructionMIPS64, 0);
    1.20    }
    1.21  #endif
    1.22    UseSSE = 0; // Only on x86 and x64
    1.23 @@ -168,7 +168,7 @@
    1.24                (is_gs464e() ? ", 3A2000/3A3000/3B2000/3B3000" : ""),
    1.25                (is_gs264() ?  ", 2K1000" : ""),
    1.26                (UseLoongsonISA ? ", UseLoongsonISA" : ""),
    1.27 -              (UseCountTrailingZerosInstruction ? ", UseCountTrailingZerosInstruction" : ""),
    1.28 +              (UseCountTrailingZerosInstructionMIPS64 ? ", UseCountTrailingZerosInstructionMIPS64" : ""),
    1.29                (Use3A2000 ? ", Use3A2000" : ""));
    1.30  
    1.31    // buf is started with ", " or is empty

mercurial