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

#include <sysdep.h>

ENTRY(.udiv)

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

END(.udiv)