summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/sparcv8/udiv.S
blob: d5d93bb8f7475069c388b28ddbbc19f341d6f1b7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
 * Sparc v8 has divide.
 */

ENTRY(.udiv)

	wr	%g0, 0, %y
	nop
	nop
	retl
	 udiv	%o0, %o1, %o0

END(.udiv)