shithub: riscv

ref: d0ae2e369e0221e796f4b58255b21ce3592d80dc
dir: /sys/src/libc/386/muldiv.s/

View raw version
TEXT	umuldiv(SB), $0
	MOVL	a+0(FP), AX
	MULL	b+4(FP)
	DIVL	c+8(FP)
	RET

TEXT	muldiv(SB), $0
	MOVL	a+0(FP), AX
	IMULL	b+4(FP)
	IDIVL	c+8(FP)
	RET
	END