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