aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/mips64r5900-elf/t-sub.s
blob: ef314ae8062fe91cec1277f3c7eec99927d554d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
.include "t-macros.i"

	start

test_sub:

	load $7 0x0000000000000000 0xffffffff80000001
	load $8 0x0000000000000000 0xffffffffffffffff
        sub $10, $7, $8
	check10 0x0000000000000000 0xffffffff80000002

test_sub2:
	load $7 0x0000000000000000 0xffffffff80000001
	load $8 0x0000000000000000 0x0000000000000001
        sub $10, $7, $8
	check10 0x0000000000000000 0xffffffff80000000


test_sub3:
	load $7 0x0000000000000000 0x0000000000000001
	load $8 0x0000000000000000 0x0000000000000002
        sub $10, $7, $8
	check10 0x0000000000000000 0xffffffffffffffff

	
		exit0