Loading target-mips/helper.h +13 −7 Original line number Diff line number Diff line void do_raise_exception_err(int excp, int err); void do_raise_exception(int excp); void do_interrupt_restart (void); #ifndef DEF_HELPER #define DEF_HELPER(ret, name, params) ret name params; #endif void do_clo (void); void do_clz (void); void do_dclo (void); void do_dclz (void); DEF_HELPER(void, do_raise_exception_err, (int excp, int err)) DEF_HELPER(void, do_raise_exception, (int excp)) DEF_HELPER(void, do_interrupt_restart, (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 target-mips/translate.c +5 −0 Original line number Diff line number Diff line Loading @@ -7476,6 +7476,11 @@ static void mips_tcg_init(void) cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1"); #endif /* register helpers */ #undef DEF_HELPER #define DEF_HELPER(ret, name, params) tcg_register_helper(name, #name); #include "helper.h" inited = 1; } Loading Loading
target-mips/helper.h +13 −7 Original line number Diff line number Diff line void do_raise_exception_err(int excp, int err); void do_raise_exception(int excp); void do_interrupt_restart (void); #ifndef DEF_HELPER #define DEF_HELPER(ret, name, params) ret name params; #endif void do_clo (void); void do_clz (void); void do_dclo (void); void do_dclz (void); DEF_HELPER(void, do_raise_exception_err, (int excp, int err)) DEF_HELPER(void, do_raise_exception, (int excp)) DEF_HELPER(void, do_interrupt_restart, (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
target-mips/translate.c +5 −0 Original line number Diff line number Diff line Loading @@ -7476,6 +7476,11 @@ static void mips_tcg_init(void) cpu_T[1] = tcg_global_reg_new(TCG_TYPE_TL, TCG_AREG2, "T1"); #endif /* register helpers */ #undef DEF_HELPER #define DEF_HELPER(ret, name, params) tcg_register_helper(name, #name); #include "helper.h" inited = 1; } Loading