OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [frv/] [clddf.cgs] - Blame information for rev 373

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 330 jeremybenn
# frv testcase for clddf @($GRi,$GRj),$FRk,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global clddf
9
clddf:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_mem_limmed  0xdead,0xbeef,sp
13
        inc_gr_immed    -4,sp
14
        set_mem_limmed  0xbeef,0xdead,sp
15
        set_fr_iimmed   0xdead,0xbeef,fr8
16
        set_fr_iimmed   0xbeef,0xdead,fr9
17
 
18
        set_gr_immed    0,gr7
19
        clddf           @(sp,gr7),fr8,cc0,1
20
        test_fr_limmed  0xbeef,0xdead,fr8
21
        test_fr_limmed  0xdead,0xbeef,fr9
22
 
23
        set_fr_iimmed   0xdead,0xbeef,fr8
24
        set_fr_iimmed   0xbeef,0xdead,fr9
25
        inc_gr_immed    -8,sp
26
        set_gr_immed    8,gr7
27
        clddf           @(sp,gr7),fr8,cc0,1
28
        test_fr_limmed  0xbeef,0xdead,fr8
29
        test_fr_limmed  0xdead,0xbeef,fr9
30
 
31
        set_fr_iimmed   0xdead,0xbeef,fr8
32
        set_fr_iimmed   0xbeef,0xdead,fr9
33
        inc_gr_immed    16,sp
34
        set_gr_immed    -8,gr7
35
        clddf           @(sp,gr7),fr8,cc4,1
36
        test_fr_limmed  0xbeef,0xdead,fr8
37
        test_fr_limmed  0xdead,0xbeef,fr9
38
 
39
        set_mem_limmed  0xdead,0xbeef,sp
40
        inc_gr_immed    -4,sp
41
        set_mem_limmed  0xbeef,0xdead,sp
42
        set_fr_iimmed   0xdead,0xbeef,fr8
43
        set_fr_iimmed   0xbeef,0xdead,fr9
44
 
45
        set_gr_immed    0,gr7
46
        clddf           @(sp,gr7),fr8,cc0,0
47
        test_fr_limmed  0xdead,0xbeef,fr8
48
        test_fr_limmed  0xbeef,0xdead,fr9
49
 
50
        set_fr_iimmed   0xdead,0xbeef,fr8
51
        set_fr_iimmed   0xbeef,0xdead,fr9
52
        inc_gr_immed    -8,sp
53
        set_gr_immed    8,gr7
54
        clddf           @(sp,gr7),fr8,cc0,0
55
        test_fr_limmed  0xdead,0xbeef,fr8
56
        test_fr_limmed  0xbeef,0xdead,fr9
57
 
58
        set_fr_iimmed   0xdead,0xbeef,fr8
59
        set_fr_iimmed   0xbeef,0xdead,fr9
60
        inc_gr_immed    16,sp
61
        set_gr_immed    -8,gr7
62
        clddf           @(sp,gr7),fr8,cc4,0
63
        test_fr_limmed  0xdead,0xbeef,fr8
64
        test_fr_limmed  0xbeef,0xdead,fr9
65
 
66
        set_mem_limmed  0xdead,0xbeef,sp
67
        inc_gr_immed    -4,sp
68
        set_mem_limmed  0xbeef,0xdead,sp
69
        set_fr_iimmed   0xdead,0xbeef,fr8
70
        set_fr_iimmed   0xbeef,0xdead,fr9
71
 
72
        set_gr_immed    0,gr7
73
        clddf           @(sp,gr7),fr8,cc1,0
74
        test_fr_limmed  0xbeef,0xdead,fr8
75
        test_fr_limmed  0xdead,0xbeef,fr9
76
 
77
        set_fr_iimmed   0xdead,0xbeef,fr8
78
        set_fr_iimmed   0xbeef,0xdead,fr9
79
        inc_gr_immed    -8,sp
80
        set_gr_immed    8,gr7
81
        clddf           @(sp,gr7),fr8,cc1,0
82
        test_fr_limmed  0xbeef,0xdead,fr8
83
        test_fr_limmed  0xdead,0xbeef,fr9
84
 
85
        set_fr_iimmed   0xdead,0xbeef,fr8
86
        set_fr_iimmed   0xbeef,0xdead,fr9
87
        inc_gr_immed    16,sp
88
        set_gr_immed    -8,gr7
89
        clddf           @(sp,gr7),fr8,cc5,0
90
        test_fr_limmed  0xbeef,0xdead,fr8
91
        test_fr_limmed  0xdead,0xbeef,fr9
92
 
93
        set_mem_limmed  0xdead,0xbeef,sp
94
        inc_gr_immed    -4,sp
95
        set_mem_limmed  0xbeef,0xdead,sp
96
        set_fr_iimmed   0xdead,0xbeef,fr8
97
        set_fr_iimmed   0xbeef,0xdead,fr9
98
 
99
        set_gr_immed    0,gr7
100
        clddf           @(sp,gr7),fr8,cc1,1
101
        test_fr_limmed  0xdead,0xbeef,fr8
102
        test_fr_limmed  0xbeef,0xdead,fr9
103
 
104
        set_fr_iimmed   0xdead,0xbeef,fr8
105
        set_fr_iimmed   0xbeef,0xdead,fr9
106
        inc_gr_immed    -8,sp
107
        set_gr_immed    8,gr7
108
        clddf           @(sp,gr7),fr8,cc1,1
109
        test_fr_limmed  0xdead,0xbeef,fr8
110
        test_fr_limmed  0xbeef,0xdead,fr9
111
 
112
        set_fr_iimmed   0xdead,0xbeef,fr8
113
        set_fr_iimmed   0xbeef,0xdead,fr9
114
        inc_gr_immed    16,sp
115
        set_gr_immed    -8,gr7
116
        clddf           @(sp,gr7),fr8,cc5,1
117
        test_fr_limmed  0xdead,0xbeef,fr8
118
        test_fr_limmed  0xbeef,0xdead,fr9
119
 
120
        set_mem_limmed  0xdead,0xbeef,sp
121
        inc_gr_immed    -4,sp
122
        set_mem_limmed  0xbeef,0xdead,sp
123
        set_fr_iimmed   0xdead,0xbeef,fr8
124
        set_fr_iimmed   0xbeef,0xdead,fr9
125
 
126
        set_gr_immed    0,gr7
127
        clddf           @(sp,gr7),fr8,cc2,0
128
        test_fr_limmed  0xdead,0xbeef,fr8
129
        test_fr_limmed  0xbeef,0xdead,fr9
130
 
131
        set_fr_iimmed   0xdead,0xbeef,fr8
132
        set_fr_iimmed   0xbeef,0xdead,fr9
133
        inc_gr_immed    -8,sp
134
        set_gr_immed    8,gr7
135
        clddf           @(sp,gr7),fr8,cc2,1
136
        test_fr_limmed  0xdead,0xbeef,fr8
137
        test_fr_limmed  0xbeef,0xdead,fr9
138
 
139
        set_fr_iimmed   0xdead,0xbeef,fr8
140
        set_fr_iimmed   0xbeef,0xdead,fr9
141
        inc_gr_immed    16,sp
142
        set_gr_immed    -8,gr7
143
        clddf           @(sp,gr7),fr8,cc6,0
144
        test_fr_limmed  0xdead,0xbeef,fr8
145
        test_fr_limmed  0xbeef,0xdead,fr9
146
 
147
        set_mem_limmed  0xdead,0xbeef,sp
148
        inc_gr_immed    -4,sp
149
        set_mem_limmed  0xbeef,0xdead,sp
150
        set_fr_iimmed   0xdead,0xbeef,fr8
151
        set_fr_iimmed   0xbeef,0xdead,fr9
152
 
153
        set_gr_immed    0,gr7
154
        clddf           @(sp,gr7),fr8,cc3,1
155
        test_fr_limmed  0xdead,0xbeef,fr8
156
        test_fr_limmed  0xbeef,0xdead,fr9
157
 
158
        set_fr_iimmed   0xdead,0xbeef,fr8
159
        set_fr_iimmed   0xbeef,0xdead,fr9
160
        inc_gr_immed    -8,sp
161
        set_gr_immed    8,gr7
162
        clddf           @(sp,gr7),fr8,cc3,0
163
        test_fr_limmed  0xdead,0xbeef,fr8
164
        test_fr_limmed  0xbeef,0xdead,fr9
165
 
166
        set_fr_iimmed   0xdead,0xbeef,fr8
167
        set_fr_iimmed   0xbeef,0xdead,fr9
168
        inc_gr_immed    16,sp
169
        set_gr_immed    -8,gr7
170
        clddf           @(sp,gr7),fr8,cc7,1
171
        test_fr_limmed  0xdead,0xbeef,fr8
172
        test_fr_limmed  0xbeef,0xdead,fr9
173
 
174
        pass

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.