Statistics
| Branch: | Revision:

root / target-mips / helper.h @ 6ad0a1ed

History | View | Annotate | Download (8.5 kB)

1 a7812ae4 pbrook
#include "def-helper.h"
2 a7812ae4 pbrook
3 a7812ae4 pbrook
DEF_HELPER_2(raise_exception_err, void, i32, int)
4 a7812ae4 pbrook
DEF_HELPER_1(raise_exception, void, i32)
5 7dd9e556 ths
6 c8c2227e ths
#ifdef TARGET_MIPS64
7 a7812ae4 pbrook
DEF_HELPER_3(ldl, tl, tl, tl, int)
8 a7812ae4 pbrook
DEF_HELPER_3(ldr, tl, tl, tl, int)
9 a7812ae4 pbrook
DEF_HELPER_3(sdl, void, tl, tl, int)
10 a7812ae4 pbrook
DEF_HELPER_3(sdr, void, tl, tl, int)
11 c8c2227e ths
#endif
12 a7812ae4 pbrook
DEF_HELPER_3(lwl, tl, tl, tl, int)
13 a7812ae4 pbrook
DEF_HELPER_3(lwr, tl, tl, tl, int)
14 a7812ae4 pbrook
DEF_HELPER_3(swl, void, tl, tl, int)
15 a7812ae4 pbrook
DEF_HELPER_3(swr, void, tl, tl, int)
16 c8c2227e ths
17 e7139c44 Aurelien Jarno
#ifndef CONFIG_USER_ONLY
18 e7139c44 Aurelien Jarno
DEF_HELPER_2(ll, tl, tl, int)
19 e7139c44 Aurelien Jarno
DEF_HELPER_3(sc, tl, tl, tl, int)
20 e7139c44 Aurelien Jarno
#ifdef TARGET_MIPS64
21 e7139c44 Aurelien Jarno
DEF_HELPER_2(lld, tl, tl, int)
22 e7139c44 Aurelien Jarno
DEF_HELPER_3(scd, tl, tl, tl, int)
23 e7139c44 Aurelien Jarno
#endif
24 e7139c44 Aurelien Jarno
#endif
25 e7139c44 Aurelien Jarno
26 e7a6965b aurel32
DEF_HELPER_FLAGS_1(clo, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
27 e7a6965b aurel32
DEF_HELPER_FLAGS_1(clz, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
28 7dd9e556 ths
#ifdef TARGET_MIPS64
29 e7a6965b aurel32
DEF_HELPER_FLAGS_1(dclo, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
30 e7a6965b aurel32
DEF_HELPER_FLAGS_1(dclz, TCG_CALL_CONST | TCG_CALL_PURE, tl, tl)
31 a7812ae4 pbrook
DEF_HELPER_2(dmult, void, tl, tl)
32 a7812ae4 pbrook
DEF_HELPER_2(dmultu, void, tl, tl)
33 7dd9e556 ths
#endif
34 f1aa6320 ths
35 a7812ae4 pbrook
DEF_HELPER_2(muls, tl, tl, tl)
36 a7812ae4 pbrook
DEF_HELPER_2(mulsu, tl, tl, tl)
37 a7812ae4 pbrook
DEF_HELPER_2(macc, tl, tl, tl)
38 a7812ae4 pbrook
DEF_HELPER_2(maccu, tl, tl, tl)
39 a7812ae4 pbrook
DEF_HELPER_2(msac, tl, tl, tl)
40 a7812ae4 pbrook
DEF_HELPER_2(msacu, tl, tl, tl)
41 a7812ae4 pbrook
DEF_HELPER_2(mulhi, tl, tl, tl)
42 a7812ae4 pbrook
DEF_HELPER_2(mulhiu, tl, tl, tl)
43 a7812ae4 pbrook
DEF_HELPER_2(mulshi, tl, tl, tl)
44 a7812ae4 pbrook
DEF_HELPER_2(mulshiu, tl, tl, tl)
45 a7812ae4 pbrook
DEF_HELPER_2(macchi, tl, tl, tl)
46 a7812ae4 pbrook
DEF_HELPER_2(macchiu, tl, tl, tl)
47 a7812ae4 pbrook
DEF_HELPER_2(msachi, tl, tl, tl)
48 a7812ae4 pbrook
DEF_HELPER_2(msachiu, tl, tl, tl)
49 92af06d2 ths
50 f1aa6320 ths
#ifndef CONFIG_USER_ONLY
51 0eaef5aa ths
/* CP0 helpers */
52 a7812ae4 pbrook
DEF_HELPER_0(mfc0_mvpcontrol, tl)
53 a7812ae4 pbrook
DEF_HELPER_0(mfc0_mvpconf0, tl)
54 a7812ae4 pbrook
DEF_HELPER_0(mfc0_mvpconf1, tl)
55 a7812ae4 pbrook
DEF_HELPER_0(mfc0_random, tl)
56 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tcstatus, tl)
57 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tcstatus, tl)
58 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tcbind, tl)
59 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tcbind, tl)
60 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tcrestart, tl)
61 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tcrestart, tl)
62 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tchalt, tl)
63 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tchalt, tl)
64 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tccontext, tl)
65 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tccontext, tl)
66 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tcschedule, tl)
67 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tcschedule, tl)
68 a7812ae4 pbrook
DEF_HELPER_0(mfc0_tcschefback, tl)
69 a7812ae4 pbrook
DEF_HELPER_0(mftc0_tcschefback, tl)
70 a7812ae4 pbrook
DEF_HELPER_0(mfc0_count, tl)
71 a7812ae4 pbrook
DEF_HELPER_0(mftc0_entryhi, tl)
72 a7812ae4 pbrook
DEF_HELPER_0(mftc0_status, tl)
73 a7812ae4 pbrook
DEF_HELPER_0(mfc0_lladdr, tl)
74 a7812ae4 pbrook
DEF_HELPER_1(mfc0_watchlo, tl, i32)
75 a7812ae4 pbrook
DEF_HELPER_1(mfc0_watchhi, tl, i32)
76 a7812ae4 pbrook
DEF_HELPER_0(mfc0_debug, tl)
77 a7812ae4 pbrook
DEF_HELPER_0(mftc0_debug, tl)
78 f1aa6320 ths
#ifdef TARGET_MIPS64
79 a7812ae4 pbrook
DEF_HELPER_0(dmfc0_tcrestart, tl)
80 a7812ae4 pbrook
DEF_HELPER_0(dmfc0_tchalt, tl)
81 a7812ae4 pbrook
DEF_HELPER_0(dmfc0_tccontext, tl)
82 a7812ae4 pbrook
DEF_HELPER_0(dmfc0_tcschedule, tl)
83 a7812ae4 pbrook
DEF_HELPER_0(dmfc0_tcschefback, tl)
84 a7812ae4 pbrook
DEF_HELPER_0(dmfc0_lladdr, tl)
85 a7812ae4 pbrook
DEF_HELPER_1(dmfc0_watchlo, tl, i32)
86 f1aa6320 ths
#endif /* TARGET_MIPS64 */
87 f1aa6320 ths
88 a7812ae4 pbrook
DEF_HELPER_1(mtc0_index, void, tl)
89 a7812ae4 pbrook
DEF_HELPER_1(mtc0_mvpcontrol, void, tl)
90 a7812ae4 pbrook
DEF_HELPER_1(mtc0_vpecontrol, void, tl)
91 a7812ae4 pbrook
DEF_HELPER_1(mtc0_vpeconf0, void, tl)
92 a7812ae4 pbrook
DEF_HELPER_1(mtc0_vpeconf1, void, tl)
93 a7812ae4 pbrook
DEF_HELPER_1(mtc0_yqmask, void, tl)
94 a7812ae4 pbrook
DEF_HELPER_1(mtc0_vpeopt, void, tl)
95 a7812ae4 pbrook
DEF_HELPER_1(mtc0_entrylo0, void, tl)
96 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tcstatus, void, tl)
97 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tcstatus, void, tl)
98 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tcbind, void, tl)
99 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tcbind, void, tl)
100 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tcrestart, void, tl)
101 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tcrestart, void, tl)
102 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tchalt, void, tl)
103 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tchalt, void, tl)
104 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tccontext, void, tl)
105 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tccontext, void, tl)
106 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tcschedule, void, tl)
107 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tcschedule, void, tl)
108 a7812ae4 pbrook
DEF_HELPER_1(mtc0_tcschefback, void, tl)
109 a7812ae4 pbrook
DEF_HELPER_1(mttc0_tcschefback, void, tl)
110 a7812ae4 pbrook
DEF_HELPER_1(mtc0_entrylo1, void, tl)
111 a7812ae4 pbrook
DEF_HELPER_1(mtc0_context, void, tl)
112 a7812ae4 pbrook
DEF_HELPER_1(mtc0_pagemask, void, tl)
113 a7812ae4 pbrook
DEF_HELPER_1(mtc0_pagegrain, void, tl)
114 a7812ae4 pbrook
DEF_HELPER_1(mtc0_wired, void, tl)
115 a7812ae4 pbrook
DEF_HELPER_1(mtc0_srsconf0, void, tl)
116 a7812ae4 pbrook
DEF_HELPER_1(mtc0_srsconf1, void, tl)
117 a7812ae4 pbrook
DEF_HELPER_1(mtc0_srsconf2, void, tl)
118 a7812ae4 pbrook
DEF_HELPER_1(mtc0_srsconf3, void, tl)
119 a7812ae4 pbrook
DEF_HELPER_1(mtc0_srsconf4, void, tl)
120 a7812ae4 pbrook
DEF_HELPER_1(mtc0_hwrena, void, tl)
121 a7812ae4 pbrook
DEF_HELPER_1(mtc0_count, void, tl)
122 a7812ae4 pbrook
DEF_HELPER_1(mtc0_entryhi, void, tl)
123 a7812ae4 pbrook
DEF_HELPER_1(mttc0_entryhi, void, tl)
124 a7812ae4 pbrook
DEF_HELPER_1(mtc0_compare, void, tl)
125 a7812ae4 pbrook
DEF_HELPER_1(mtc0_status, void, tl)
126 a7812ae4 pbrook
DEF_HELPER_1(mttc0_status, void, tl)
127 a7812ae4 pbrook
DEF_HELPER_1(mtc0_intctl, void, tl)
128 a7812ae4 pbrook
DEF_HELPER_1(mtc0_srsctl, void, tl)
129 a7812ae4 pbrook
DEF_HELPER_1(mtc0_cause, void, tl)
130 a7812ae4 pbrook
DEF_HELPER_1(mtc0_ebase, void, tl)
131 a7812ae4 pbrook
DEF_HELPER_1(mtc0_config0, void, tl)
132 a7812ae4 pbrook
DEF_HELPER_1(mtc0_config2, void, tl)
133 2a6e32dd Aurelien Jarno
DEF_HELPER_1(mtc0_lladdr, void, tl)
134 a7812ae4 pbrook
DEF_HELPER_2(mtc0_watchlo, void, tl, i32)
135 a7812ae4 pbrook
DEF_HELPER_2(mtc0_watchhi, void, tl, i32)
136 a7812ae4 pbrook
DEF_HELPER_1(mtc0_xcontext, void, tl)
137 a7812ae4 pbrook
DEF_HELPER_1(mtc0_framemask, void, tl)
138 a7812ae4 pbrook
DEF_HELPER_1(mtc0_debug, void, tl)
139 a7812ae4 pbrook
DEF_HELPER_1(mttc0_debug, void, tl)
140 a7812ae4 pbrook
DEF_HELPER_1(mtc0_performance0, void, tl)
141 a7812ae4 pbrook
DEF_HELPER_1(mtc0_taglo, void, tl)
142 a7812ae4 pbrook
DEF_HELPER_1(mtc0_datalo, void, tl)
143 a7812ae4 pbrook
DEF_HELPER_1(mtc0_taghi, void, tl)
144 a7812ae4 pbrook
DEF_HELPER_1(mtc0_datahi, void, tl)
145 f1aa6320 ths
146 f1aa6320 ths
/* MIPS MT functions */
147 a7812ae4 pbrook
DEF_HELPER_1(mftgpr, tl, i32);
148 a7812ae4 pbrook
DEF_HELPER_1(mftlo, tl, i32)
149 a7812ae4 pbrook
DEF_HELPER_1(mfthi, tl, i32)
150 a7812ae4 pbrook
DEF_HELPER_1(mftacx, tl, i32)
151 a7812ae4 pbrook
DEF_HELPER_0(mftdsp, tl)
152 a7812ae4 pbrook
DEF_HELPER_2(mttgpr, void, tl, i32)
153 a7812ae4 pbrook
DEF_HELPER_2(mttlo, void, tl, i32)
154 a7812ae4 pbrook
DEF_HELPER_2(mtthi, void, tl, i32)
155 a7812ae4 pbrook
DEF_HELPER_2(mttacx, void, tl, i32)
156 a7812ae4 pbrook
DEF_HELPER_1(mttdsp, void, tl)
157 9ed5726c Nathan Froyd
DEF_HELPER_0(dmt, tl)
158 9ed5726c Nathan Froyd
DEF_HELPER_0(emt, tl)
159 9ed5726c Nathan Froyd
DEF_HELPER_0(dvpe, tl)
160 9ed5726c Nathan Froyd
DEF_HELPER_0(evpe, tl)
161 0eaef5aa ths
#endif /* !CONFIG_USER_ONLY */
162 3c824109 Nathan Froyd
163 3c824109 Nathan Froyd
/* microMIPS functions */
164 3c824109 Nathan Froyd
DEF_HELPER_3(lwm, void, tl, tl, i32);
165 3c824109 Nathan Froyd
DEF_HELPER_3(swm, void, tl, tl, i32);
166 3c824109 Nathan Froyd
#ifdef TARGET_MIPS64
167 3c824109 Nathan Froyd
DEF_HELPER_3(ldm, void, tl, tl, i32);
168 3c824109 Nathan Froyd
DEF_HELPER_3(sdm, void, tl, tl, i32);
169 3c824109 Nathan Froyd
#endif
170 3c824109 Nathan Froyd
171 a7812ae4 pbrook
DEF_HELPER_2(fork, void, tl, tl)
172 a7812ae4 pbrook
DEF_HELPER_1(yield, tl, tl)
173 f1aa6320 ths
174 f1aa6320 ths
/* CP1 functions */
175 a7812ae4 pbrook
DEF_HELPER_1(cfc1, tl, i32)
176 a7812ae4 pbrook
DEF_HELPER_2(ctc1, void, tl, i32)
177 5d0fc900 ths
178 a7812ae4 pbrook
DEF_HELPER_1(float_cvtd_s, i64, i32)
179 a7812ae4 pbrook
DEF_HELPER_1(float_cvtd_w, i64, i32)
180 a7812ae4 pbrook
DEF_HELPER_1(float_cvtd_l, i64, i64)
181 a7812ae4 pbrook
DEF_HELPER_1(float_cvtl_d, i64, i64)
182 a7812ae4 pbrook
DEF_HELPER_1(float_cvtl_s, i64, i32)
183 a7812ae4 pbrook
DEF_HELPER_1(float_cvtps_pw, i64, i64)
184 a7812ae4 pbrook
DEF_HELPER_1(float_cvtpw_ps, i64, i64)
185 a7812ae4 pbrook
DEF_HELPER_1(float_cvts_d, i32, i64)
186 a7812ae4 pbrook
DEF_HELPER_1(float_cvts_w, i32, i32)
187 a7812ae4 pbrook
DEF_HELPER_1(float_cvts_l, i32, i64)
188 a7812ae4 pbrook
DEF_HELPER_1(float_cvts_pl, i32, i32)
189 a7812ae4 pbrook
DEF_HELPER_1(float_cvts_pu, i32, i32)
190 a7812ae4 pbrook
DEF_HELPER_1(float_cvtw_s, i32, i32)
191 a7812ae4 pbrook
DEF_HELPER_1(float_cvtw_d, i32, i64)
192 b6d96bed ths
193 a7812ae4 pbrook
DEF_HELPER_2(float_addr_ps, i64, i64, i64)
194 a7812ae4 pbrook
DEF_HELPER_2(float_mulr_ps, i64, i64, i64)
195 b6d96bed ths
196 a7812ae4 pbrook
#define FOP_PROTO(op)                       \
197 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## l_s, i64, i32) \
198 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## l_d, i64, i64) \
199 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## w_s, i32, i32) \
200 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## w_d, i32, i64)
201 b6d96bed ths
FOP_PROTO(round)
202 b6d96bed ths
FOP_PROTO(trunc)
203 b6d96bed ths
FOP_PROTO(ceil)
204 b6d96bed ths
FOP_PROTO(floor)
205 b6d96bed ths
#undef FOP_PROTO
206 b6d96bed ths
207 a7812ae4 pbrook
#define FOP_PROTO(op)                       \
208 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## _s, i32, i32)  \
209 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## _d, i64, i64)
210 a16336e4 ths
FOP_PROTO(sqrt)
211 5d0fc900 ths
FOP_PROTO(rsqrt)
212 5d0fc900 ths
FOP_PROTO(recip)
213 5d0fc900 ths
#undef FOP_PROTO
214 5d0fc900 ths
215 a7812ae4 pbrook
#define FOP_PROTO(op)                       \
216 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## _s, i32, i32)  \
217 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## _d, i64, i64)  \
218 a7812ae4 pbrook
DEF_HELPER_1(float_ ## op ## _ps, i64, i64)
219 b6d96bed ths
FOP_PROTO(abs)
220 b6d96bed ths
FOP_PROTO(chs)
221 b6d96bed ths
FOP_PROTO(recip1)
222 b6d96bed ths
FOP_PROTO(rsqrt1)
223 b6d96bed ths
#undef FOP_PROTO
224 b6d96bed ths
225 a7812ae4 pbrook
#define FOP_PROTO(op)                             \
226 a7812ae4 pbrook
DEF_HELPER_2(float_ ## op ## _s, i32, i32, i32)   \
227 a7812ae4 pbrook
DEF_HELPER_2(float_ ## op ## _d, i64, i64, i64)   \
228 a7812ae4 pbrook
DEF_HELPER_2(float_ ## op ## _ps, i64, i64, i64)
229 5d0fc900 ths
FOP_PROTO(add)
230 5d0fc900 ths
FOP_PROTO(sub)
231 5d0fc900 ths
FOP_PROTO(mul)
232 5d0fc900 ths
FOP_PROTO(div)
233 b6d96bed ths
FOP_PROTO(recip2)
234 b6d96bed ths
FOP_PROTO(rsqrt2)
235 b6d96bed ths
#undef FOP_PROTO
236 b6d96bed ths
237 a7812ae4 pbrook
#define FOP_PROTO(op)                                 \
238 a7812ae4 pbrook
DEF_HELPER_3(float_ ## op ## _s, i32, i32, i32, i32)  \
239 a7812ae4 pbrook
DEF_HELPER_3(float_ ## op ## _d, i64, i64, i64, i64)  \
240 a7812ae4 pbrook
DEF_HELPER_3(float_ ## op ## _ps, i64, i64, i64, i64)
241 a16336e4 ths
FOP_PROTO(muladd)
242 a16336e4 ths
FOP_PROTO(mulsub)
243 a16336e4 ths
FOP_PROTO(nmuladd)
244 a16336e4 ths
FOP_PROTO(nmulsub)
245 5d0fc900 ths
#undef FOP_PROTO
246 5d0fc900 ths
247 a7812ae4 pbrook
#define FOP_PROTO(op)                               \
248 a7812ae4 pbrook
DEF_HELPER_3(cmp_d_ ## op, void, i64, i64, int)     \
249 a7812ae4 pbrook
DEF_HELPER_3(cmpabs_d_ ## op, void, i64, i64, int)  \
250 a7812ae4 pbrook
DEF_HELPER_3(cmp_s_ ## op, void, i32, i32, int)     \
251 a7812ae4 pbrook
DEF_HELPER_3(cmpabs_s_ ## op, void, i32, i32, int)  \
252 a7812ae4 pbrook
DEF_HELPER_3(cmp_ps_ ## op, void, i64, i64, int)    \
253 a7812ae4 pbrook
DEF_HELPER_3(cmpabs_ps_ ## op, void, i64, i64, int)
254 5d0fc900 ths
FOP_PROTO(f)
255 5d0fc900 ths
FOP_PROTO(un)
256 5d0fc900 ths
FOP_PROTO(eq)
257 5d0fc900 ths
FOP_PROTO(ueq)
258 5d0fc900 ths
FOP_PROTO(olt)
259 5d0fc900 ths
FOP_PROTO(ult)
260 5d0fc900 ths
FOP_PROTO(ole)
261 5d0fc900 ths
FOP_PROTO(ule)
262 5d0fc900 ths
FOP_PROTO(sf)
263 5d0fc900 ths
FOP_PROTO(ngle)
264 5d0fc900 ths
FOP_PROTO(seq)
265 5d0fc900 ths
FOP_PROTO(ngl)
266 5d0fc900 ths
FOP_PROTO(lt)
267 5d0fc900 ths
FOP_PROTO(nge)
268 5d0fc900 ths
FOP_PROTO(le)
269 5d0fc900 ths
FOP_PROTO(ngt)
270 5d0fc900 ths
#undef FOP_PROTO
271 08ba7963 ths
272 08ba7963 ths
/* Special functions */
273 0eaef5aa ths
#ifndef CONFIG_USER_ONLY
274 a7812ae4 pbrook
DEF_HELPER_0(tlbwi, void)
275 a7812ae4 pbrook
DEF_HELPER_0(tlbwr, void)
276 a7812ae4 pbrook
DEF_HELPER_0(tlbp, void)
277 a7812ae4 pbrook
DEF_HELPER_0(tlbr, void)
278 a7812ae4 pbrook
DEF_HELPER_0(di, tl)
279 a7812ae4 pbrook
DEF_HELPER_0(ei, tl)
280 a7812ae4 pbrook
DEF_HELPER_0(eret, void)
281 a7812ae4 pbrook
DEF_HELPER_0(deret, void)
282 0eaef5aa ths
#endif /* !CONFIG_USER_ONLY */
283 a7812ae4 pbrook
DEF_HELPER_0(rdhwr_cpunum, tl)
284 a7812ae4 pbrook
DEF_HELPER_0(rdhwr_synci_step, tl)
285 a7812ae4 pbrook
DEF_HELPER_0(rdhwr_cc, tl)
286 a7812ae4 pbrook
DEF_HELPER_0(rdhwr_ccres, tl)
287 a7812ae4 pbrook
DEF_HELPER_1(pmon, void, int)
288 a7812ae4 pbrook
DEF_HELPER_0(wait, void)
289 a7812ae4 pbrook
290 a7812ae4 pbrook
#include "def-helper.h"