projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
binutils/
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
rotr.cgs
1
# sh testcase for rotr $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 rotr
11
rotr:
12
mov #1, r1
13
rotr r1
14
bf wrong
15
rotr r1
16
rotr r1
17
rotr r1
18
rotr r1
19
rotr r1
20
rotr r1
21
rotr r1
22
rotr r1
23
rotr r1
24
rotr r1
25
rotr r1
26
rotr r1
27
rotr r1
28
rotr r1
29
rotr r1
30
rotr r1
31
rotr r1
32
rotr r1
33
rotr r1
34
rotr r1
35
rotr r1
36
rotr r1
37
rotr r1
38
rotr r1
39
rotr r1
40
rotr r1
41
rotr r1
42
rotr r1
43
rotr r1
44
rotr r1
45
rotr r1
46
assert r1, #1
47
rotr r1
48
rotr r1
49
rotr r1
50
51
okay:
52
pass
53
54
wrong:
55
fail