annotate test/code-gen-all.c @ 555:ac181d7f9c82

IA32 eval order
author kono
date Fri, 06 Jan 2006 01:16:52 +0900
parents df60b120675d
children 4348f61a5e54
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
520
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
1 #include "code-gen.c"
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
2 int main() {
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
3 #define FLOAT_CODE 1
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
4 #define LONGLONG_CODE 1
550
df60b120675d *** empty log message ***
kono
parents: 520
diff changeset
5 #ifdef INLINE
df60b120675d *** empty log message ***
kono
parents: 520
diff changeset
6 #else
df60b120675d *** empty log message ***
kono
parents: 520
diff changeset
7 #define INLINE
df60b120675d *** empty log message ***
kono
parents: 520
diff changeset
8 #endif
520
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
9 code_endian();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
10 code_lvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
11 code_lvar_address();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
12 code_label();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
13 code_label1();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
14 #if FLOAT_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
15 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
16 #if LONGLONG_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
17 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
18 code_gvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
19 code_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
20 code_fname();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
21 code_neg();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
22 code_not();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
23 code_lnot();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
24 code_preinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
25 code_upostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
26 code_postinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
27 code_upreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
28 code_register_preinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
29 code_register_upostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
30 code_register_postinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
31 code_register_upreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
32 code_return_int();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
33 #if FLOAT_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
34 code_return_float();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
35 code_return_double();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
36 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
37 #if LONGLONG_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
38 code_return_longlong();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
39 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
40 code_return_struct1();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
41 code_return_struct();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
42 code_gt();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
43 code_ugt();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
44 code_ge();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
45 code_uge();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
46 code_eq();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
47 code_bool();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
48 code_bool_const();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
49 code_cmp();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
50 code_cmp_global();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
51 code_cmp_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
52 code_string();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
53 struct_push();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
54 code_rindirect();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
55 code_crindirect();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
56 code_srindirect();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
57 #if FLOAT_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
58 code_drindirect();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
59 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
60 #if LONGLONG_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
61 code_lrindirect();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
62 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
63 code_assign();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
64 code_assign_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
65 code_register_assop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
66 code_iassop_l();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
67 code_iassop_g();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
68 code_iassop_g_c();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
69 code_assop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
70 code_register_assop_const();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
71 code_assop_const();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
72 tosop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
73 oprtc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
74 register_tosop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
75 register_oprtc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
76 #if FLOAT_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
77 code_cmp_dregister();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
78 code_dregister();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
79 code_dassign();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
80 code_register_dassign();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
81 code_dneg();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
82 code_d2i();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
83 code_i2d();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
84 code_d2u();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
85 code_u2d();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
86 code_f2i();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
87 code_i2f();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
88 code_f2u();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
89 code_u2f();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
90 code_dgvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
91 code_dlvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
92 code_cmp_d_global();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
93 code_cmp_d();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
94 dtosop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
95 dtosop_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
96 code_dassop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
97 code_register_dassop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
98 code_dpreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
99 code_dpostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
100 code_register_dpreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
101 code_register_dpostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
102 code_dgt();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
103 code_fgt();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
104 code_dge();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
105 code_fge();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
106 code_deq();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
107 code_dbool();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
108 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
109 #if LONGLONG_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
110 code_lbool();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
111 code_lregister();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
112 code_cmp_lregister();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
113 code_cmp_lrgvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
114 code_cmp_lrlvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
115 code_lassign();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
116 code_lassign_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
117 code_lneg();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
118 code_lrgvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
119 code_lrlvar();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
120 ltosop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
121 loprtc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
122 ltosop_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
123 loprtc_register();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
124 code_i2ll();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
125 code_i2ull();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
126 code_u2ll();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
127 code_u2ull();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
128 code_ll2i();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
129 code_ll2u();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
130 code_ull2i();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
131 code_ull2u();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
132 #if FLOAT_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
133 code_d2ll();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
134 code_d2ull();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
135 code_f2ll();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
136 code_f2ull();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
137 code_ll2d();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
138 code_ll2f();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
139 code_ull2d();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
140 code_ull2f();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
141 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
142 code_lpreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
143 code_lpostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
144 code_lupreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
145 code_lupostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
146 code_register_lpreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
147 code_register_lpostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
148 code_register_lupreinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
149 code_register_lupostinc();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
150 code_register_lassop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
151 code_lassop();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
152 code_register_lassop_const();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
153 code_lassop_const();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
154 code_lassop_l();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
155 code_lassop_g();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
156 code_lassop_g_c();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
157 code_lgt();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
158 code_lugt();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
159 code_lge();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
160 code_luge();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
161 code_leq();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
162 #if 0
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
163 code_lswitch();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
164 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
165 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
166 code_switch();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
167 code_cond_iii();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
168 code_cond_ii0();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
169 code_cond_uuu();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
170 code_cond_uii();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
171 #if FLOAT_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
172 code_cond_fff();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
173 code_cond_ddd();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
174 code_cond_float();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
175 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
176 #if LONGLONG_CODE
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
177 code_cond_lll();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
178 code_cond_ulll();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
179 code_cond_luu();
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
180 #endif
c562d1681275 *** empty log message ***
kono
parents:
diff changeset
181 return 0; }