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
/*
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: bitsmacs.h,v $
33
 * Revision 1.1.1.1  1998/01/17  15:56:02  release
34
 * First version to be checked into rolling release.
35
 *
36
 * Revision 1.2  1995/12/18  13:10:56  wfs
37
 * Put hppatrans uder cvs control. Major Changes made since last release
38
 * include:
39
 * (i) PIC code generation.
40
 * (ii) Profiling.
41
 * (iii) Dynamic Initialization.
42
 * (iv) Debugging of Exception Handling and Diagnostics.
43
 *
44
 * Revision 5.0  1995/08/25  13:42:58  wfs
45
 * Preperation for August 25 Glue release
46
 *
47
 * Revision 4.0  1995/08/25  13:34:00  wfs
48
 * *** empty log message ***
49
 *
50
 * Revision 4.0  1995/08/25  13:34:00  wfs
51
 * *** empty log message ***
52
 *
53
 * Revision 3.4  1995/08/25  10:45:48  wfs
54
 * *** empty log message ***
55
 *
56
 * Revision 3.4  1995/08/25  10:45:48  wfs
57
 * *** empty log message ***
58
 *
59
 * Revision 3.1  95/04/10  16:25:43  16:25:43  wfs (William Simmonds)
60
 * Apr95 tape version.
61
 * 
62
 * Revision 3.0  95/03/30  11:14:17  11:14:17  wfs (William Simmonds)
63
 * Mar95 tape version with CRCR95_178 bug fix.
64
 * 
65
 * Revision 2.0  95/03/15  15:25:03  15:25:03  wfs (William Simmonds)
66
 * spec 3.1 changes implemented, tests outstanding.
67
 * 
68
 * Revision 1.1  95/01/11  13:35:49  13:35:49  wfs (William Simmonds)
69
 * Initial revision
70
 * 
71
*/
72
 
73
 
74
#ifndef BITSMACS_INCLUDED
75
#define BITSMACS_INCLUDED
76
 
77
 
78
/*
79
    PROPERTIES FOR NEEDS
80
*/
81
 
82
#define morefix			0x0100
83
#define morefloat		0x0200
84
#define hasproccall		0x0400
85
#define usesproccall		0x0800	/* hasproccall << 1 */
86
#define anyproccall		0x0c00
87
#define long_result_bit 	0x1000
88
#define has_result_bit		0x2000
89
#define regsused		0x0d00	/* composite */
90
#define fregsused		0x0e00	/* composite */
91
#define realresult_bit		0x4000
92
#define longrealresult_bit  	0x8000
93
#define uses_res_reg_bit 	0x0002
94
#define dont_optimise 		0x0004
95
#define uses2_bit 2
96
 
97
/*
98
    HPPA-SPECIFIC IDENT PROPERTIES
99
*/
100
 
101
#define inreg_bits 		0x0800
102
#define infreg_bits 		0x1000
103
#define inanyreg 		0x1800
104
#define defer_bit 		0x2000
105
#define notparreg 		0x4000
106
#define notresreg 		0x8000
107
#define sreguse 		0x0200
108
#define inlined			0x0200
109
/* #define subvar 			0x0100 */
110
 
111
/*
112
    PROPERTIES OF REAL OPERATIONS
113
*/
114
 
115
#define SetRev( e )		props ( e ) |= 0x1000
116
#define IsRev( e )		( props (e) & 0x1000 )
117
#define ClearRev( e )		props ( e ) &= ~0x1000
118
 
119
 
120
/*
121
    MISCELLANEOUS MACROS
122
*/
123
 
124
#define inlineassign		9
125
#define UNITWEIGHT		16.0
126
 
127
 
128
#endif /* BITSMACS_INCLUDED */
129
 
130
 
131
 
132
 
133
 
134
 
135
 
136
 
137
 
138
 
139
 
140
 
141
 
142
 
143
 
144
 
145