Subversion Repositories tendra.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
7 7u83 2
 * Copyright (c) 2002-2005 The TenDRA Project <http://www.tendra.org/>.
3
 * All rights reserved.
4
 *
5
 * Redistribution and use in source and binary forms, with or without
6
 * modification, are permitted provided that the following conditions are met:
7
 *
8
 * 1. Redistributions of source code must retain the above copyright notice,
9
 *    this list of conditions and the following disclaimer.
10
 * 2. Redistributions in binary form must reproduce the above copyright notice,
11
 *    this list of conditions and the following disclaimer in the documentation
12
 *    and/or other materials provided with the distribution.
13
 * 3. Neither the name of The TenDRA Project nor the names of its contributors
14
 *    may be used to endorse or promote products derived from this software
15
 *    without specific, prior written permission.
16
 *
17
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS
18
 * IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
19
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20
 * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
21
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
22
 * EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
23
 * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
24
 * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
25
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
26
 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
27
 * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
28
 *
29
 * $Id$
30
 */
31
/*
2 7u83 32
    		 Crown Copyright (c) 1997
7 7u83 33
 
2 7u83 34
    This TenDRA(r) Computer Program is subject to Copyright
35
    owned by the United Kingdom Secretary of State for Defence
36
    acting through the Defence Evaluation and Research Agency
37
    (DERA).  It is made available to Recipients with a
38
    royalty-free licence for its use, reproduction, transfer
39
    to other parties and amendment for any purpose not excluding
40
    product development provided that any such use et cetera
41
    shall be deemed to be acceptance of the following conditions:-
7 7u83 42
 
2 7u83 43
        (1) Its Recipients shall ensure that this Notice is
44
        reproduced upon any copies or amended versions of it;
7 7u83 45
 
2 7u83 46
        (2) Any amended version of it shall be clearly marked to
47
        show both the nature of and the organisation responsible
48
        for the relevant amendment or amendments;
7 7u83 49
 
2 7u83 50
        (3) Its onward transfer from a recipient to another
51
        party shall be deemed to be that party's acceptance of
52
        these conditions;
7 7u83 53
 
2 7u83 54
        (4) DERA gives no warranty or assurance as to its
55
        quality or suitability for any purpose and DERA accepts
56
        no liability whatsoever in relation to any use to which
57
        it may be put.
58
*/
59
 
60
 
61
/* svr4/config.h */
62
 
63
/**********************************************************************
64
$Author: release $
65
$Date: 1998/03/16 11:25:28 $
66
$Revision: 1.2 $
67
$Log: config.h,v $
68
 * Revision 1.2  1998/03/16  11:25:28  release
69
 * Modifications prior to version 4.1.2.
70
 *
71
 * Revision 1.1.1.1  1998/01/17  15:55:53  release
72
 * First version to be checked into rolling release.
73
 *
74
 * Revision 1.20  1998/01/11  15:15:10  pwe
75
 * remove NEWDIAGS
76
 *
77
 * Revision 1.19  1997/04/02  10:33:57  pwe
78
 * diagnose pl_tests
79
 *
80
 * Revision 1.18  1996/05/20  14:31:13  pwe
81
 * improved 64-bit handling
82
 *
83
 * Revision 1.17  1996/05/13  12:52:22  pwe
84
 * undo premature commit
85
 *
86
 * Revision 1.15  1996/02/20  14:45:44  pwe
87
 * linux/elf return struct
88
 *
89
 * Revision 1.14  1996/02/08  13:45:48  pwe
90
 * Linux elf v aout option
91
 *
92
 * Revision 1.13  1995/12/01  11:54:42  pwe
93
 * solaris proc equality
94
 *
95
 * Revision 1.12  1995/10/09  15:14:51  pwe
96
 * dynamic initialisation etc
97
 *
98
 * Revision 1.11  1995/09/29  16:18:25  pwe
99
 * gcc_compatible default on Linux
100
 *
101
 * Revision 1.10  1995/09/20  12:00:51  pwe
102
 * svr4 and solaris initial_value, and solaris 64 bit correction
103
 *
104
 * Revision 1.9  1995/09/19  15:43:19  pwe
105
 * round, fp overflow etc
106
 *
107
 * Revision 1.8  1995/09/05  16:25:40  pwe
108
 * specials and exception changes
109
 *
110
 * Revision 1.7  1995/09/01  17:30:22  pwe
111
 * traps and Build scripts
112
 *
113
 * Revision 1.6  1995/08/30  16:07:24  pwe
114
 * prepare exception trapping
115
 *
116
 * Revision 1.5  1995/07/07  15:22:42  pwe
117
 * prepare for 4.0, and correct PIC switch
118
 *
119
 * Revision 1.4  1995/01/30  14:43:57  pwe
120
 * defined value_of_null for CR95_032
121
 *
122
 * Revision 1.3  1995/01/30  12:57:41  pwe
123
 * Ownership -> PWE, tidy banners
124
 *
125
 * Revision 1.2  1994/11/08  15:09:13  jmf
126
 * Added substitute_complex
127
 *
128
 * Revision 1.1  1994/10/27  12:16:59  jmf
129
 * Initial revision
130
 *
131
 * Revision 1.3  1994/08/04  13:37:04  jmf
132
 * Added condassign_tag
133
 *
134
 * Revision 1.2  1994/07/13  07:51:05  jmf
135
 * Added Log
136
 *
137
**********************************************************************/
138
 
139
#ifndef config_key
140
#define config_key 1
141
 
142
 
143
/* API SPECIFICATION */
144
#include "ossg_api.h"
145
#include "ossg.h"
146
 
147
#ifndef FS_LITTLE_ENDIAN
148
#define FS_LITTLE_ENDIAN	1
149
#endif
150
 
151
 
152
#define isvax 0
153
#define ismips 0
154
#define is68000 0
155
#define is80x86 1
156
#define ispower 0
157
#define issparc 0
158
#define istrans 0
159
#define ishppa 0
160
#define isAlpha 0
161
 
162
#define issco 0
163
#define issol86 0
164
#define islinux 0
165
#define isfreebsd 0
166
#define remove_struct_ref 1
167
 
168
#define has_setcc 1
169
#define little_end 1
170
#define has_byte_regs 1
171
#define has_byte_ops 1
172
#define only_lengthen_ops 1
173
#define has_neg_shift 0
174
#define regable_union 0
175
#define substitute_params 1
176
#define special_fns 1
177
#define shift_is_byte 1
178
#define only_inline_static 0
179
#define remove_zero_offsets 1
180
#define replace_compound 1
181
#define no_bitfield_ops 1
182
#define dont_unpad_apply 0
183
#define diagnose_registers 1
184
#define DWARF 1
185
#define load_ptr_pars 1
186
#define use_long_double 1
187
#define has64bits 1
188
#define keep_PIC_vars 0
189
#define div0_implemented 1
190
#define do_case_transforms 1
191
#define substitute_complex 1
192
#define has_rotate 1
193
#define GCC_STRUCTS 0
194
 
195
#define maxmin_implemented 1
196
#define condassign_implemented 0
197
 
198
#define target_dbl_maxexp 4932
199
 
200
#define check_shape 1
201
#define value_of_null 0
202
#define no_trap_on_nil_contents 1
203
 
204
#define prefix_length 0	/* strlen(name_prefix) */
205
#define AVOID_INTOV 16	/* Use floating interrupt in place of into */
206
#define normal_fpucon 0x37f
207
 
208
/* Parameters for foralls optimisations */
209
 
210
#define remove_unused_counters 0
211
#define remove_unused_index_counters 0
7 7u83 212
#define good_index_factor(f)	0
213
#define good_pointer_factor(f)	((f)!= 1 && (f)!= 2 && (f)!= 4 && (f)!= 8)
2 7u83 214
 
215
/* Parameters for TDF->TDF case_optimisation */
216
 
217
#define jump_table_density 10        /* between 0 and 100 */
218
 
7 7u83 219
/* jump_table density is the percentage of entries which must be filled
2 7u83 220
 * in a jump table in order for it to be created
221
 * So 0 would try to make everything into a jump table whereas 100
222
 * would mean only full jump tables could be put out
223
 */
224
 
225
#define non_default_entries 4      /* a positive integer */
226
 
227
/* non_default_entries is the minimum number of non default entries a
228
 * jump table can contain
229
 */
230
 
231
#define non_default_destinations 2  /* a positive integer */
232
 
233
/* non_default_destinations is the minimum number of non default destinations
234
 * a jump table can contain
235
 */
236
 
237
 
238
 
239
#define temp_mips 0
240
 
241
#endif