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
#ifndef __INT64_h
32
#define __INT64_h
33
 
34
extern INT64	make_INT64	PROTO_S ((INT32, UINT32));
35
extern UINT64	make_UINT64	PROTO_S ((UINT32, UINT32));
36
 
37
extern INT64	__TDFUs_plus	PROTO_S ((INT64, INT64));
38
extern UINT64	__TDFUu_plus	PROTO_S ((UINT64, UINT64));
39
extern INT64	__TDFUs_minus	PROTO_S ((INT64, INT64));
40
extern UINT64	__TDFUu_minus	PROTO_S ((UINT64, UINT64));
41
extern INT64	__TDFUs_mult	PROTO_S ((INT64, INT64));
42
extern UINT64	__TDFUu_mult	PROTO_S ((UINT64, UINT64));
43
extern INT64	__TDFUs_div1	PROTO_S ((INT64, INT64));
44
extern INT64	__TDFUs_div2	PROTO_S ((INT64, INT64));
45
extern UINT64	__TDFUu_div2	PROTO_S ((UINT64, UINT64));
46
extern INT64	__TDFUs_rem1	PROTO_S ((INT64, INT64));
47
extern INT64	__TDFUs_rem2	PROTO_S ((INT64, INT64));
48
extern UINT64	__TDFUu_rem2	PROTO_S ((UINT64, UINT64));
49
extern INT64	__TDFUneg	PROTO_S ((INT64));
50
extern UINT64	__TDFUu_shl	PROTO_S ((UINT64, UINT32));
51
extern UINT64	__TDFUu_shr	PROTO_S ((UINT64, UINT32));
52
extern INT64	__TDFUabs	PROTO_S ((INT64));
53
extern INT64	__TDFUsswiden	PROTO_S ((INT32));
54
extern UINT64	__TDFUsuwiden	PROTO_S ((INT32));
55
extern UINT64	__TDFUuuwiden	PROTO_S ((UINT32));
56
extern INT64	__TDFUuswiden	PROTO_S ((UINT32));
57
extern INT32	__TDFUssshorten	PROTO_S ((INT64));
58
extern UINT32	__TDFUsushorten	PROTO_S ((INT64));
59
extern UINT32	__TDFUuushorten	PROTO_S ((UINT64));
60
extern INT32	__TDFUusshorten	PROTO_S ((UINT64));
61
extern INT64	__TDFUu642s64	PROTO_S ((UINT64));
62
extern UINT64	__TDFUs642u64	PROTO_S ((INT64));
63
extern INT64	__TDFUs_max	PROTO_S ((INT64, INT64));
64
extern UINT64	__TDFUu_max	PROTO_S ((UINT64, UINT64));
65
extern INT64	__TDFUs_min	PROTO_S ((INT64, INT64));
66
extern UINT64	__TDFUu_min	PROTO_S ((UINT64, UINT64));
67
extern int	__TDFUs_test	PROTO_S ((INT64, INT64));
68
extern int	__TDFUu_test	PROTO_S ((UINT64, UINT64));
69
extern UINT64	__TDFUand	PROTO_S ((UINT64, UINT64));
70
extern UINT64	__TDFUor	PROTO_S ((UINT64, UINT64));
71
extern UINT64	__TDFUxor	PROTO_S ((UINT64, UINT64));
72
extern UINT64	__TDFUnot	PROTO_S ((UINT64));
73
 
74
extern INT64 const_0;
75
extern UINT64 const_u0;
76
extern INT64 const_1;
77
extern UINT64 const_u1;
78
 
79
extern void INT64_print  PROTO_S ((char *,  INT64, char *));
80
extern void UINT64_print PROTO_S ((char *, UINT64, char *));
81
 
82
#endif  /* ndef __INT64_h */