annotate mc-codegen.h @ 151:81032a1b8a5d

MIPS continue
author kono
date Mon, 14 Jul 2003 14:40:35 +0900
parents cb7aa0089681
children c193120ee2a6
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
144
56211702f298 creg/freg continue
kono
parents: 138
diff changeset
1 /* for mc-codegen.c */
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
2
144
56211702f298 creg/freg continue
kono
parents: 138
diff changeset
3 extern int creg; /* current register */
83
f3f75911d62c *** empty log message ***
kono
parents: 81
diff changeset
4
144
56211702f298 creg/freg continue
kono
parents: 138
diff changeset
5 extern int use; /* generated value will be used in gexpr */
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
6
104
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
7 /* function provided by mc-code-*.c */
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
8
105
7e3d59e56a53 save register ( incomplete )
kono
parents: 104
diff changeset
9 extern int get_register_var(NMTBL *);
138
e6e77af048a1 float/dobule configuration
kono
parents: 137
diff changeset
10 extern int get_dregister_var(NMTBL *,int);
137
9fb09db54436 fix powerpc get_fregister_var's regs error.
kono
parents: 133
diff changeset
11
9fb09db54436 fix powerpc get_fregister_var's regs error.
kono
parents: 133
diff changeset
12 extern void arg_register(NMTBL *fnptr);
104
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
13
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
14 /* function provided by mc-codegen.c */
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
15
102
3cf2f8c120b9 *** empty log message ***
kono
parents: 99
diff changeset
16 extern void codegen_init();
3cf2f8c120b9 *** empty log message ***
kono
parents: 99
diff changeset
17
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
18 extern void def_label(int cslabel, int dlabel);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
19 extern int backdef(void);
137
9fb09db54436 fix powerpc get_fregister_var's regs error.
kono
parents: 133
diff changeset
20 extern int free_register_count(int);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
21 extern int fwdlabel(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
22 extern void b_expr(int e1, char cond, int l1,int err);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
23 extern void bexpr(int e1, char cond, int l1);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
24 extern void emit_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
25 extern void fwddef(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
26
98
07c2554e1cfa *** empty log message ***
kono
parents: 95
diff changeset
27 extern int is_code(NMTBL *fnptr);
07c2554e1cfa *** empty log message ***
kono
parents: 95
diff changeset
28 extern int is_function(NMTBL *fnptr);
07c2554e1cfa *** empty log message ***
kono
parents: 95
diff changeset
29
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
30 extern int csvalue();
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
31 extern void cmpdimm(int e, int csreg);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
32 extern void code_enter(char *name) ;
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
33 extern void code_enter1(int args);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
34 extern void code_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
35 extern void code_leave(char *name) ;
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
36 extern void emit_data(int e, int t, NMTBL *n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
37 extern void emit_data_closing(NMTBL *n);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
38 extern void emit_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
39 extern void enter(char *name);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
40 extern void enter1();
94
1ad7045741a7 float dbinop fix
kono
parents: 89
diff changeset
41 extern int g_expr(int e1);
99
53899975154c *** empty log message ***
kono
parents: 98
diff changeset
42 extern int g_expr_u(int e1);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
43 extern void gen_comment(char *s);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
44 extern void gen_gdecl(char *n, int gpc);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
45 extern void gen_source(char *s);
94
1ad7045741a7 float dbinop fix
kono
parents: 89
diff changeset
46 extern int gexpr(int e1,int use);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
47 extern void gexpr_init(void);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
48 extern void jcond(int l, char cond);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
49 extern void jmp(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
50 extern void jmp_eq_label(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
51 extern void jmp_label(int l);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
52 extern void leave(int control, char *name);
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
53 extern void opening(char *filename);
66
0b068058dd67 *** empty log message ***
kono
parents: 61
diff changeset
54 extern void closing();
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
55 extern void ret(void);
78
8418d4b7caa7 *** empty log message ***
kono
parents: 77
diff changeset
56 extern void creg_destroy();
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
57
99
53899975154c *** empty log message ***
kono
parents: 98
diff changeset
58 extern int contains(int e,int type);
104
c21aeb12b78b *** empty log message ***
kono
parents: 102
diff changeset
59 extern int contains_in_list(int e,int type);
99
53899975154c *** empty log message ***
kono
parents: 98
diff changeset
60
81
f94ca1168520 float first try...
kono
parents: 79
diff changeset
61 /* floating point */
f94ca1168520 float first try...
kono
parents: 79
diff changeset
62
f94ca1168520 float first try...
kono
parents: 79
diff changeset
63 extern void dassop(int e1);
133
7d436c08e949 separate float / double flow
kono
parents: 119
diff changeset
64 extern void dmachinop(int e1,int d);
81
f94ca1168520 float first try...
kono
parents: 79
diff changeset
65 extern void dassign(int e1);
61
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
66
8ffb8ca3fe34 separation of architecture dependent part.
kono
parents:
diff changeset
67 /* end */