mirror of
https://github.com/qemu/qemu.git
synced 2025-08-09 10:25:06 +00:00
Register helper functions.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4700 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
29ddf27b72
commit
7dd9e556e3
@ -1,8 +1,14 @@
|
|||||||
void do_raise_exception_err(int excp, int err);
|
#ifndef DEF_HELPER
|
||||||
void do_raise_exception(int excp);
|
#define DEF_HELPER(ret, name, params) ret name params;
|
||||||
void do_interrupt_restart (void);
|
#endif
|
||||||
|
|
||||||
void do_clo (void);
|
DEF_HELPER(void, do_raise_exception_err, (int excp, int err))
|
||||||
void do_clz (void);
|
DEF_HELPER(void, do_raise_exception, (int excp))
|
||||||
void do_dclo (void);
|
DEF_HELPER(void, do_interrupt_restart, (void))
|
||||||
void do_dclz (void);
|
|
||||||
|
DEF_HELPER(void, do_clo, (void))
|
||||||
|
DEF_HELPER(void, do_clz, (void))
|
||||||
|
#ifdef TARGET_MIPS64
|
||||||
|
DEF_HELPER(void, do_dclo, (void))
|
||||||
|
DEF_HELPER(void, do_dclz, (void))
|
||||||
|
#endif
|
||||||
|
@ -7476,6 +7476,11 @@ static void mips_tcg_init(void)
|
|||||||
cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1");
|
cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* register helpers */
|
||||||
|
#undef DEF_HELPER
|
||||||
|
#define DEF_HELPER(ret, name, params) tcg_register_helper(name, #name);
|
||||||
|
#include "helper.h"
|
||||||
|
|
||||||
inited = 1;
|
inited = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user