OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [frv/] [cld.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# frv testcase for cld @($GRi,$GRj),$GRk,$CCi,$cond
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global cld
9
cld:
10
        set_spr_immed   0x1b1b,cccr
11
 
12
        set_mem_limmed  0xdead,0xbeef,sp
13
        set_gr_limmed   0xbeef,0xdead,gr8
14
 
15
        set_gr_immed    0,gr7
16
        cld             @(sp,gr7),gr8,cc0,1
17
        test_gr_limmed  0xdead,0xbeef,gr8
18
 
19
        set_gr_limmed   0xbeef,0xdead,gr8
20
        inc_gr_immed    -4,sp
21
        set_gr_immed    4,gr7
22
        cld             @(sp,gr7),gr8,cc0,1
23
        test_gr_limmed  0xdead,0xbeef,gr8
24
 
25
        set_gr_limmed   0xbeef,0xdead,gr8
26
        inc_gr_immed    8,sp
27
        set_gr_immed    -4,gr7
28
        cld             @(sp,gr7),gr8,cc4,1
29
        test_gr_limmed  0xdead,0xbeef,gr8
30
 
31
        set_mem_limmed  0xdead,0xbeef,sp
32
        set_gr_limmed   0xbeef,0xdead,gr8
33
 
34
        set_gr_immed    0,gr7
35
        cld             @(sp,gr7),gr8,cc0,0
36
        test_gr_limmed  0xbeef,0xdead,gr8
37
 
38
        set_gr_limmed   0xbeef,0xdead,gr8
39
        inc_gr_immed    -4,sp
40
        set_gr_immed    4,gr7
41
        cld             @(sp,gr7),gr8,cc0,0
42
        test_gr_limmed  0xbeef,0xdead,gr8
43
 
44
        set_gr_limmed   0xbeef,0xdead,gr8
45
        inc_gr_immed    8,sp
46
        set_gr_immed    -4,gr7
47
        cld             @(sp,gr7),gr8,cc4,0
48
        test_gr_limmed  0xbeef,0xdead,gr8
49
 
50
        set_mem_limmed  0xdead,0xbeef,sp
51
        set_gr_limmed   0xbeef,0xdead,gr8
52
 
53
        set_gr_immed    0,gr7
54
        cld             @(sp,gr7),gr8,cc1,0
55
        test_gr_limmed  0xdead,0xbeef,gr8
56
 
57
        set_gr_limmed   0xbeef,0xdead,gr8
58
        inc_gr_immed    -4,sp
59
        set_gr_immed    4,gr7
60
        cld             @(sp,gr7),gr8,cc1,0
61
        test_gr_limmed  0xdead,0xbeef,gr8
62
 
63
        set_gr_limmed   0xbeef,0xdead,gr8
64
        inc_gr_immed    8,sp
65
        set_gr_immed    -4,gr7
66
        cld             @(sp,gr7),gr8,cc5,0
67
        test_gr_limmed  0xdead,0xbeef,gr8
68
 
69
        set_mem_limmed  0xdead,0xbeef,sp
70
        set_gr_limmed   0xbeef,0xdead,gr8
71
 
72
        set_gr_immed    0,gr7
73
        cld             @(sp,gr7),gr8,cc1,1
74
        test_gr_limmed  0xbeef,0xdead,gr8
75
 
76
        set_gr_limmed   0xbeef,0xdead,gr8
77
        inc_gr_immed    -4,sp
78
        set_gr_immed    4,gr7
79
        cld             @(sp,gr7),gr8,cc1,1
80
        test_gr_limmed  0xbeef,0xdead,gr8
81
 
82
        set_gr_limmed   0xbeef,0xdead,gr8
83
        inc_gr_immed    8,sp
84
        set_gr_immed    -4,gr7
85
        cld             @(sp,gr7),gr8,cc5,1
86
        test_gr_limmed  0xbeef,0xdead,gr8
87
 
88
        set_mem_limmed  0xdead,0xbeef,sp
89
        set_gr_limmed   0xbeef,0xdead,gr8
90
 
91
        set_gr_immed    0,gr7
92
        cld             @(sp,gr7),gr8,cc2,0
93
        test_gr_limmed  0xbeef,0xdead,gr8
94
 
95
        set_gr_limmed   0xbeef,0xdead,gr8
96
        inc_gr_immed    -4,sp
97
        set_gr_immed    4,gr7
98
        cld             @(sp,gr7),gr8,cc2,0
99
        test_gr_limmed  0xbeef,0xdead,gr8
100
 
101
        set_gr_limmed   0xbeef,0xdead,gr8
102
        inc_gr_immed    8,sp
103
        set_gr_immed    -4,gr7
104
        cld             @(sp,gr7),gr8,cc6,1
105
        test_gr_limmed  0xbeef,0xdead,gr8
106
 
107
        set_mem_limmed  0xdead,0xbeef,sp
108
        set_gr_limmed   0xbeef,0xdead,gr8
109
 
110
        set_gr_immed    0,gr7
111
        cld             @(sp,gr7),gr8,cc3,0
112
        test_gr_limmed  0xbeef,0xdead,gr8
113
 
114
        set_gr_limmed   0xbeef,0xdead,gr8
115
        inc_gr_immed    -4,sp
116
        set_gr_immed    4,gr7
117
        cld             @(sp,gr7),gr8,cc3,0
118
        test_gr_limmed  0xbeef,0xdead,gr8
119
 
120
        set_gr_limmed   0xbeef,0xdead,gr8
121
        inc_gr_immed    8,sp
122
        set_gr_immed    -4,gr7
123
        cld             @(sp,gr7),gr8,cc7,1
124
        test_gr_limmed  0xbeef,0xdead,gr8
125
 
126
        pass

powered by: WebSVN 2.1.0

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