PandA-2024.02
private.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  * Copyright 1992 by Jutta Degener and Carsten Bormann, Technische
21  * Universitaet Berlin. See the accompanying file "COPYRIGHT" for
22  * details. THERE IS ABSOLUTELY NO WARRANTY FOR THIS SOFTWARE.
23  */
24 
25 /*$Header: /home/kbs/jutta/src/gsm/gsm-1.0/inc/RCS/private.h,v 1.4 1994/11/28 20:25:03 jutta Exp $*/
26 
27 #ifndef PRIVATE_H
28 #define PRIVATE_H
29 
30 typedef short word; /* 16 bit signed int */
31 typedef long longword; /* 32 bit signed int */
32 
33 #define MIN_WORD ((-32767)-1)
34 #define MAX_WORD ( 32767)
35 
36 #define SASR(x, by) ((x) >> (by))
37 
38 #define GSM_MULT_R(a, b) gsm_mult_r(a, b)
39 #define GSM_MULT(a, b) gsm_mult(a, b)
40 #define GSM_ADD(a, b) gsm_add(a, b)
41 #define GSM_ABS(a) gsm_abs(a)
42 
43 #endif /* PRIVATE_H */
short word
Definition: private.h:30
long longword
Definition: private.h:31

Generated on Mon Feb 12 2024 13:02:49 for PandA-2024.02 by doxygen 1.8.13