1# Source file used to test the mul macro.
2
3foo:
4	mul	$4,$5
5	mul	$4,$5,$6
6	mul	$4,$5,0
7	mul	$4,$5,1
8	mul	$4,$5,0x8000
9	mul	$4,$5,-0x8000
10	mul	$4,$5,0x10000
11	mul	$4,$5,0x1a5a5
12
13# mulo and mulou are only supported for register arguments
14	mulo	$4,$5
15	mulo	$4,$5,$6
16
17	mulou	$4,$5
18	mulou	$4,$5,$6
19
20# Sanity check the 64 bit versions.
21	.set	mips3
22	dmul	$4,$5,$6
23	dmul	$4,$5,1
24	dmulo	$4,$5,$6
25	dmulou	$4,$5,$6
26
27        .space	8
28