1/*
2 * Sparc v9 has divide.
3 * As divx takes 68 cycles and udiv only 37,
4 * we use udiv eventhough it is deprecated.
5 */
6
7#include <sysdep.h>
8
9	.text
10	.align		32
11ENTRY(.udiv)
12
13	wr		%g0, 0, %y
14	retl
15	 udiv		%o0, %o1, %o0
16
17END(.udiv)
18strong_alias (.udiv, __wrap_.udiv)
19