Home | History | Annotate | Download | only in runtime

Lines Matching refs:DX

114 // 64-bit unix nanoseconds returned in DX:AX.
163 SUBL 0(SP), AX // DX:AX = (tsc - nt_tsc_base)
164 SBBL 4(SP), DX
166 // We have x = tsc - nt_tsc_base - DX:AX to be
170 MOVL DX, CX // SI = (x&0xffffffff)*y >> 32
171 MOVL $0, DX
173 MOVL DX, SI
175 MOVL CX, AX // DX:AX = (x>>32)*y
176 MOVL $0, DX
179 ADDL SI, AX // DX:AX += (x&0xffffffff)*y >> 32
180 ADCL $0, DX
182 // DX:AX is now ((tsc - nt_tsc_base) * nt_scale) >> 32.
183 ADDL 12(SP), AX // DX:AX += nt_ns_base
184 ADCL 16(SP), DX
185 SUBL 20(SP), AX // DX:AX -= gtod_ns_base
186 SBBL 24(SP), DX
187 MOVL AX, SI // DI:SI = DX:AX
188 MOVL DX, DI
189 MOVL 28(SP), AX // DX:AX = gtod_sec_base*1e9
190 MOVL 32(SP), DX
193 ADDL SI, AX // DX:AX += DI:SI
194 ADCL DI, DX
204 // sec is in AX, usec in DX
205 // convert to DX:AX nsec
206 MOVL DX, BX
211 ADCL $0, DX
221 MOVL DX, nsec+8(FP)
228 MOVL DX, ret_hi+4(FP)
311 MOVL $0, DX
316 MOVL DX, 28(SP) // usec
358 // DX = "arg" (= m)
366 LEAL m_tls(DX), BP
382 MOVL m_g0(DX), AX
384 MOVL DX, g_m(AX)
385 MOVL BX, m_procid(DX) // m->procid = thread port (for debuggers)
424 POPL DX
427 // returns to DX with SP set to CX