src/hotspot/cpu/aarch64/templateInterpreterGenerator_aarch64.cpp
changeset 48003 e1ec73e3325e
parent 47823 9c77ebad8c3a
child 48014 ae7bd89bdc0d
equal deleted inserted replaced
48002:0c88cd009b5f 48003:e1ec73e3325e
  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