OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains3x.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
r284@cf-ppc-macosx: monabuilder | 2008-12-07 10:57:41 +0900
[pf3gnuchains/pf3gnuchains3x.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
shll2.cgs
1
# sh testcase for shll2 $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
6
.include "compact/testutils.inc"
7
8
start
9
10
.global shll2
11
shll2:
12
mov #1, r1
13
shll2 r1
14
shll2 r1
15
shll2 r1
16
shll2 r1
17
shll2 r1
18
shll2 r1
19
shll2 r1
20
shll2 r1
21
shll2 r1
22
shll2 r1
23
shll2 r1
24
shll2 r1
25
shll2 r1
26
shll2 r1
27
shll2 r1
28
shll2 r1
29
assert r1, #0
30
31
another:
32
mov #1, r1
33
shll2 r1
34
assert r1, #4
35
36
okay:
37
pass
38
39
wrong:
40
fail