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
 
33
/*
34
			    VERSION INFORMATION
35
			    ===================
36
 
37
--------------------------------------------------------------------------
38
$Header: /u/g/release/CVSROOT/Source/src/installers/sparc/common/bitsmacs.h,v 1.1.1.1 1998/01/17 15:55:53 release Exp $
39
--------------------------------------------------------------------------
40
$Log: bitsmacs.h,v $
41
 * Revision 1.1.1.1  1998/01/17  15:55:53  release
42
 * First version to be checked into rolling release.
43
 *
44
 * Revision 1.2  1997/10/28  10:18:45  pwe
45
 * extra diags
46
 *
47
 * Revision 1.1.1.1  1995/03/13  10:18:27  john
48
 * Entered into CVS
49
 *
50
 * Revision 1.6  1994/11/28  13:51:43  djch
51
 * removed subvar on ic's advice.
52
 *
53
 * Revision 1.5  1994/07/04  09:24:54  djch
54
 * Jun94 tape version
55
 *
56
 * Revision 1.4  1994/05/25  14:18:21  djch
57
 * Added CREATE_instore_bits to shut up tcc
58
 *
59
 * Revision 1.3  1994/05/13  12:25:49  djch
60
 * Incorporates improvements from expt version
61
 * Remove redundant macros
62
 *
63
 * Revision 1.2  1994/05/03  15:01:06  djch
64
 * added inlined bit used in 3.0 common section
65
 *
66
 * Revision 1.3  93/08/27  11:21:13  11:21:13  ra (Robert Andrews)
67
 * Changed SetRev etc to use pset, altered some whitespace.
68
 * 
69
 * Revision 1.2  93/07/08  18:18:31  18:18:31  ra (Robert Andrews)
70
 * Minor reformatting.
71
 * 
72
 * Revision 1.1  93/06/24  14:57:57  14:57:57  ra (Robert Andrews)
73
 * Initial revision
74
 * 
75
--------------------------------------------------------------------------
76
*/
77
 
78
 
79
#ifndef BITSMACS_INCLUDED
80
#define BITSMACS_INCLUDED
81
 
82
 
83
/*
84
    PROPERTIES FOR NEEDS
85
*/
86
 
87
#define morefix			0x0100
88
#define morefloat		0x0200
89
#define hasproccall		0x0400
90
#define usesproccall		0x0800	/* hasproccall << 1 */
91
#define anyproccall		0x0c00
92
#define long_result_bit		0x1000
93
#define has_result_bit		0x2000
94
#define regsused		0x0d00	/* composite */
95
#define fregsused		0x0e00	/* composite */
96
#define realresult_bit		0x4000
97
#define longrealresult_bit	0x8000
98
#define uses_res_reg_bit	0x0002
99
#define dont_optimise		0x0004
100
 
101
 
102
/*
103
    SPARC-SPECIFIC IDENT PROPERTIES
104
*/
105
 
106
#define inreg_bits		0x0800
107
#define infreg_bits		0x1000
108
#define inanyreg		0x1800
109
#define defer_bit		0x2000
110
#define notparreg		0x4000
111
#define notresreg		0x8000
112
#define sreguse			0x0200
113
#define inlined			0x0400
114
 
115
/*
116
    PROPERTIES OF REAL OPERATIONS
117
*/
118
 
119
#define SetRev( e )		pset ( e, 0x1000 )
120
#define IsRev( e )		ptst ( e, 0x1000 )
121
#define ClearRev( e )		pclr ( e, 0x1000 )
122
 
123
/*
124
    LABST PROPERTIES
125
*/
126
 
127
#define set_dg_labmark( e )	pset ( e, 0x800 )
128
#define dg_labmark( e )		ptst ( e, 0x800 )
129
#define clear_dg_labmark( e )	pclr ( e, 0x800 )
130
 
131
 
132
/*
133
    MISCELLANEOUS MACROS
134
*/
135
 
136
 
137
#endif /* BITSMACS_INCLUDED */