projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* Contribute Hitachi SH5 simulator.
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
media
/
shlli.cgs
1
# sh testcase for shlli $rm, $imm6, $rd -*- Asm -*-
2
# mach: all
3
# as: -isa=shmedia
4
# ld: -m shelf64
5
6
.include "media/testutils.inc"
7
8
start
9
10
init:
11
pta wrong, tr0
12
13
shlli:
14
movi 1, r0
15
shlli r0, 3, r0
16
bnei r0, 8, tr0
17
18
shlli2:
19
shlli r0, 3, r0
20
21
shlli3:
22
# Shift all bits out of sight.
23
shlli r0, 63, r0
24
bnei r0, 0, tr0
25
26
okay:
27
pass
28
29
wrong:
30
fail