projects
/
external
/
binutils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git]
/
sim
/
testsuite
/
sim
/
fr30
/
inte.cgs
1
# fr30 testcase for inte
2
# mach(): fr30
3
4
.include "testutils.inc"
5
6
START
7
8
.text
9
.global inte
10
inte:
11
; Test inte which is essentially int #9
12
mvr_h_gr tbr,r7
13
inci_h_gr 0x3d8,r7
14
mvi_h_mem pass,r7
15
mvi_h_gr doint,r9
16
inci_h_gr 2,r9
17
mvr_h_gr ssp,r10
18
set_cc 0x0f ; Condition codes should not change
19
set_s_user ; Set opposite of expected
20
set_i 1 ; Should not change
21
mvr_h_gr ps,r8
22
doint: inte
23
fail
24
25
pass:
26
test_cc 1 1 1 1
27
test_ilm 4
28
test_s_system
29
test_i 1
30
inci_h_gr -4,r10
31
testr_h_mem r8,r10
32
inci_h_gr -4,r10
33
testr_h_mem r9,r10
34
testr_h_dr r10,ssp
35
36
pass