repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update release-README after completing the 2.43 release.
[binutils-gdb.git]
/
sim
/
testsuite
/
mcore
/
lsri.s
blob
bb7bec620eec3429fd770bf2074f1a15d33a7a55
1
# check that lsri works correctly
2
# mach: mcore
3
4
.include
"testutils.inc"
5
6
start
7
# Construct -1
8
bmaski
r2
,
32
9
10
# logical shift right by 24
11
lsri
r2
,
24
12
13
# Construct 255
14
bmaski
r1
,
8
15
16
# Compare them, they should be equal
17
cmpne
r2
,
r1
18
jbt
.L1
19
pass
20
.L1:
21
fail
22
23
24
25