Subversion Repositories tendra.SVN

Rev

Rev 2 | Go to most recent revision | 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
 
33
/*
34
			    VERSION INFORMATION
35
			    ===================
36
 
37
--------------------------------------------------------------------------
38
$Header: /u/g/release/CVSROOT/Source/src/installers/sparc/common/muldvrem.h,v 1.1.1.1 1998/01/17 15:55:55 release Exp $
39
--------------------------------------------------------------------------
40
$Log: muldvrem.h,v $
41
 * Revision 1.1.1.1  1998/01/17  15:55:55  release
42
 * First version to be checked into rolling release.
43
 *
44
 * Revision 1.2  1996/04/17  08:25:59  john
45
 * Changed div2 trap treatment
46
 *
47
 * Revision 1.1.1.1  1995/03/13  10:18:46  john
48
 * Entered into CVS
49
 *
50
 * Revision 1.2  1994/07/04  09:24:54  djch
51
 * Jun94 tape version
52
 *
53
 * Revision 1.1  1994/05/03  14:50:26  djch
54
 * Initial revision
55
 *
56
 * Revision 1.3  93/09/27  14:50:54  14:50:54  ra (Robert Andrews)
57
 * Declare clear_sun_call_divrem_regs.
58
 * 
59
 * Revision 1.2  93/07/12  15:16:34  15:16:34  ra (Robert Andrews)
60
 * The final argument of call_muldivrem is now one of the SPECIAL values
61
 * from special.h.
62
 * 
63
 * Revision 1.1  93/06/24  14:58:51  14:58:51  ra (Robert Andrews)
64
 * Initial revision
65
 * 
66
--------------------------------------------------------------------------
67
*/
68
 
69
 
70
#ifndef MULDVREM_INCLUDED
71
#define MULDVREM_INCLUDED
72
 
73
#include "exptypes.h"
74
#include "addrtypes.h"
75
#include "proctypes.h"
76
#include "exptypes.h"
77
#include "installtypes.h"
78
 
79
extern bool is_muldivrem_call PROTO_S ( ( exp ) ) ;
80
extern int call_muldivrem PROTO_S ( ( exp, exp, space, int, int ) ) ;
81
 
82
extern needs multneeds PROTO_S ( ( exp *, exp ** ) ) ;
83
extern needs divneeds PROTO_S ( ( exp *, exp ** ) ) ;
84
extern needs remneeds PROTO_S ( ( exp *, exp ** ) ) ;
85
 
86
extern int do_mul_comm_op PROTO_S ( ( exp, space, where, bool ) ) ;
87
extern int do_div_op PROTO_S ( ( exp, space, where, bool ) ) ;
88
extern int do_rem_op PROTO_S ( ( exp, space, where, bool ) ) ;
89
 
90
extern void clear_sun_call_divrem_regs PROTO_S ( ( space ) ) ;
91
 
92
#endif /* MULDVREM_INCLUDED */