Subversion Repositories tendra.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 7u83 1
/*
2
    		 Crown Copyright (c) 1997
3
 
4
    This TenDRA(r) Computer Program is subject to Copyright
5
    owned by the United Kingdom Secretary of State for Defence
6
    acting through the Defence Evaluation and Research Agency
7
    (DERA).  It is made available to Recipients with a
8
    royalty-free licence for its use, reproduction, transfer
9
    to other parties and amendment for any purpose not excluding
10
    product development provided that any such use et cetera
11
    shall be deemed to be acceptance of the following conditions:-
12
 
13
        (1) Its Recipients shall ensure that this Notice is
14
        reproduced upon any copies or amended versions of it;
15
 
16
        (2) Any amended version of it shall be clearly marked to
17
        show both the nature of and the organisation responsible
18
        for the relevant amendment or amendments;
19
 
20
        (3) Its onward transfer from a recipient to another
21
        party shall be deemed to be that party's acceptance of
22
        these conditions;
23
 
24
        (4) DERA gives no warranty or assurance as to its
25
        quality or suitability for any purpose and DERA accepts
26
        no liability whatsoever in relation to any use to which
27
        it may be put.
28
*/
29
 
30
 
31
/*
32
$Log: config.h,v $
33
 * Revision 1.2  1998/03/16  11:25:33  release
34
 * Modifications prior to version 4.1.2.
35
 *
36
 * Revision 1.1.1.1  1998/01/17  15:56:04  release
37
 * First version to be checked into rolling release.
38
 *
39
 * Revision 1.4  1996/02/14  17:19:12  wfs
40
 * "next_caller_offset" and "next_callee_offset" have become special tokens
41
 * defined in "spec_tok.c". Bug fix to a "and_tag" optimization in
42
 * "oprators.c". A few bug fixes in "makecode.c" arising from the variable
43
 * caller tests. "promote_pars" defined in "config.h".
44
 *
45
 * Revision 1.3  1996/01/08  12:01:48  wfs
46
 * Cosmetic changes to usage message in "hppatrans.c". "issparc" set to 0 in
47
 * "config.h". Change to "scan()" regarding the passing of 64 bit int params.
48
 *
49
 * Revision 1.2  1995/12/18  13:11:05  wfs
50
 * Put hppatrans uder cvs control. Major Changes made since last release
51
 * include:
52
 * (i) PIC code generation.
53
 * (ii) Profiling.
54
 * (iii) Dynamic Initialization.
55
 * (iv) Debugging of Exception Handling and Diagnostics.
56
 *
57
 * Revision 5.3  1995/10/16  14:42:39  wfs
58
 * *** empty log message ***
59
 *
60
 * Revision 5.2  1995/09/21  12:41:43  wfs
61
 * #included "compiler.h".
62
 *
63
 * Revision 5.1  1995/09/20  11:29:18  wfs
64
 * Added "#define isAlpha 0".
65
 *
66
 * Revision 5.0  1995/08/25  13:55:12  wfs
67
 * Preperation for August 95 Glue release
68
 *
69
 * Revision 4.0  1995/08/25  13:34:00  wfs
70
 * *** empty log message ***
71
 *
72
 * Revision 4.0  1995/08/25  13:34:00  wfs
73
 * *** empty log message ***
74
 *
75
 * Revision 3.4  1995/08/25  10:51:44  wfs
76
 * Removed a few sparc specific macros. Some new flags have been
77
 * introduced
78
 *
79
 * Revision 3.4  1995/08/25  10:51:44  wfs
80
 * Removed a few sparc specific macros. Some new flags have been
81
 * introduced
82
 *
83
 * Revision 3.1  95/04/10  16:26:01  16:26:01  wfs (William Simmonds)
84
 * Apr95 tape version.
85
 * 
86
 * Revision 3.0  95/03/30  11:15:49  11:15:49  wfs (William Simmonds)
87
 * Mar95 tape version with CRCR95_178 bug fix.
88
 * 
89
 * Revision 2.0  95/03/15  15:25:32  15:25:32  wfs (William Simmonds)
90
 * spec 3.1 changes implemented, tests outstanding.
91
 * 
92
 * Revision 1.1  95/01/11  13:36:39  13:36:39  wfs (William Simmonds)
93
 * Initial revision
94
 * 
95
*/
96
 
97
 
98
#ifndef CONFIG_INCLUDED
99
#define CONFIG_INCLUDED
100
 
101
#include "ossg_api.h"
102
#include "ossg.h"
103
 
104
#ifndef FS_LITTLE_ENDIAN
105
#define FS_LITTLE_ENDIAN	0
106
#endif
107
 
108
 
109
/*
110
                              HISTORY
111
 
112
       The TDF->HP PA translator was based upon the TDF->MIPS translator
113
    written by Ian Currie <currie@rivers.dra.hmg.gb> of the UK's Defence
114
    Research Agency. It was developed and maintained by William Simmonds
115
    <William.Simmonds@rivers.dra.hmg.gb>.
116
*/
117
 
118
 
119
#define null			NULL
120
 
121
 
122
/* MAIN MACHINE CONFIGURATION */
123
 
124
 
125
/* MACHINE IDENTIFIERS */
126
#define is68000			0
127
#define is80x86			0
128
#define ismips			0
129
#define ispower			0
130
#define issco			0
131
#define issparc			0
132
#define isvax			0
133
#define ishppa                  1
134
#define isAlpha                 0
135
 
136
/* CONFIGURATION OPTIONS */
137
#define check_shape 		1
138
#define dont_unpad_apply 	1
139
#define has_bitfield_ops        0
140
#define has_byte_ops		0
141
#define has_byte_regs		0
142
#define has_neg_shift 		0
143
#define has_rotate              0
144
#define has_setcc		0
145
#define has64bits		0
146
#define keep_PIC_vars           1
147
#define little_end		0
148
#define no_bitfield_ops 	0
149
#define only_inline_static 	0
150
#define only_lengthen_ops	0
151
#define promote_pars            1
152
#define regable_union 		0
153
#define remove_zero_offsets 	0
154
#define replace_compound 	1
155
#define shift_is_byte 		0
156
#define special_fns 		0
157
#define substitute_complex      1
158
#define substitute_params 	0
159
#define use_long_double         1
160
#define value_of_null		0
161
#define remove_unused_counters	1
162
#define remove_unused_index_counters 0
163
#define good_index_factor(f) 0
164
#if 0
165
#define good_pointer_factor(f) ( (f) != 1 && (f) != 2 && (f) != 4 && (f) != 8 )
166
#else
167
#define good_pointer_factor(f) 1
168
#endif
169
 
170
#if use_long_double
171
#define target_dbl_maxexp 	16384
172
#else
173
#define target_dbl_maxexp 	308
174
#endif
175
 
176
 
177
#define DO_INDEXED_LOADS 1
178
#define USE_BITAD 0
179
#define HAS_MAGIC
180
 
181
 
182
#endif /* CONFIG_INCLUDED */