From patchwork Sun Sep 15 00:03:53 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 274996 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id AEF3F2C0155 for ; Sun, 15 Sep 2013 10:07:30 +1000 (EST) Received: from localhost ([::1]:54994 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKzs8-00049o-Lb for incoming@patchwork.ozlabs.org; Sat, 14 Sep 2013 20:07:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48233) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKzp2-0007Yd-DL for qemu-devel@nongnu.org; Sat, 14 Sep 2013 20:04:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VKzow-00011h-K5 for qemu-devel@nongnu.org; Sat, 14 Sep 2013 20:04:16 -0400 Received: from mail-pa0-x22e.google.com ([2607:f8b0:400e:c03::22e]:48008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VKzow-00011Z-Cf for qemu-devel@nongnu.org; Sat, 14 Sep 2013 20:04:10 -0400 Received: by mail-pa0-f46.google.com with SMTP id fa1so3936023pad.5 for ; Sat, 14 Sep 2013 17:04:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=4Rc+JKolI+0bZHfgGR/mVMZJbhnHCY+BnO2IAi59Dys=; b=Hy1089/9c3zwYSjb0nl5mG6lzOL/FIosYmURJxQ7TrPBtZ8smLOe+RWaQuVkAjs/3B 13K+RsHHWulsrT64fJ+mdlSTQcezhTorp5zITQVB6kXuQVgf7yfLZfnasrxzpWc4dtVq Jf4rfvVaqVDsMWxHm2aPcluxfHppp4GtMnjrS9MdP1kO7UOgUSGKgUuxH+jOuOR2Lv3s hv8huzFtOr0HFGABcfJw69xerQDfScZ4dL0d8Xj3OBhsNnl/poY6qsdLsphUMuEI6L4n nPLhM/5+A3WeeSRjR9CMdMq7rDPHtj0nf+dMD2cX2j6GtFHkRmAkMd78ImpJbgRTHytt HxCg== X-Received: by 10.66.170.168 with SMTP id an8mr23298803pac.58.1379203449511; Sat, 14 Sep 2013 17:04:09 -0700 (PDT) Received: from anchor.twiddle.net (50-194-63-110-static.hfc.comcastbusiness.net. [50.194.63.110]) by mx.google.com with ESMTPSA id vz4sm27763065pab.11.1969.12.31.16.00.00 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sat, 14 Sep 2013 17:04:08 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Date: Sat, 14 Sep 2013 17:03:53 -0700 Message-Id: <1379203434-5680-8-git-send-email-rth@twiddle.net> X-Mailer: git-send-email 1.8.1.4 In-Reply-To: <1379203434-5680-1-git-send-email-rth@twiddle.net> References: <1379203434-5680-1-git-send-email-rth@twiddle.net> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::22e Cc: peter.maydell@linaro.org, Richard Henderson , aurelien@aurel32.net, sw@weilnetz.de Subject: [Qemu-devel] [PATCH 7/8] tcg: Add tcg-runtime.c helpers to all_helpers X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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 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)