shithub: riscv

ref: bafc196c4b07261923d4f197659a26d0919cdeae
dir: /sys/src/libc/amd64/muldiv.s/

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

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