shithub: riscv

ref: 855cf4326f5a07d7142c2d8918f5fa856d912b85
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