~ubuntu-branches/ubuntu/breezy/spim/breezy

« back to all changes in this revision

Viewing changes to Tests/tt.be.OK

  • Committer: Bazaar Package Importer
  • Author(s): Fernando Sanchez
  • Date: 2003-01-24 21:23:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20030124212348-6qv2jw2h0pn9o4o1
Tags: 6.5-1
* New upstream release (Closes: Bug#178264)
* Added libxaw7-dev instead of libxaw-dev to build-depends. It already
  depended on xutils so there is no need to add it (Closes: Bug#102515)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
SPIM Version 6.3 of December 20, 2000
2
 
Copyright 1990-2000 by James R. Larus (larus@cs.wisc.edu).
 
1
SPIM Version 6.5 of January 4, 2003
 
2
Copyright 1990-2003 by James R. Larus (larus@cs.wisc.edu).
3
3
All Rights Reserved.
4
4
See the file README for a full copyright notice.
5
5
Loaded: ./trap.handler
 
6
Target of jump differs in high-order 4 bits from instruction pc 0x80000164
 
7
Target of jump differs in high-order 4 bits from instruction pc 0x400530
6
8
The next few lines should contain exception error messages
7
 
Exception occurred at PC=0x0040003c
 
9
Exception occurred at PC=0x00400040
8
10
  Unaligned address in inst/data fetch: 0x00400001
9
11
  Exception 4  [Unaligned address in inst/data fetch]  occurred and ignored
10
 
Exception occurred at PC=0x00400040
 
12
Exception occurred at PC=0x00400044
11
13
  Unaligned address in store: 0x00400001
12
14
  Exception 5  [Unaligned address in store]  occurred and ignored
13
 
Exception occurred at PC=0x0040004c
 
15
Exception occurred at PC=0x00400050
14
16
  Bad address in data/stack read: 0x00d89680
15
17
  Exception 7  [Bad address in data/stack read]  occurred and ignored
16
 
Exception occurred at PC=0x00400050
 
18
Exception occurred at PC=0x00400054
17
19
  Exception 9  [Breakpoint]  occurred and ignored
18
 
Exception occurred at PC=0x0040005c
 
20
Exception occurred at PC=0x00400060
19
21
  Arithmetic overflow
20
22
  Exception 12  [Arithmetic overflow]  occurred and ignored
21
23
Done with exceptions
36
38
Testing BNE
37
39
Testing BREAK
38
40
Expect a exception message:
39
 
  Exception occurred at PC=0x004003a0
 
41
  Exception occurred at PC=0x004003a4
40
42
  Exception 9  [Breakpoint]  occurred and ignored
41
43
Testing move to/from coprocessor control z
42
44
Testing DIV
43
45
Expect exception caused by divide by 0:
44
 
  Exception occurred at PC=0x0040046c
 
46
  Exception occurred at PC=0x00400470
45
47
  Exception 9  [Breakpoint]  occurred and ignored
46
48
Testing DIVU
47
49
Expect exception caused by divide by 0:
48
 
  Exception occurred at PC=0x00400504
 
50
  Exception occurred at PC=0x00400508
49
51
  Exception 9  [Breakpoint]  occurred and ignored
50
52
Testing J
51
53
Testing JAL
52
54
Testing JALR
53
55
Expect an non-word boundary exception:
54
 
  Exception occurred at PC=0x0040059c
55
 
  Bad address in text read: 0x0040059e
 
56
  Exception occurred at PC=0x004005a8
 
57
  Bad address in text read: 0x004005aa
56
58
  Exception 6  [Bad address in text read]  occurred and ignored
57
59
Testing JR
58
60
Expect an non-word boundary exception:
59
 
  Exception occurred at PC=0x004005dc
60
 
  Bad address in text read: 0x004005de
 
61
  Exception occurred at PC=0x004005e8
 
62
  Bad address in text read: 0x004005ea
61
63
  Exception 6  [Bad address in text read]  occurred and ignored
62
64
Testing LA
63
65
Testing LB
64
66
Expect an address error exceptions:
65
 
        Exception occurred at PC=0x004006dc
 
67
        Exception occurred at PC=0x004006e8
66
68
  Bad address in data/stack read: 0x800003e7
67
69
  Exception 7  [Bad address in data/stack read]  occurred and ignored
68
70
Testing LBU
69
71
Expect an address error exceptions:
70
 
        Exception occurred at PC=0x004007a4
 
72
        Exception occurred at PC=0x004007b0
71
73
  Bad address in data/stack read: 0x800003e7
72
74
  Exception 7  [Bad address in data/stack read]  occurred and ignored
73
75
Testing LD
74
76
Expect four address error exceptions:
75
 
Exception occurred at PC=0x00400808
 
77
Exception occurred at PC=0x00400814
76
78
  Unaligned address in inst/data fetch: 0x800003e7
77
79
  Exception 4  [Unaligned address in inst/data fetch]  occurred and ignored
78
 
Exception occurred at PC=0x0040080c
 
80
Exception occurred at PC=0x00400818
79
81
  Unaligned address in inst/data fetch: 0x800003eb
80
82
  Exception 4  [Unaligned address in inst/data fetch]  occurred and ignored
81
 
Exception occurred at PC=0x00400810
 
83
Exception occurred at PC=0x0040081c
82
84
  Bad address in data/stack read: 0x800003e8
83
85
  Exception 7  [Bad address in data/stack read]  occurred and ignored
84
 
Exception occurred at PC=0x00400814
 
86
Exception occurred at PC=0x00400820
85
87
  Bad address in data/stack read: 0x800003ec
86
88
  Exception 7  [Bad address in data/stack read]  occurred and ignored
87
89
Testing LH
88
90
Expect two address error exceptions:
89
 
Exception occurred at PC=0x0040087c
 
91
Exception occurred at PC=0x00400888
90
92
  Unaligned address in inst/data fetch: 0x800003e7
91
93
  Exception 4  [Unaligned address in inst/data fetch]  occurred and ignored
92
 
Exception occurred at PC=0x00400880
 
94
Exception occurred at PC=0x0040088c
93
95
  Bad address in data/stack read: 0x800003e8
94
96
  Exception 7  [Bad address in data/stack read]  occurred and ignored
95
97
Testing LHU
96
98
Expect two address error exceptions:
97
 
Exception occurred at PC=0x004008e0
 
99
Exception occurred at PC=0x004008ec
98
100
  Unaligned address in inst/data fetch: 0x800003e7
99
101
  Exception 4  [Unaligned address in inst/data fetch]  occurred and ignored
100
 
Exception occurred at PC=0x004008e4
 
102
Exception occurred at PC=0x004008f0
101
103
  Bad address in data/stack read: 0x800003e8
102
104
  Exception 7  [Bad address in data/stack read]  occurred and ignored
103
105
Testing LUI
104
106
Testing LW
105
107
Expect two address error exceptions:
106
 
Exception occurred at PC=0x004009c8
 
108
Exception occurred at PC=0x004009d0
107
109
  Unaligned address in inst/data fetch: 0x800003e7
108
110
  Exception 4  [Unaligned address in inst/data fetch]  occurred and ignored
109
 
Exception occurred at PC=0x004009cc
 
111
Exception occurred at PC=0x004009d4
110
112
  Bad address in data/stack read: 0x800003e8
111
113
  Exception 7  [Bad address in data/stack read]  occurred and ignored
112
114
Testing LWL
113
115
Expect two address error exceptions:
114
 
Exception occurred at PC=0x00400a84
 
116
Exception occurred at PC=0x00400a8c
115
117
  Bad address in data/stack read: 0x800003e4
116
118
  Exception 7  [Bad address in data/stack read]  occurred and ignored
117
 
Exception occurred at PC=0x00400a88
 
119
Exception occurred at PC=0x00400a90
118
120
  Bad address in data/stack read: 0x800003e8
119
121
  Exception 7  [Bad address in data/stack read]  occurred and ignored
120
122
Testing LWR
121
123
Expect two address error exceptions:
122
 
Exception occurred at PC=0x00400b3c
 
124
Exception occurred at PC=0x00400b44
123
125
  Bad address in data/stack read: 0x800003e4
124
126
  Exception 7  [Bad address in data/stack read]  occurred and ignored
125
 
Exception occurred at PC=0x00400b40
 
127
Exception occurred at PC=0x00400b48
126
128
  Bad address in data/stack read: 0x800003e8
127
129
  Exception 7  [Bad address in data/stack read]  occurred and ignored
128
130
Testing move to/from coprocessor z
131
133
Testing MULTU
132
134
Testing MULO
133
135
Expect an exception:
134
 
         Exception occurred at PC=0x00400f5c
 
136
         Exception occurred at PC=0x00400f64
135
137
  Exception 9  [Breakpoint]  occurred and ignored
136
138
Testing NOR
137
139
Testing OR
138
140
Testing ORI
139
141
Testing SB
140
142
Expect an address error exceptions:
141
 
        Exception occurred at PC=0x004010b0
 
143
        Exception occurred at PC=0x004010b8
142
144
  Bad address in data/stack read: 0x800003e7
143
145
  Exception 7  [Bad address in data/stack read]  occurred and ignored
144
146
Testing SD
145
147
Expect two address error exceptions:
146
 
Exception occurred at PC=0x0040110c
147
 
  Unaligned address in store: 0x800003e7
148
 
  Exception 5  [Unaligned address in store]  occurred and ignored
149
 
Exception occurred at PC=0x00401110
150
 
  Unaligned address in store: 0x800003eb
151
 
  Exception 5  [Unaligned address in store]  occurred and ignored
152
148
Exception occurred at PC=0x00401114
153
 
  Bad address in data/stack read: 0x800003e8
154
 
  Exception 7  [Bad address in data/stack read]  occurred and ignored
 
149
  Unaligned address in store: 0x800003e7
 
150
  Exception 5  [Unaligned address in store]  occurred and ignored
155
151
Exception occurred at PC=0x00401118
 
152
  Unaligned address in store: 0x800003eb
 
153
  Exception 5  [Unaligned address in store]  occurred and ignored
 
154
Exception occurred at PC=0x0040111c
 
155
  Bad address in data/stack read: 0x800003e8
 
156
  Exception 7  [Bad address in data/stack read]  occurred and ignored
 
157
Exception occurred at PC=0x00401120
156
158
  Bad address in data/stack read: 0x800003ec
157
159
  Exception 7  [Bad address in data/stack read]  occurred and ignored
158
160
Testing SH
159
161
Expect two address error exceptions:
160
 
Exception occurred at PC=0x00401178
 
162
Exception occurred at PC=0x00401180
161
163
  Unaligned address in store: 0x800003e7
162
164
  Exception 5  [Unaligned address in store]  occurred and ignored
163
 
Exception occurred at PC=0x0040117c
 
165
Exception occurred at PC=0x00401184
164
166
  Bad address in data/stack read: 0x800003e8
165
167
  Exception 7  [Bad address in data/stack read]  occurred and ignored
166
168
Testing SLL
175
177
Testing SRLV
176
178
Testing SUB
177
179
Expect an overflow exceptions:
178
 
  Exception occurred at PC=0x00401568
 
180
  Exception occurred at PC=0x00401570
179
181
  Arithmetic overflow
180
182
  Exception 12  [Arithmetic overflow]  occurred and ignored
181
183
Testing SUBU
182
184
Testing SW
183
185
Expect two address error exceptions:
184
 
Exception occurred at PC=0x00401620
 
186
Exception occurred at PC=0x00401628
185
187
  Unaligned address in store: 0x800003e7
186
188
  Exception 5  [Unaligned address in store]  occurred and ignored
187
 
Exception occurred at PC=0x00401624
 
189
Exception occurred at PC=0x0040162c
188
190
  Bad address in data/stack read: 0x800003e8
189
191
  Exception 7  [Bad address in data/stack read]  occurred and ignored
190
192
Testing load/store word coprocessor z
288
290
Testing USW
289
291
Testing .WORD
290
292
 
291
 
Passed all tests
 
 
b'\\ No newline at end of file'
 
293
Passed all tests