From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUNnA-0003hS-2K for qemu-devel@nongnu.org; Thu, 10 Oct 2013 17:29:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VUNn4-0002P0-9v for qemu-devel@nongnu.org; Thu, 10 Oct 2013 17:29:08 -0400 Received: from mail-pb0-x233.google.com ([2607:f8b0:400e:c01::233]:35635) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VUNn4-0002Oa-3j for qemu-devel@nongnu.org; Thu, 10 Oct 2013 17:29:02 -0400 Received: by mail-pb0-f51.google.com with SMTP id jt11so3212576pbb.10 for ; Thu, 10 Oct 2013 14:29:01 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Thu, 10 Oct 2013 14:28:36 -0700 Message-Id: <1381440525-6666-9-git-send-email-rth@twiddle.net> In-Reply-To: <1381440525-6666-1-git-send-email-rth@twiddle.net> References: <1381440525-6666-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PULL 08/17] tcg: Add tcg-runtime.c helpers to all_helpers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aurelien@aurel32.net, anthony@codemonkey.ws For the few targets that actually use these, we'd not report them symbolicly in the tcg opcode logs. Signed-off-by: Richard Henderson --- tcg/tcg.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tcg/tcg.c b/tcg/tcg.c index 81218dc..154ae5b 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