repo.or.cz
/
qemu
/
agraf.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
PPC: Fix rldcl
[qemu/agraf.git]
/
tests
/
tcg
/
lm32
/
test_divu.S
blob
f381d095c53df972e457112c309554d32ddac2d7
1
.include "macros.inc"
2
3
start
4
5
test_name DIVU_1
6
mvi r1, 0
7
mvi r2, 1
8
divu r3, r1, r2
9
check_r3 0
10
11
test_name DIVU_2
12
mvi r1, 1
13
mvi r2, 1
14
divu r3, r1, r2
15
check_r3 1
16
17
test_name DIVU_3
18
mvi r1, 0
19
mvi r2, 0
20
divu r3, r1, r2
21
check_excp 16
22
23
test_name DIVU_4
24
load r1 0xabcdef12
25
load r2 0x12345
26
divu r3, r1, r2
27
check_r3 0x9700
28
29
end