2 typedef size_t regmask_t;
11 #ifdef MONO_ARCH_NEED_SIMD_BANK
12 #define MONO_NUM_REGBANKS 3
14 #define MONO_NUM_REGBANKS 2
18 /* symbolic registers */
22 regmask_t free_mask [MONO_NUM_REGBANKS];
24 /* symbolic -> hard register assignment */
26 * If the register is spilled, then this contains -spill - 1, where 'spill'
27 * is the index of the spill variable.
31 /* hard -> symbolic */
32 int isymbolic [MONO_MAX_IREGS];
33 int fsymbolic [MONO_MAX_FREGS];
34 #ifdef MONO_ARCH_NEED_SIMD_BANK
35 int xsymbolic [MONO_MAX_XREGS];
37 /* Points to the arrays above */
38 int *symbolic [MONO_NUM_REGBANKS];
43 MonoRegState* mono_regstate_new (void) MONO_INTERNAL;
45 void mono_regstate_free (MonoRegState *rs) MONO_INTERNAL;