diff options
author | Richard Henderson <rth@twiddle.net> | 2013-09-14 16:06:50 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-10-10 11:44:25 -0700 |
commit | 4953ee62711bd11a55e58b26c8c71b302198363c (patch) | |
tree | cd83df325376bf198de07bece1ca6e2cae4b26a6 /tcg/tcg.c | |
parent | 100b5e0170e86661aaf830869be930a1a201ed08 (diff) |
tcg: Add tcg-runtime.c helpers to all_helpers
For the few targets that actually use these, we'd not report
them symbolicly in the tcg opcode logs.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tcg.c')
-rw-r--r-- | tcg/tcg.c | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -264,6 +264,22 @@ typedef struct TCGHelperInfo { static const TCGHelperInfo all_helpers[] = { #define GEN_HELPER 2 #include "helper.h" + + /* Include tcg-runtime.c functions. */ + { tcg_helper_div_i32, "div_i32" }, + { tcg_helper_rem_i32, "rem_i32" }, + { tcg_helper_divu_i32, "divu_i32" }, + { tcg_helper_remu_i32, "remu_i32" }, + + { tcg_helper_shl_i64, "shl_i64" }, + { tcg_helper_shr_i64, "shr_i64" }, + { tcg_helper_sar_i64, "sar_i64" }, + { tcg_helper_div_i64, "div_i64" }, + { tcg_helper_rem_i64, "rem_i64" }, + { tcg_helper_divu_i64, "divu_i64" }, + { tcg_helper_remu_i64, "remu_i64" }, + { tcg_helper_mulsh_i64, "mulsh_i64" }, + { tcg_helper_muluh_i64, "muluh_i64" }, }; void tcg_context_init(TCGContext *s) |