Lines Matching defs:__
30 #define __ _masm->
36 #define BLOCK_COMMENT(str) __ block_comment(str)
37 #define STOP(error) block_comment(error); __ stop(error)
51 __ load_heap_oop(Address(klass_reg, java_lang_Class::klass_offset_in_bytes()), klass_reg);
77 __ save_frame_and_mov(0, obj_reg, L0);
83 __ verify_oop(obj_reg);
84 __ br_null_short(obj_reg, Assembler::pn, L_bad);
85 __ load_klass(obj_reg, temp_reg);
86 __ set(ExternalAddress(klass_addr), temp2_reg);
87 __ ld_ptr(Address(temp2_reg, 0), temp2_reg);
88 __ cmp_and_brx_short(temp_reg, temp2_reg, Assembler::equal, Assembler::pt, L_ok);
90 __ ld_ptr(Address(temp_reg, super_check_offset), temp_reg);
91 __ set(ExternalAddress(klass_addr), temp2_reg);
92 __ ld_ptr(Address(temp2_reg, 0), temp2_reg);
93 __ cmp_and_brx_short(temp_reg, temp2_reg, Assembler::equal, Assembler::pt, L_ok);
94 __ BIND(L_bad);
95 if (did_save) __ restore();
96 __ STOP(error_message);
97 __ BIND(L_ok);
98 if (did_save) __ restore();
105 __ lduw(Address(member_reg, NONZERO(java_lang_invoke_MemberName::flags_offset_in_bytes())), temp);
106 __ srl( temp, java_lang_invoke_MemberName::MN_REFERENCE_KIND_SHIFT, temp);
107 __ and3(temp, java_lang_invoke_MemberName::MN_REFERENCE_KIND_MASK, temp);
108 __ cmp_and_br_short(temp, ref_kind, Assembler::equal, Assembler::pt, L);
115 __ STOP(buf);
118 __ bind(L);
127 __ verify_oop(method);
134 __ verify_thread();
136 __ ld(interp_only, temp);
137 __ cmp_and_br_short(temp, 0, Assembler::zero, Assembler::pt, run_compiled_code);
138 __ ld_ptr(G5_method, in_bytes(methodOopDesc::interpreter_entry_offset()), target);
139 __ jmp(target, 0);
140 __ delayed()->nop();
141 __ BIND(run_compiled_code);
148 __ ld_ptr(G5_method, in_bytes(entry_offset), target);
149 __ jmp(target, 0);
150 __ delayed()->nop();
166 __ verify_oop(recv);
167 __ load_heap_oop(Address(recv, NONZERO(java_lang_invoke_MethodHandle::form_offset_in_bytes())), method_temp);
168 __ verify_oop(method_temp);
169 __ load_heap_oop(Address(method_temp, NONZERO(java_lang_invoke_LambdaForm::vmentry_offset_in_bytes())), method_temp);
170 __ verify_oop(method_temp);
172 __ load_heap_oop(Address(method_temp, NONZERO(java_lang_invoke_MemberName::vmtarget_offset_in_bytes())), method_temp);
173 __ verify_oop(method_temp);
177 __ load_sized_value(Address(method_temp, methodOopDesc::size_of_parameters_offset()),
182 __ ld_ptr(__ argument_address(temp2, temp2, -1), temp2);
183 __ cmp_and_br_short(temp2, recv, Assembler::equal, Assembler::pt, L);
184 __ STOP("receiver not on stack");
185 __ BIND(L);
203 __ should_not_reach_here(); // empty stubs make SG sick
216 __ align(CodeEntryAlignment);
217 address entry_point = __ pc();
222 __ ldub(Address(G5_method, methodOopDesc::intrinsic_id_offset_in_bytes()), O1_scratch);
223 __ cmp_and_br_short(O1_scratch, (int) iid, Assembler::equal, Assembler::pt, L);
229 __ STOP("bad methodOop::intrinsic_id");
230 __ bind(L);
239 __ load_sized_value(Address(G5_method, methodOopDesc::size_of_parameters_offset()),
243 O4_first_arg_addr = __ argument_address(O4_param_size, O4_param_size, -1);
250 __ ld_ptr(O4_first_arg_addr, O0_mh = O0);
258 __ mov(O0_mh, G3_method_handle); // make stub happy
270 __ ld_ptr(O4_first_arg_addr, O0_recv = O0);
274 __ ld_ptr(__ argument_address(constant(0)), G5_member);
275 __ add(Gargs, Interpreter::stackElementSize, Gargs);
323 __ verify_oop(receiver_reg);
326 __ null_check(receiver_reg);
329 __ null_check(receiver_reg, oopDesc::klass_offset_in_bytes());
330 __ load_klass(receiver_reg, temp1_recv_klass);
331 __ verify_oop(temp1_recv_klass);
338 __ load_klass(receiver_reg, temp1_recv_klass);
339 __ verify_oop(temp1_recv_klass);
344 __ load_heap_oop(member_clazz, temp2_defc);
346 __ verify_oop(temp2_defc);
347 __ check_klass_subtype(temp1_recv_klass, temp2_defc, temp3, temp4, L_ok);
349 __ STOP("receiver class disagrees with MemberName.clazz");
350 __ bind(L_ok);
371 __ load_heap_oop(member_vmtarget, G5_method);
378 __ load_heap_oop(member_vmtarget, G5_method);
392 __ ld_ptr(member_vmindex, temp2_index);
396 __ cmp_and_br_short(temp2_index, (int) 0, Assembler::greaterEqual, Assembler::pn, L_index_ok);
397 __ STOP("no virtual index");
398 __ BIND(L_index_ok);
405 __ lookup_virtual_method(temp1_recv_klass, temp2_index, G5_method);
418 __ load_heap_oop(member_clazz, temp2_intf);
420 __ verify_oop(temp2_intf);
423 __ ld_ptr(member_vmindex, G5_index);
426 __ cmp_and_br_short(G5_index, 0, Assembler::greaterEqual, Assembler::pt, L);
427 __ STOP("invalid vtable index for MH.invokeInterface");
428 __ bind(L);
432 __ lookup_interface_method(temp1_recv_klass, temp2_intf,
452 __ verify_oop(G5_method);
456 __ BIND(L_incompatible_class_change_error);
458 __ jump_to(icce, temp1);
459 __ delayed()->nop();
558 __ save_frame(16); // need space for saving required FPU state
560 __ set((intptr_t) adaptername, O0);
561 __ mov(G3_method_handle, O1);
562 __ mov(I5_savedSP, O2);
563 __ mov(Gargs, O3);
564 __ mov(I6, O4); // frame identifier for safe stack walking
571 __ stf(FloatRegisterImpl::D, Ftos_d, d_save);
574 __ mov(G3_method_handle, L3);
575 __ mov(Gargs, L4);
576 __ mov(G5_method_type, L5);
577 __ mov(G6, L6);
578 __ mov(G1, L1);
580 __ call_VM_leaf(L2 /* for G2 */, CAST_FROM_FN_PTR(address, trace_method_handle_stub));
582 __ mov(L3, G3_method_handle);
583 __ mov(L4, Gargs);
584 __ mov(L5, G5_method_type);
585 __ mov(L6, G6);
586 __ mov(L1, G1);
587 __ ldf(FloatRegisterImpl::D, d_save, Ftos_d);
589 __ restore();