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