shithub: riscv

ref: 70a9df6c59a5e9d6e54a9858235b16b753b860bd
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