src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp
changeset 48110 cda04fd2da6f
parent 47916 bdbef8638948
parent 48014 ae7bd89bdc0d
child 48128 2d91c9a4f409
equal deleted inserted replaced
47932:0c22f6b9b5e2 48110:cda04fd2da6f
  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