about summary refs log tree commit diff
path: root/sysdeps/sparc/sparc32/udiv.S
blob: e9cab4e4ef6206ea0caaf5b9d25ed632ca8ad099 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Sparc v8 has divide.
 */

#include <sysdep.h>

ENTRY(.udiv)

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

END(.udiv)
strong_alias (.udiv, __wrap_.udiv)