# HG changeset patch # User Doug Simon # Date 1375833249 -7200 # Node ID 84589a49d18472cac6a31af9d2ad62bd79b09b7a # Parent 6c098f64a7a6a007524b8eba1dce2017907bf7a5 used movslq instead of movl in CRC32 interpreter stub diff -r 6c098f64a7a6 -r 84589a49d184 src/cpu/x86/vm/templateInterpreter_x86_64.cpp --- a/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Wed Aug 07 01:52:44 2013 +0200 +++ b/src/cpu/x86/vm/templateInterpreter_x86_64.cpp Wed Aug 07 01:54:09 2013 +0200 @@ -1001,13 +1001,13 @@ // Calculate address of start element if (kind == Interpreter::java_util_zip_CRC32_updateByteBuffer) { __ movptr(buf, Address(rsp, 3*wordSize)); // long buf - __ movl(len, Address(rsp, 2*wordSize)); // offset + __ movslq(len, Address(rsp, 2*wordSize)); // offset __ addq(buf, len); // + offset __ movl(crc, Address(rsp, 5*wordSize)); // Initial CRC } else { __ movptr(buf, Address(rsp, 3*wordSize)); // byte[] array __ addptr(buf, arrayOopDesc::base_offset_in_bytes(T_BYTE)); // + header size - __ movl(len, Address(rsp, 2*wordSize)); // offset + __ movslq(len, Address(rsp, 2*wordSize)); // offset __ addq(buf, len); // + offset __ movl(crc, Address(rsp, 4*wordSize)); // Initial CRC }