shithub: riscv

ref: eae58edb5a6f912d3fd06c96e01499ba46f730da
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