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

#include <sysdep.h>

ENTRY(.udiv)

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

END(.udiv)