projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
tizen 2.4 release
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
sh64
/
compact
/
sts-pr.cgs
1
# sh testcase for sts pr, $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 sts_pr
11
sts_pr:
12
mov #42, r0
13
lds r0, pr
14
sts pr, r1
15
cmp/eq r0, r1
16
bf wrong
17
18
okay:
19
pass
20
wrong:
21
fail
22