repo.or.cz
/
qemu
/
ar7.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
axis-dev88: Connect the PIC upstream IRQs directly to the CPU
[qemu/ar7.git]
/
tests
/
tcg
/
lm32
/
test_sli.S
blob
a421de90143bcfd7c616e288d08a10cf82105d2b
1
.include "macros.inc"
2
3
start
4
5
test_name SLI_1
6
mvi r1, 1
7
sli r3, r1, 0
8
check_r3 1
9
10
test_name SLI_2
11
mvi r1, 0
12
sli r3, r1, 1
13
check_r3 0
14
15
test_name SLI_3
16
mvi r1, 1
17
sli r3, r1, 31
18
check_r3 0x80000000
19
20
test_name SLI_4
21
mvi r1, 16
22
sli r3, r1, 31
23
check_r3 0
24
25
test_name SLI_7
26
mvi r3, 2
27
sli r3, r3, 2
28
check_r3 8
29
30
end