Lines Matching defs:thread
44 static void slow_call_thr_specific(MacroAssembler* _masm, Register thread) {
51 if (thread != rax) __ push(rax); // save rax, if caller still wants it
54 if (thread != rax) {
55 __ lea(thread, Address(rsp, 3 * sizeof(int))); // address of return value
57 __ lea(thread, Address(rsp, 2 * sizeof(int))); // address of return value
59 __ push(thread); // and pass the address
65 if (thread != rax) __ pop(rax);
66 __ pop(thread);
70 static void slow_call_thr_specific(MacroAssembler* _masm, Register thread) {
75 if (thread != rax) {
105 __ pop(thread); // load return value
106 if (thread != rax) {
112 void MacroAssembler::get_thread(Register thread) {
118 // Use thread as a temporary: mov r, gs:[0]; mov r, [r+tlsOffset]
122 movptr (thread, null);
123 movptr(thread, Address(thread, ThreadLocalStorage::pd_getTlsOffset())) ;
130 movptr (thread, tls_off);
134 slow_call_thr_specific(this, thread);