summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/sparcv9/umul.S
blob: e65e4b95fd5c4fa10e21f62b4d59780099072830 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * Sparc v9 has multiply.
 */

	.text
	.align		32
ENTRY(.umul)

	srl		%o0, 0, %o0
	srl		%o1, 0, %o1
	mulx		%o0, %o1, %o0
	retl
	 srlx		%o0, 32, %o1

END(.umul)