Lines Matching defs:__
31 #define __ _masm->
37 #define BLOCK_COMMENT(str) __ block_comment(str)
38 #define STOP(error) block_comment(error); __ stop(error)
52 __ load_heap_oop(klass_reg, Address(klass_reg, java_lang_Class::klass_offset_in_bytes()));
78 __ verify_oop(obj);
79 __ testptr(obj, obj);
80 __ jcc(Assembler::zero, L_bad);
81 __ push(temp); if (temp2 != noreg) __ push(temp2);
82 #define UNPUSH { if (temp2 != noreg) __ pop(temp2); __ pop(temp); }
83 __ load_klass(temp, obj);
84 __ cmpptr(temp, ExternalAddress((address) klass_addr));
85 __ jcc(Assembler::equal, L_ok);
87 __ movptr(temp, Address(temp, super_check_offset));
88 __ cmpptr(temp, ExternalAddress((address) klass_addr));
89 __ jcc(Assembler::equal, L_ok);
91 __ bind(L_bad);
92 __ STOP(error_message);
93 __ BIND(L_ok);
101 __ movl(temp, Address(member_reg, NONZERO(java_lang_invoke_MemberName::flags_offset_in_bytes())));
102 __ shrl(temp, java_lang_invoke_MemberName::MN_REFERENCE_KIND_SHIFT);
103 __ andl(temp, java_lang_invoke_MemberName::MN_REFERENCE_KIND_MASK);
104 __ cmpl(temp, ref_kind);
105 __ jcc(Assembler::equal, L);
112 __ STOP(buf);
115 __ bind(L);
123 __ verify_oop(method);
134 __ get_thread(rthread);
138 __ cmpb(Address(rthread, JavaThread::interp_only_mode_offset()), 0);
139 __ jccb(Assembler::zero, run_compiled_code);
140 __ jmp(Address(method, methodOopDesc::interpreter_entry_offset()));
141 __ BIND(run_compiled_code);
146 __ jmp(Address(method, entry_offset));
163 __ verify_oop(recv);
164 __ load_heap_oop(method_temp, Address(recv, NONZERO(java_lang_invoke_MethodHandle::form_offset_in_bytes())));
165 __ verify_oop(method_temp);
166 __ load_heap_oop(method_temp, Address(method_temp, NONZERO(java_lang_invoke_LambdaForm::vmentry_offset_in_bytes())));
167 __ verify_oop(method_temp);
169 __ load_heap_oop(method_temp, Address(method_temp, NONZERO(java_lang_invoke_MemberName::vmtarget_offset_in_bytes())));
170 __ verify_oop(method_temp);
174 __ load_sized_value(temp2,
179 __ cmpptr(recv, __ argument_address(temp2, -1));
180 __ jcc(Assembler::equal, L);
181 __ movptr(rax, __ argument_address(temp2, -1));
182 __ STOP("receiver not on stack");
183 __ BIND(L);
201 __ hlt(); // empty stubs make SG sick
216 __ align(CodeEntryAlignment);
217 address entry_point = __ pc();
222 __ cmpb(Address(rbx_method, methodOopDesc::intrinsic_id_offset_in_bytes()), (int) iid);
223 __ jcc(Assembler::equal, L);
229 __ STOP("bad methodOop::intrinsic_id");
230 __ bind(L);
239 __ load_sized_value(rdx_argp,
243 rdx_first_arg_addr = __ argument_address(rdx_argp, -1);
249 __ movptr(rcx_mh, rdx_first_arg_addr);
265 __ movptr(rcx_recv = rcx, rdx_first_arg_addr);
269 __ pop(rax_temp); // return address
270 __ pop(rbx_member); // extract last argument
271 __ push(rax_temp); // re-push return address
331 __ verify_oop(receiver_reg);
334 __ null_check(receiver_reg);
337 __ null_check(receiver_reg, oopDesc::klass_offset_in_bytes());
338 __ load_klass(temp1_recv_klass, receiver_reg);
339 __ verify_oop(temp1_recv_klass);
346 __ load_klass(temp1_recv_klass, receiver_reg);
347 __ verify_oop(temp1_recv_klass);
352 __ load_heap_oop(temp2_defc, member_clazz);
354 __ verify_oop(temp2_defc);
355 __ check_klass_subtype(temp1_recv_klass, temp2_defc, temp3, L_ok);
357 __ STOP("receiver class disagrees with MemberName.clazz");
358 __ bind(L_ok);
379 __ load_heap_oop(rbx_method, member_vmtarget);
386 __ load_heap_oop(rbx_method, member_vmtarget);
400 __ movptr(temp2_index, member_vmindex);
404 __ cmpl(temp2_index, 0);
405 __ jcc(Assembler::greaterEqual, L_index_ok);
406 __ STOP("no virtual index");
407 __ BIND(L_index_ok);
414 __ lookup_virtual_method(temp1_recv_klass, temp2_index, rbx_method);
427 __ load_heap_oop(temp3_intf, member_clazz);
429 __ verify_oop(temp3_intf);
432 __ movptr(rbx_index, member_vmindex);
435 __ cmpl(rbx_index, 0);
436 __ jcc(Assembler::greaterEqual, L);
437 __ STOP("invalid vtable index for MH.invokeInterface");
438 __ bind(L);
442 __ lookup_interface_method(temp1_recv_klass, temp3_intf,
462 __ verify_oop(rbx_method);
466 __ bind(L_incompatible_class_change_error);
467 __ jump(RuntimeAddress(StubRoutines::throw_IncompatibleClassChangeError_entry()));
581 __ enter();
582 __ andptr(rsp, -16); // align stack if needed for FPU state
583 __ pusha();
584 __ mov(rbx, rsp); // for retreiving saved_regs
589 __ increment(rsp, -2 * wordSize);
591 __ movdbl(Address(rsp, 0), xmm0);
593 __ movflt(Address(rsp, 0), xmm0);
595 __ fst_d(Address(rsp, 0));
603 __ push(rbp); // entry_sp (with extra align space)
604 __ push(rbx); // pusha saved_regs
605 __ push(rcx); // mh
606 __ push(rcx); // slot for adaptername
607 __ movptr(Address(rsp, 0), (intptr_t) adaptername);
608 __ super_call_VM_leaf(CAST_FROM_FN_PTR(address, trace_method_handle_stub_wrapper), rsp);
609 __ increment(rsp, sizeof(MethodHandleStubArguments));
612 __ movdbl(xmm0, Address(rsp, 0));
614 __ movflt(xmm0, Address(rsp, 0));
616 __ fld_d(Address(rsp, 0));
618 __ increment(rsp, 2 * wordSize);
620 __ popa();
621 __ leave();