# HG changeset patch # User fujie # Date 1515227458 -28800 # Node ID e4aeef458496c49b79b3cdde8d0af8825d422481 # Parent 5376ce0dc55234d4e0fe56227be354273cf489a3 Use srl not dsrl to extract tos state. diff -r 5376ce0dc552 -r e4aeef458496 src/cpu/mips/vm/templateInterpreter_mips_64.cpp --- a/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Thu May 24 19:32:53 2018 +0800 +++ b/src/cpu/mips/vm/templateInterpreter_mips_64.cpp Sat Jan 06 16:30:58 2018 +0800 @@ -690,7 +690,7 @@ // Need to differentiate between igetfield, agetfield, bgetfield etc. // because they are different sizes. // Use the type from the constant pool cache - __ dsrl(T3, T3, ConstantPoolCacheEntry::tos_state_shift); + __ srl(T3, T3, ConstantPoolCacheEntry::tos_state_shift); // Make sure we don't need to mask edx for tosBits after the above shift ConstantPoolCacheEntry::verify_tos_state_shift(); // btos = 0