16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "asm/macroAssembler.inline.hpp"
28 #include "runtime/deoptimization.hpp"
29 #include "runtime/frame.inline.hpp"
30 #include "runtime/stubRoutines.hpp"
31 #include "runtime/thread.inline.hpp"
32
33 // Implementation of the platform-specific part of StubRoutines - for
34 // a description of how to extend it, see the stubRoutines.hpp file.
35
36 address StubRoutines::zarch::_handler_for_unsafe_access_entry = NULL;
37
38 address StubRoutines::zarch::_partial_subtype_check = NULL;
39
40 // Comapct string intrinsics: Translate table for string inflate intrinsic. Used by trot instruction.
41 address StubRoutines::zarch::_trot_table_addr = NULL;
42
43 int StubRoutines::zarch::_atomic_memory_operation_lock = StubRoutines::zarch::unlocked;
44
45 #define __ masm->
46
47 void StubRoutines::zarch::generate_load_crc_table_addr(MacroAssembler* masm, Register table) {
48
49 __ load_absolute_address(table, StubRoutines::_crc_table_adr);
50 #ifdef ASSERT
51 assert(_crc_table_adr != NULL, "CRC lookup table address must be initialized by now");
52 {
53 Label L;
54 __ load_const_optimized(Z_R0, StubRoutines::_crc_table_adr);
55 __ z_cgr(table, Z_R0); // safety net
56 __ z_bre(L);
57 __ z_illtrap();
|
16 * You should have received a copy of the GNU General Public License version
17 * 2 along with this work; if not, write to the Free Software Foundation,
18 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19 *
20 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21 * or visit www.oracle.com if you need additional information or have any
22 * questions.
23 *
24 */
25
26 #include "precompiled.hpp"
27 #include "asm/macroAssembler.inline.hpp"
28 #include "runtime/deoptimization.hpp"
29 #include "runtime/frame.inline.hpp"
30 #include "runtime/stubRoutines.hpp"
31 #include "runtime/thread.inline.hpp"
32
33 // Implementation of the platform-specific part of StubRoutines - for
34 // a description of how to extend it, see the stubRoutines.hpp file.
35
36 address StubRoutines::zarch::_partial_subtype_check = NULL;
37
38 // Comapct string intrinsics: Translate table for string inflate intrinsic. Used by trot instruction.
39 address StubRoutines::zarch::_trot_table_addr = NULL;
40
41 int StubRoutines::zarch::_atomic_memory_operation_lock = StubRoutines::zarch::unlocked;
42
43 #define __ masm->
44
45 void StubRoutines::zarch::generate_load_crc_table_addr(MacroAssembler* masm, Register table) {
46
47 __ load_absolute_address(table, StubRoutines::_crc_table_adr);
48 #ifdef ASSERT
49 assert(_crc_table_adr != NULL, "CRC lookup table address must be initialized by now");
50 {
51 Label L;
52 __ load_const_optimized(Z_R0, StubRoutines::_crc_table_adr);
53 __ z_cgr(table, Z_R0); // safety net
54 __ z_bre(L);
55 __ z_illtrap();
|