shithub: riscv

ref: 8bf1e5b77521d94876a58989a434ef1a08d6d509
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