[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 7/8] tcg: Add tcg-runtime.c helpers to all_helpers
From: |
Richard Henderson |
Subject: |
[Qemu-devel] [PATCH 7/8] tcg: Add tcg-runtime.c helpers to all_helpers |
Date: |
Sat, 14 Sep 2013 17:03:53 -0700 |
For the few targets that actually use these, we'd not report
them symbolicly in the tcg opcode logs.
Signed-off-by: Richard Henderson <address@hidden>
---
tcg/tcg.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/tcg/tcg.c b/tcg/tcg.c
index 9ace8fc..bf4edfd 100644
--- a/tcg/tcg.c
+++ b/tcg/tcg.c
@@ -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)
--
1.8.1.4
- Re: [Qemu-devel] [PATCH 1/8] tcg: Delete tcg_helper_get_name declaration, (continued)
- [Qemu-devel] [PATCH 2/8] tcg: Use a GHashTable for tcg_find_helper, Richard Henderson, 2013/09/14
- [Qemu-devel] [PATCH 3/8] target-m68k: Rename helpers.h to helper.h, Richard Henderson, 2013/09/14
- [Qemu-devel] [PATCH 4/8] tcg: Move helper registration into tcg_context_init, Richard Henderson, 2013/09/14
- [Qemu-devel] [PATCH 5/8] tcg: Remove stray semi-colons from target-*/helper.h, Richard Henderson, 2013/09/14
- [Qemu-devel] [PATCH 6/8] tcg: Put target helper data into an array., Richard Henderson, 2013/09/14
- [Qemu-devel] [PATCH 7/8] tcg: Add tcg-runtime.c helpers to all_helpers,
Richard Henderson <=
- [Qemu-devel] [PATCH 8/8] tcg: Merge tcg_register_helper into tcg_context_init, Richard Henderson, 2013/09/14