src/cpu/mips/vm/vm_version_mips.cpp

changeset 203
333debbd9de9
parent 1
2d8a650513c2
child 209
994cec5b3f6f
     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);

mercurial