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
Automatic date update in version.in
[binutils-gdb.git]
/
sim
/
testsuite
/
cr16
/
shi.cgs
blob
5188a5195a74a0bffec0165c0acd02f85439b8ce
1
# cr16 testcase for shi reg
2
# mach(): cr16
3
4
.include "testutils.inc"
5
6
start
7
8
.global shi
9
shi:
10
mvi_h_condbit 0
11
movw $2, r4
12
movw $1, r5
13
cmpw r4, r5
14
shi r3
15
16
cmpw $1,r3
17
beq ok
18
not_ok:
19
fail
20
ok:
21
pass