Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for divlu (0.1 sec)

  1. src/runtime/time_windows_386.s

    	SBBL $(delta >> 32), DX
    
    	// nano/100 = DX:AX
    	// split into two decimal halves by div 1e9.
    	// (decimal point is two spots over from correct place,
    	// but we avoid overflow in the high word.)
    	MOVL	$1000000000, CX
    	DIVL	CX
    	MOVL	AX, DI
    	MOVL	DX, SI
    
    	// DI = nano/100/1e9 = nano/1e11 = sec/100, DX = SI = nano/100%1e9
    	// split DX into seconds and nanoseconds by div 1e7 magic multiply.
    	MOVL	DX, AX
    	MOVL	$1801439851, CX
    	MULL	CX
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 17:19:45 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. src/runtime/vlop_386.s

    	ADDL	AX, BX
    	ADCL	$0, DX
    	MOVL	BX, 4(CX)
    	MOVL	DX, AX
    	MOVL	AX, hi32+16(FP)
    	RET
    
    TEXT runtime·_div64by32(SB), NOSPLIT, $0
    	MOVL	r+12(FP), CX
    	MOVL	a_lo+0(FP), AX
    	MOVL	a_hi+4(FP), DX
    	DIVL	b+8(FP)
    	MOVL	DX, 0(CX)
    	MOVL	AX, q+16(FP)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 04 07:25:06 UTC 2020
    - 2K bytes
    - Viewed (0)
  3. src/runtime/sys_plan9_386.s

    	MOVL	$-1, ret_hi+8(FP)
    	RET
    
    // func walltime() (sec int64, nsec int32)
    TEXT runtime·walltime(SB),NOSPLIT,$8-12
    	CALL	runtime·nanotime1(SB)
    	MOVL	0(SP), AX
    	MOVL	4(SP), DX
    
    	MOVL	$1000000000, CX
    	DIVL	CX
    	MOVL	AX, sec_lo+0(FP)
    	MOVL	$0, sec_hi+4(FP)
    	MOVL	DX, nsec+8(FP)
    	RET
    
    TEXT runtime·notify(SB),NOSPLIT,$0
    	MOVL	$28, AX
    	INT	$64
    	MOVL	AX, ret+4(FP)
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 21 22:12:04 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  4. src/runtime/sys_windows_386.s

    	CLD
    
    	// determine index into runtime·cbs table
    	SUBL	$runtime·callbackasm(SB), AX
    	MOVL	$0, DX
    	MOVL	$5, BX	// divide by 5 because each call instruction in runtime·callbacks is 5 bytes long
    	DIVL	BX
    	SUBL	$1, AX	// subtract 1 because return PC is to the next slot
    
    	// Create a struct callbackArgs on our stack.
    	SUBL	$(12+callbackArgs__size), SP
    	MOVL	AX, (12+callbackArgs_index)(SP)		// callback index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 21 15:56:43 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. src/runtime/sys_freebsd_386.s

    	MOVL	$SYS_sigaltstack, AX
    	INT	$0x80
    	JAE	2(PC)
    	MOVL	$0xf1, 0xf1  // crash
    	RET
    
    TEXT runtime·usleep(SB),NOSPLIT,$20
    	MOVL	$0, DX
    	MOVL	usec+0(FP), AX
    	MOVL	$1000000, CX
    	DIVL	CX
    	MOVL	AX, 12(SP)		// tv_sec
    	MOVL	$1000, AX
    	MULL	DX
    	MOVL	AX, 16(SP)		// tv_nsec
    
    	MOVL	$0, 0(SP)
    	LEAL	12(SP), AX
    	MOVL	AX, 4(SP)		// arg 1 - rqtp
    	MOVL	$0, 8(SP)		// arg 2 - rmtp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  6. src/runtime/sys_windows_amd64.s

    	// determine index into runtime·cbs table
    	MOVQ	$runtime·callbackasm(SB), DX
    	SUBQ	DX, AX
    	MOVQ	$0, DX
    	MOVQ	$5, CX	// divide by 5 because each call instruction in runtime·callbacks is 5 bytes long
    	DIVL	CX
    	SUBQ	$1, AX	// subtract 1 because return PC is to the next slot
    
    	// Switch from the host ABI to the Go ABI.
    	PUSH_REGS_HOST_TO_ABI0()
    
    	// Create a struct callbackArgs on our stack to be passed as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 19 07:24:08 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. src/runtime/sys_openbsd_mips64.s

    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBVU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, ret+24(FP)
    	RET
    
    TEXT runtime·usleep(SB),NOSPLIT,$24-4
    	MOVWU	usec+0(FP), R3
    	MOVV	R3, R5
    	MOVW	$1000000, R4
    	DIVVU	R4, R3
    	MOVV	LO, R3
    	MOVV	R3, 8(R29)		// tv_sec
    	MOVW	$1000, R4
    	MULVU	R3, R4
    	MOVV	LO, R4
    	SUBVU	R4, R5
    	MOVV	R5, 16(R29)		// tv_nsec
    
    	ADDV	$8, R29, R4		// arg 1 - rqtp
    	MOVV	$0, R5			// arg 2 - rmtp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  8. src/runtime/sys_netbsd_386.s

    	INT	$0x80
    	JAE	2(PC)
    	NEGL	AX			// caller expects negative errno
    	MOVL	AX, ret+12(FP)
    	RET
    
    TEXT runtime·usleep(SB),NOSPLIT,$24
    	MOVL	$0, DX
    	MOVL	usec+0(FP), AX
    	MOVL	$1000000, CX
    	DIVL	CX
    	MOVL	AX, 12(SP)		// tv_sec - l32
    	MOVL	$0, 16(SP)		// tv_sec - h32
    	MOVL	$1000, AX
    	MULL	DX
    	MOVL	AX, 20(SP)		// tv_nsec
    
    	MOVL	$0, 0(SP)
    	LEAL	12(SP), AX
    	MOVL	AX, 4(SP)		// arg 1 - rqtp
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  9. src/runtime/sys_dragonfly_amd64.s

    	MOVQ	old+8(FP), SI
    	MOVQ	$53, AX
    	SYSCALL
    	JCC	2(PC)
    	MOVL	$0xf1, 0xf1  // crash
    	RET
    
    TEXT runtime·usleep(SB),NOSPLIT,$16
    	MOVL	$0, DX
    	MOVL	usec+0(FP), AX
    	MOVL	$1000000, CX
    	DIVL	CX
    	MOVQ	AX, 0(SP)		// tv_sec
    	MOVL	$1000, AX
    	MULL	DX
    	MOVQ	AX, 8(SP)		// tv_nsec
    
    	MOVQ	SP, DI			// arg 1 - rqtp
    	MOVQ	$0, SI			// arg 2 - rmtp
    	MOVL	$240, AX		// sys_nanosleep
    	SYSCALL
    	RET
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 06 18:49:01 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. src/runtime/sys_linux_mipsx.s

    	SYSCALL
    	BEQ	R7, 2(PC)
    	SUBU	R2, R0, R2	// caller expects negative errno
    	MOVW	R2, errno+12(FP)
    	RET
    
    TEXT runtime·usleep(SB),NOSPLIT,$28-4
    	MOVW	usec+0(FP), R3
    	MOVW	R3, R5
    	MOVW	$1000000, R4
    	DIVU	R4, R3
    	MOVW	LO, R3
    	MOVW	R3, 24(R29)
    	MOVW	$1000, R4
    	MULU	R3, R4
    	MOVW	LO, R4
    	SUBU	R4, R5
    	MOVW	R5, 28(R29)
    
    	// nanosleep(&ts, 0)
    	ADDU	$24, R29, R4
    	MOVW	$0, R5
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 20:57:24 UTC 2022
    - 9.7K bytes
    - Viewed (0)
Back to top