repo.or.cz
/
qemu
/
kevin.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
s390x/misc_helper.c: wrap IO instructions in BQL
[qemu/kevin.git]
/
tests
/
tcg
/
lm32
/
test_sh.S
blob
bba10224f6491ab4688adfe536e5ffc4774a45b9
1
.include "macros.inc"
2
3
start
4
5
test_name SH_1
6
load r1 data
7
load r2 0xf0f1aaaa
8
sh (r1+0), r2
9
check_mem data 0xaaaa0000
10
11
test_name SH_2
12
load r1 data
13
load r2 0xf0f1bbbb
14
sh (r1+2), r2
15
check_mem data 0xaaaabbbb
16
17
test_name SH_3
18
load r1 data
19
load r2 0xf0f1cccc
20
sh (r1+-2), r2
21
check_mem data0 0x0000cccc
22
23
end
24
25
.data
26
.align 4
27
data0:
28
.byte 0, 0, 0, 0
29
data:
30
.byte 0, 0, 0, 0
31
data1:
32
.byte 0, 0, 0, 0