]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/mips/mul.s
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / mul.s
CommitLineData
5fe67aa8
ILT
1# Source file used to test the mul macro.
2
3 mul $4,$5
4 mul $4,$5,$6
5 mul $4,$5,0
6 mul $4,$5,1
7 mul $4,$5,0x8000
8 mul $4,$5,-0x8000
9 mul $4,$5,0x10000
10 mul $4,$5,0x1a5a5
11
12# mulo and mulou are only supported for register arguments
13 mulo $4,$5
14 mulo $4,$5,$6
15
16 mulou $4,$5
17 mulou $4,$5,$6
18
19# Sanity check the 64 bit versions.
20 .set mips3
21 dmul $4,$5,$6
22 dmul $4,$5,1
23 dmulo $4,$5,$6
24 dmulou $4,$5,$6