]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/mips/add.s
Add support for MIPS R6.
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / mips / add.s
CommitLineData
252b5132
RH
1# Source file used to test the add macro.
2
3foo:
7361da2c 4 .ifndef r6
252b5132
RH
5 add $4,$4,0
6 add $4,$4,1
7 add $4,$4,0x8000
8 add $4,$4,-0x8000
9 add $4,$4,0x10000
10 add $4,$4,0x1a5a5
7361da2c
AB
11 .endif
12
252b5132
RH
13# addu is handled the same way add is; just confirm that it isn't
14# totally broken.
15 addu $4,$4,1
16
7361da2c
AB
17 .align 2
18 .space 8