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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [or1ksim/] [testsuite/] [or1ksim.tests/] [ext.exp] - Blame information for rev 414

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

Line No. Rev Author Line
1 82 jeremybenn
# ext.exp. l.ext{b,h}{s,z} instruction test using DejaGNU under automake
2
 
3
# Copyright (C) 2010 Embecosm Limited
4
 
5
# Contributor Jeremy Bennett 
6
 
7
# This file is part of OpenRISC 1000 Architectural Simulator.
8
 
9
# This program is free software; you can redistribute it and/or modify it
10
# under the terms of the GNU General Public License as published by the Free
11
# Software Foundation; either version 3 of the License, or (at your option)
12
# any later version.
13
 
14
# This program is distributed in the hope that it will be useful, but WITHOUT
15
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
16
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
17
# more details.
18
 
19
# You should have received a copy of the GNU General Public License along
20
# with this program.  If not, see .  */
21
 
22
# -----------------------------------------------------------------------------
23
# This code is commented throughout for use with Doxygen.
24
# -----------------------------------------------------------------------------
25
 
26
 
27
# Run the l.ext test
28
run_or1ksim "ext"               \
29
    [list "report(0x0000007f);" \
30
          "report(0x0000007f);" \
31
          "report(0x00000053);" \
32
          "report(0x00000053);" \
33
          "report(0x0000ff53);" \
34
          "report(0x00000053);" \
35
          "report(0x00001234);" \
36
          "report(0x00000034);" \
37
          "report(0x000000ff);" \
38
          "report(0xffffffff);" \
39
          "report(0x00000080);" \
40
          "report(0xffffff80);" \
41
          "report(0x0000ff80);" \
42
          "report(0xffffff80);" \
43
          "report(0x00007f80);" \
44
          "report(0xffffff80);" \
45
          "report(0x00007fff);" \
46
          "report(0xffffffff);" \
47
          "report(0x0000007f);" \
48
          "report(0x0000007f);" \
49
          "report(0x00000053);" \
50
          "report(0x00000053);" \
51
          "report(0x0000ff53);" \
52
          "report(0x00000053);" \
53
          "report(0x00001234);" \
54
          "report(0x00000034);" \
55
          "report(0x000000ff);" \
56
          "report(0x000000ff);" \
57
          "report(0x00000080);" \
58
          "report(0x00000080);" \
59
          "report(0x0000ff80);" \
60
          "report(0x00000080);" \
61
          "report(0x00007f80);" \
62
          "report(0x00000080);" \
63
          "report(0x00007fff);" \
64
          "report(0x000000ff);" \
65
          "report(0x00007fff);" \
66
          "report(0x00007fff);" \
67
          "report(0x00005233);" \
68
          "report(0x00005233);" \
69
          "report(0xffff2f53);" \
70
          "report(0x00002f53);" \
71
          "report(0x12345678);" \
72
          "report(0x00005678);" \
73
          "report(0x0000ffff);" \
74
          "report(0xffffffff);" \
75
          "report(0x00008000);" \
76
          "report(0xffff8000);" \
77
          "report(0x0000ff80);" \
78
          "report(0xffffff80);" \
79
          "report(0x80008000);" \
80
          "report(0xffff8000);" \
81
          "report(0x7fffffff);" \
82
          "report(0xffffffff);" \
83
          "report(0x00007fff);" \
84
          "report(0x00007fff);" \
85
          "report(0x00005233);" \
86
          "report(0x00005233);" \
87
          "report(0xffff2f53);" \
88
          "report(0x00002f53);" \
89
          "report(0x12345678);" \
90
          "report(0x00005678);" \
91
          "report(0x0000ffff);" \
92
          "report(0x0000ffff);" \
93
          "report(0x00008000);" \
94
          "report(0x00008000);" \
95
          "report(0x0000ff80);" \
96
          "report(0x0000ff80);" \
97
          "report(0x80008000);" \
98
          "report(0x00008000);" \
99
          "report(0x7fffffff);" \
100
          "report(0x0000ffff);" \
101
          "report(0xffffffff);" \
102
          "report(0xffffffff);" \
103
          "report(0x7fffffff);" \
104
          "report(0x7fffffff);" \
105
          "report(0x7fff7fff);" \
106
          "report(0x7fff7fff);" \
107
          "report(0xffff7f7f);" \
108
          "report(0xffff7f7f);" \
109
          "report(0xffffff7f);" \
110
          "report(0xffffff7f);" \
111
          "report(0xffff7fff);" \
112
          "report(0xffff7fff);" \
113
          "report(0x7fff7f7f);" \
114
          "report(0x7fff7f7f);" \
115
          "report(0x12345678);" \
116
          "report(0x12345678);" \
117
          "report(0xffffffff);" \
118
          "report(0xffffffff);" \
119
          "report(0x7fffffff);" \
120
          "report(0x7fffffff);" \
121
          "report(0x7fff7fff);" \
122
          "report(0x7fff7fff);" \
123
          "report(0xffff7f7f);" \
124
          "report(0xffff7f7f);" \
125
          "report(0xffffff7f);" \
126
          "report(0xffffff7f);" \
127
          "report(0xffff7fff);" \
128
          "report(0xffff7fff);" \
129
          "report(0x7fff7f7f);" \
130
          "report(0x7fff7f7f);" \
131
          "report(0x12345678);" \
132
          "report(0x12345678);" \
133 104 jeremybenn
          "!report(0xdeaddead);" \
134
          "!exit(0)"]            \
135 82 jeremybenn
    "" "ext/ext"

powered by: WebSVN 2.1.0

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