< prev index next >

src/hotspot/cpu/s390/stubRoutines_s390.cpp

Print this page
*** 76,18 ***
      __ bind(L);
    }
  #endif
  }
  
  void StubRoutines::zarch::generate_load_crc_table_addr(MacroAssembler* masm, Register table) {
    const uint64_t table_contents = 0x77073096UL;  // required contents of table[1]
!   generate_load_absolute_address(masm, table, StubRoutines::_crc_table_adr, table_contents);
  }
  
  void StubRoutines::zarch::generate_load_crc32c_table_addr(MacroAssembler* masm, Register table) {
    const uint64_t table_contents = 0xf26b8303UL;  // required contents of table[1]
!   generate_load_absolute_address(masm, table, StubRoutines::_crc32c_table_addr, table_contents);
  }
  
  
  // Comapct string intrinsics: Translate table for string inflate intrinsic. Used by trot instruction.
  void StubRoutines::zarch::generate_load_trot_table_addr(MacroAssembler* masm, Register table) {
--- 76,21 ---
      __ bind(L);
    }
  #endif
  }
  
+ address StubRoutines::crc_table_addr()    { return (address)StubRoutines::zarch::_crc_table; }
+ address StubRoutines::crc32c_table_addr() { return (address)StubRoutines::zarch::_crc32c_table; }
+ 
  void StubRoutines::zarch::generate_load_crc_table_addr(MacroAssembler* masm, Register table) {
    const uint64_t table_contents = 0x77073096UL;  // required contents of table[1]
!   generate_load_absolute_address(masm, table, StubRoutines::crc_table_addr(), table_contents);
  }
  
  void StubRoutines::zarch::generate_load_crc32c_table_addr(MacroAssembler* masm, Register table) {
    const uint64_t table_contents = 0xf26b8303UL;  // required contents of table[1]
!   generate_load_absolute_address(masm, table, StubRoutines::crc32c_table_addr(), table_contents);
  }
  
  
  // Comapct string intrinsics: Translate table for string inflate intrinsic. Used by trot instruction.
  void StubRoutines::zarch::generate_load_trot_table_addr(MacroAssembler* masm, Register table) {
< prev index next >