1.1 --- a/src/cpu/mips/vm/vm_version_mips.cpp Fri Dec 16 10:05:01 2016 +0800 1.2 +++ b/src/cpu/mips/vm/vm_version_mips.cpp Fri Dec 16 11:39:00 2016 +0800 1.3 @@ -93,6 +93,10 @@ 1.4 , (has_l2_cache() ? "has_l2_cache" : ""), (has_16k_page() ? "has_16k_page" : "") 1.5 ); 1.6 //////////////////////add some other feature here////////////////// 1.7 +#ifdef COMPILER2 1.8 + if (UseLoongsonISA) 1.9 + UseCountTrailingZerosInstruction = true; 1.10 +#endif 1.11 1.12 // buf is started with ", " or is empty 1.13 _features_str = strdup(buf);