Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – tendra.SVN – Blame – /branches/tendra5/src/installers/mips/common/bitsmacs.h – Rev 2

Subversion Repositories tendra.SVN

Rev

Go to most recent revision | 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
$Author: release $
33
$Date: 1998/01/17 15:56:05 $
34
$Revision: 1.1.1.1 $
35
$Log: bitsmacs.h,v $
36
 * Revision 1.1.1.1  1998/01/17  15:56:05  release
37
 * First version to be checked into rolling release.
38
 *
39
 * Revision 1.2  1995/09/22  15:49:13  currie
40
 * added outpar
41
 *
42
 * Revision 1.1  1995/04/13  09:08:06  currie
43
 * Initial revision
44
 *
45
***********************************************************************/
46
/* bitsmacs.h
47
    defines various good bits for props of ident and procrec
48
*/
49
 
50
/* props of needs */
51
#define morefix 0x100
52
#define morefloat 0x200
53
#define hasproccall 0x400
54
#define usesproccall 0x800	/* hasproccall << 1 */
55
#define anyproccall 0xc00
56
#define long_result_bit 0x1000
57
#define has_result_bit 0x2000
58
#define regsused 0xd00		/* morefix | usesproccall | hasproccall */
59
#define fregsused 0xe00		/* morefix | usesproccall | hasproccall */
60
#define realresult_bit  0x4000
61
#define longrealresult_bit  0x8000
62
#define uses2_bit 2
63
 
64
/* props of ident */
65
#define inreg_bits 0x800
66
#define infreg_bits 0x1000
67
#define inanyreg 0x1800
68
#define defer_bit 0x2000
69
#define notparreg 0x4000
70
#define subvar 0x100
71
 
72
#define PossParReg(e) ((props(e) & 0x400)!=0)
73
#define SetPossParReg(e) props(e) |= 0x400
74
#define ClearPossParReg(e) props(e) &= ~0x400
75
 
76
 
77
/* props of real operations */
78
#define SetRev(e) props(e) |= 0x1000
79
#define IsRev(e) ((props(e) & 0x1000)!=0)
80
#define ClearRev(e) props(e) &= ~0x1000
81
 
82
#define inlineassign 9
83
 
84
 
85
#define UNITWEIGHT 16
86