PandA-2024.02
documentation
tutorial_fpl_2022
03-optimizations
Exercise3
milieu.h
Go to the documentation of this file.
1
/*
2
+--------------------------------------------------------------------------+
3
| CHStone : a suite of benchmark programs for C-based High-Level Synthesis |
4
| ======================================================================== |
5
| |
6
| * Collected and Modified : Y. Hara, H. Tomiyama, S. Honda, |
7
| H. Takada and K. Ishii |
8
| Nagoya University, Japan |
9
| |
10
| * Remark : |
11
| 1. This source code is modified to unify the formats of the benchmark |
12
| programs in CHStone. |
13
| 2. Test vectors are added for CHStone. |
14
| 3. If "main_result" is 0 at the end of the program, the program is |
15
| correctly executed. |
16
| 4. Please follow the copyright of each benchmark program. |
17
+--------------------------------------------------------------------------+
18
*/
19
/*============================================================================
20
21
This C header file is part of the SoftFloat IEC/IEEE Floating-point Arithmetic
22
Package, Release 2b.
23
24
Written by John R. Hauser. This work was made possible in part by the
25
International Computer Science Institute, located at Suite 600, 1947 Center
26
Street, Berkeley, California 94704. Funding was partially provided by the
27
National Science Foundation under grant MIP-9311980. The original version
28
of this code was written as part of a project to build a fixed-point vector
29
processor in collaboration with the University of California at Berkeley,
30
overseen by Profs. Nelson Morgan and John Wawrzynek. More information
31
is available through the Web page `http://www.cs.berkeley.edu/~jhauser/
32
arithmetic/SoftFloat.html'.
33
34
THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort has
35
been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT TIMES
36
RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO PERSONS
37
AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ALL LOSSES,
38
COSTS, OR OTHER PROBLEMS THEY INCUR DUE TO THE SOFTWARE, AND WHO FURTHERMORE
39
EFFECTIVELY INDEMNIFY JOHN HAUSER AND THE INTERNATIONAL COMPUTER SCIENCE
40
INSTITUTE (possibly via similar legal warning) AGAINST ALL LOSSES, COSTS, OR
41
OTHER PROBLEMS INCURRED BY THEIR CUSTOMERS AND CLIENTS DUE TO THE SOFTWARE.
42
43
Derivative works are acceptable, even for commercial purposes, so long as
44
(1) the source code for the derivative work includes prominent notice that
45
the work is derivative, and (2) the source code includes prominent notice with
46
these four paragraphs for those parts of this code that are retained.
47
48
=============================================================================*/
49
50
/*----------------------------------------------------------------------------
51
| Include common integer types and flags.
52
*----------------------------------------------------------------------------*/
53
#include "
SPARC-GCC.h
"
SPARC-GCC.h
Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by
1.8.13