Skip to content

Commit 1b7a1e2

Browse files
Initial import of Sunflower simulation framework
0 parents  commit 1b7a1e2

File tree

5,540 files changed

+2877284
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,540 files changed

+2877284
-0
lines changed

.hgignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
syntax: glob
2+
*.o
3+
*~
4+
.DS_Store
5+
tools/source/binutils-2.16.1/*
6+
tools/source/newlib-1.9.0/*
7+
tools/source/gcc-4.1.1/*

LICENSE.txt

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
Copyright (c) 2000-2008, Phillip Stanley-Marbell
2+
3+
All rights reserved.
4+
5+
Redistribution and use in source and binary forms, with or without modification,
6+
are permitted provided that the following conditions are met:
7+
8+
* Redistributions of source code must retain the above copyright notice,
9+
this list of conditions and the following disclaimer.
10+
11+
* Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
15+
* Neither the name of the <ORGANIZATION> nor the names of its contributors
16+
may be used to endorse or promote products derived from this software
17+
without specific prior written permission.
18+
19+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
20+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
21+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
22+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
23+
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
24+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
25+
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
26+
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
27+
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
28+
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
29+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Makefile

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
include ./conf/setup.conf
2+
3+
Z = $(PATH):$(SUNFLOWERROOT)/tools/bin
4+
CUR = sunflower-1.0-beta#`echo $(PWD) | awk -F'/' '{print $NF}'`
5+
6+
RELEASE = sunflower-1.0-release
7+
MINOR = 2
8+
DISTRIBUTION = $(RELEASE)-source-beta.$(MINOR)
9+
10+
DIRS =\
11+
sim\
12+
13+
14+
all: sflr
15+
16+
sflr:
17+
@set -e; for dir in $(DIRS); do \
18+
(cd $$dir; \
19+
$(MAKE)\
20+
); \
21+
done
22+
23+
cross:
24+
cd $(TOOLS); $(MAKE) HOST=$(HOST) PATH=$(Z)\
25+
TARGET=$(TARGET) TARGET-ARCH=$(TARGET-ARCH) all;\
26+
27+
cross-all:
28+
cd $(TOOLS); $(MAKE) HOST=$(HOST) PATH=$(Z)\
29+
TARGET=superH TARGET-ARCH=sh-coff all;\
30+
cd $(TOOLS); $(MAKE) HOST=$(HOST) PATH=$(Z)\
31+
TARGET=msp430 TARGET-ARCH=msp430 all;\
32+
33+
MINDIST =\
34+
$(SUNFLOWERROOT)/benchmarks/README\
35+
$(SUNFLOWERROOT)/benchmarks/dist\
36+
37+
min-dist:
38+
@set -e;
39+
mkdir -p $(DISTRIBUTION)/benchmarks;
40+
for k in $(MINDIST); do \
41+
cp -r $$k $(DISTRIBUTION)/benchmarks;\
42+
done
43+
tar hczvf $(DISTRIBUTION).tgz $(DISTRIBUTION)
44+
md5 $(DISTRIBUTION).tgz > $(DISTRIBUTION).md5
45+
46+
clean:
47+
@set -e; for dir in $(DIRS); do \
48+
(cd $$dir; \
49+
($(MAKE) clean) \
50+
); \
51+
done; \
52+
53+
nuke: clean
54+
cd $(TOOLS); $(MAKE) nuke; \
55+
for dir in $(SUPPORTED-TARGETS); do ($(DEL) $(SUNFLOWERROOT)/tools-lib/*/*.a); done

README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
(1) Read manual.pdf if you can.
2+
3+
(2) Edit conf/setup.conf and set SUNFLOWERROOT, and HOST appropriately.
4+
5+
(3) cd to sim/ and type 'make'. The build should work automatically on
6+
MacOS, Linux, and Solaris. This builds the console version of
7+
the simulator.
8+
9+
(4) To build the cross-compiler, type 'make cross' from the root of
10+
the installation (the directory containing this README file).

benchmarks/README

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
source/
2+
Contains the sources for the benchmarks.
3+
4+
dist/
5+
Contains compiled versions of the benchmarks, along with benchmark
6+
inputs and sample simulator config files.
7+

benchmarks/dist/SPEC2000/README

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Uncompress the contents of the individual diruectories and any subdirectories.
Binary file not shown.
228 Bytes
Binary file not shown.
111 Bytes
Binary file not shown.
223 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
18.3 KB
Binary file not shown.
161 Bytes
Binary file not shown.
6.8 KB
Binary file not shown.
164 Bytes
Binary file not shown.
58.2 KB
Binary file not shown.
198 KB
Binary file not shown.
6.78 KB
Binary file not shown.
119 Bytes
Binary file not shown.
73.5 KB
Binary file not shown.
75 Bytes
Binary file not shown.
4.61 MB
Binary file not shown.
1.37 MB
Binary file not shown.
1.87 MB
Binary file not shown.
13.7 KB
Binary file not shown.
33.2 KB
Binary file not shown.
14 Bytes
Binary file not shown.
152 KB
Binary file not shown.
104 Bytes
Binary file not shown.
1.24 MB
Binary file not shown.
30 KB
Binary file not shown.
12.3 KB
Binary file not shown.
150 KB
Binary file not shown.
111 Bytes
Binary file not shown.
74 KB
Binary file not shown.
1.93 MB
Binary file not shown.
453 KB
Binary file not shown.
88 Bytes
Binary file not shown.
116 Bytes
Binary file not shown.
89.4 KB
Binary file not shown.
4.61 MB
Binary file not shown.
234 KB
Binary file not shown.
1.37 MB
Binary file not shown.
4.02 MB
Binary file not shown.
1.87 MB
Binary file not shown.
13.7 KB
Binary file not shown.
808 KB
Binary file not shown.
110 Bytes
Binary file not shown.
54.3 KB
Binary file not shown.
1.57 KB
Binary file not shown.
28.4 KB
Binary file not shown.
107 Bytes
Binary file not shown.
129 KB
Binary file not shown.
102 KB
Binary file not shown.
102 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
232 Bytes
Binary file not shown.
238 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
162 Bytes
Binary file not shown.
Binary file not shown.
3.23 KB
Binary file not shown.
387 Bytes
Binary file not shown.
391 Bytes
Binary file not shown.
387 Bytes
Binary file not shown.
Binary file not shown.
Binary file not shown.
386 Bytes
Binary file not shown.
389 Bytes
Binary file not shown.
387 Bytes
Binary file not shown.
21.3 KB
Binary file not shown.
105 Bytes
Binary file not shown.
470 KB
Binary file not shown.
832 Bytes
Binary file not shown.
98.5 KB
Binary file not shown.
46.8 KB
Binary file not shown.
828 Bytes
Binary file not shown.
366 Bytes
Binary file not shown.
217 Bytes
Binary file not shown.
185 KB
Binary file not shown.
Binary file not shown.
Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
This package is released under the MIT license:
2+
3+
Copyright (c) 2003 Colorado State University
4+
5+
Permission is hereby granted, free of charge, to any person
6+
obtaining a copy of this software and associated documentation
7+
files (the "Software"), to deal in the Software without
8+
restriction, including without limitation the rights to use,
9+
copy, modify, merge, publish, distribute, sublicense, and/or
10+
sell copies of the Software, and to permit persons to whom
11+
the Software is furnished to do so, subject to the following
12+
conditions:
13+
14+
The above copyright notice and this permission notice shall be
15+
included in all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24+
OTHER DEALINGS IN THE SOFTWARE.
25+
26+
27+
This package contains components from other distributions
28+
which may be subject to separate licenses.
29+
30+
31+
EIGENSOLVER
32+
-----------
33+
34+
The eigensolver (src/csuSubspaceCVEigen.c) was taken from
35+
the Intel Open Source Computer Vision Library:
36+
37+
http://www.intel.com/research/mrl/research/opencv/
38+
39+
The library is subject to the following license:
40+
41+
IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING
42+
OR USING. By downloading, copying, installing or using
43+
the software you agree to this license. If you do not agree
44+
to this license, do not download, install, copy or use the
45+
software.
46+
47+
48+
Intel License Agreement
49+
For Open Source Computer Vision Library
50+
Copyright � 2000, Intel Corporation, all rights reserved.
51+
Third party copyrights are property of their respective owners.
52+
53+
Redistribution and use in source and binary forms, with or
54+
without modification, are permitted provided that the following
55+
conditions are met:
56+
57+
- Redistribution's of source code must retain the above
58+
copyright notice, this list of conditions and the following
59+
disclaimer.
60+
61+
62+
- Redistribution's in binary form must reproduce the above
63+
copyright notice, this list of conditions and the following
64+
disclaimer in the documentation and/or other materials
65+
provided with the distribution.
66+
67+
68+
The name of Intel Corporation may not be used to endorse or promote
69+
products derived from this software without specific prior written
70+
permission.
71+
72+
73+
This software is provided by the copyright holders and contributors
74+
"as is" and any express or implied warranties, including, but not
75+
limited to, the implied warranties of merchantability and fitness
76+
for a particular purpose are disclaimed. In no event shall Intel or
77+
contributors be liable for any direct, indirect, incidental, special,
78+
exemplary, or consequential damages (including, but not limited to,
79+
procurement of substitute goods or services; loss of use, data, or
80+
profits; or business interruption) however caused and on any theory
81+
of liability, whether in contract, strict liability, or tort
82+
(including negligence or otherwise) arising in any way out of the
83+
use of this software, even if advised of the possibility of such
84+
damage.
85+
86+
87+
GNUPLOT INTERFACE
88+
-----------------
89+
90+
The files "extras/gnuplot_i.*" files are from the
91+
gnuplot_i module by N. Devillard. The complete
92+
package (including documentation), can be
93+
obtained from:
94+
95+
http://ndevilla.free.fr/gnuplot/gnuplot_i/index.html
96+
97+
These files are subject to the following license:
98+
99+
The gnuplot_i module is released in the public domain.
100+
101+
You are free to edit, re-distribute, modify, delete, send me cash,
102+
print it on T-shirts, sing it, learn the code, port it to another
103+
language, make money out of it (although I seriously doubt you could).
104+
105+
Enjoy!
106+
N. Devillard
107+
Tue Apr 3 17:24:33 CEST 2001
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
/*
2+
*
3+
* This file is part of the ALPBench Benchmark Suite Version 1.0
4+
*
5+
* Copyright (c) 2005 The Board of Trustees of the University of Illinois
6+
*
7+
* All rights reserved.
8+
*
9+
* ALPBench is a derivative of several codes, and restricted by licenses
10+
* for those codes, as indicated in the source files and the ALPBench
11+
* license at http://www.cs.uiuc.edu/alp/alpbench/alpbench-license.html
12+
*
13+
* The multithreading and SSE2 modifications for SpeechRec, FaceRec,
14+
* MPEGenc, and MPEGdec were done by Man-Lap (Alex) Li and Ruchira
15+
* Sasanka as part of the ALP research project at the University of
16+
* Illinois at Urbana-Champaign (http://www.cs.uiuc.edu/alp/), directed
17+
* by Prof. Sarita V. Adve, Dr. Yen-Kuang Chen, and Dr. Eric Debes.
18+
*
19+
* Permission is hereby granted, free of charge, to any person obtaining
20+
* a copy of this software and associated documentation files (the
21+
* "Software"), to deal with the Software without restriction, including
22+
* without limitation the rights to use, copy, modify, merge, publish,
23+
* distribute, sublicense, and/or sell copies of the Software, and to
24+
* permit persons to whom the Software is furnished to do so, subject to
25+
* the following conditions:
26+
*
27+
* * Redistributions of source code must retain the above copyright
28+
* notice, this list of conditions and the following disclaimers.
29+
*
30+
* * Redistributions in binary form must reproduce the above
31+
* copyright notice, this list of conditions and the following
32+
* disclaimers in the documentation and/or other materials provided
33+
* with the distribution.
34+
*
35+
* * Neither the names of Professor Sarita Adve's research group, the
36+
* University of Illinois at Urbana-Champaign, nor the names of its
37+
* contributors may be used to endorse or promote products derived
38+
* from this Software without specific prior written permission.
39+
*
40+
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
41+
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
42+
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
43+
* NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
44+
* HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
45+
* IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
46+
* IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
47+
* SOFTWARE.
48+
*
49+
*/
50+
51+

0 commit comments

Comments
 (0)