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
x86: acpi: let the firmware handle pending "CPU remove" events in SMM
[qemu/ar7.git]
/
tests
/
tcg
/
lm32
/
test_sl.S
blob
0aee17fdb86d4b0369029ebd282ad381c6775849
1
.include "macros.inc"
2
3
start
4
5
test_name SL_1
6
mvi r1, 1
7
mvi r2, 0
8
sl r3, r1, r2
9
check_r3 1
10
11
test_name SL_2
12
mvi r1, 0
13
mvi r2, 1
14
sl r3, r1, r2
15
check_r3 0
16
17
test_name SL_3
18
mvi r1, 1
19
mvi r2, 31
20
sl r3, r1, r2
21
check_r3 0x80000000
22
23
test_name SL_4
24
mvi r1, 16
25
mvi r2, 31
26
sl r3, r1, r2
27
check_r3 0
28
29
test_name SL_5
30
mvi r1, 1
31
mvi r2, 34
32
sl r3, r1, r2
33
check_r3 4
34
35
test_name SL_6
36
mvi r1, 2
37
sl r3, r1, r1
38
check_r3 8
39
40
test_name SL_7
41
mvi r3, 2
42
sl r3, r3, r3
43
check_r3 8
44
45
end