Sat, 06 Jan 2018 16:30:58 +0800
Use srl not dsrl to extract tos state.
src/cpu/mips/vm/templateInterpreter_mips_64.cpp | file | annotate | diff | comparison | revisions |
1.1 --- a/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Thu May 24 19:32:53 2018 +0800 1.2 +++ b/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Sat Jan 06 16:30:58 2018 +0800 1.3 @@ -690,7 +690,7 @@ 1.4 // Need to differentiate between igetfield, agetfield, bgetfield etc. 1.5 // because they are different sizes. 1.6 // Use the type from the constant pool cache 1.7 - __ dsrl(T3, T3, ConstantPoolCacheEntry::tos_state_shift); 1.8 + __ srl(T3, T3, ConstantPoolCacheEntry::tos_state_shift); 1.9 // Make sure we don't need to mask edx for tosBits after the above shift 1.10 ConstantPoolCacheEntry::verify_tos_state_shift(); 1.11 // btos = 0