Initial revision
[binutils.git] / gas / testsuite / gas / mips / mul.s
blobb29e369f7b936a98f4217eac06c3ab1c5e858504
1 # Source file used to test the mul macro.
3 foo:
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
13 # mulo and mulou are only supported for register arguments
14 mulo $4,$5
15 mulo $4,$5,$6
17 mulou $4,$5
18 mulou $4,$5,$6
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
27 .space 8