]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/mips64r5900-elf/t-divu1.s
* config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
[thirdparty/binutils-gdb.git] / sim / testsuite / mips64r5900-elf / t-divu1.s
1 .include "t-macros.i"
2
3 start
4
5 test_div:
6 load $7 0xdeadbeefdeadbeef 0xdeadbeef80000000
7 load $8 0xdeadbeefdeadbeef 0xdeadbeefffffffff
8 divu1 $7,$8
9 checkHI 0xffffffff80000000 0x0000000000000000
10 checkLO 0x0000000000000000 0x0000000000000000
11
12 test_div_0:
13 load $7 0xdeadbeefdeadbeef 0xdeadbeef80000000
14 load $8 0xdeadbeefdeadbeef 0xdeadbeef00000000
15 divu1 $7,$8
16 # don't crash!
17 checkHI 0x0000000000000000 0x0000000000000000
18 checkLO 0xffffffff80000000 0x0000000000000000
19
20 exit0