equal
deleted
inserted
replaced
1067 * int java.util.zip.CRC32C.updateDirectByteBuffer(int crc, long buf, int off, int end) |
1067 * int java.util.zip.CRC32C.updateDirectByteBuffer(int crc, long buf, int off, int end) |
1068 * Unlike CRC32, CRC32C does not have any methods marked as native |
1068 * Unlike CRC32, CRC32C does not have any methods marked as native |
1069 * CRC32C also uses an "end" variable instead of the length variable CRC32 uses |
1069 * CRC32C also uses an "end" variable instead of the length variable CRC32 uses |
1070 */ |
1070 */ |
1071 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) { |
1071 address TemplateInterpreterGenerator::generate_CRC32C_updateBytes_entry(AbstractInterpreter::MethodKind kind) { |
1072 if (UseCRC32Intrinsics) { |
1072 if (UseCRC32CIntrinsics) { |
1073 address entry = __ pc(); |
1073 address entry = __ pc(); |
1074 |
1074 |
1075 // Prepare jump to stub using parameters from the stack |
1075 // Prepare jump to stub using parameters from the stack |
1076 const Register crc = c_rarg0; // initial crc |
1076 const Register crc = c_rarg0; // initial crc |
1077 const Register buf = c_rarg1; // source java byte array address |
1077 const Register buf = c_rarg1; // source java byte array address |