From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2RT1-0004SA-HI for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:26:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2RSw-0004KF-Ht for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:26:42 -0400 Received: from [199.232.76.173] (port=41007 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2RSw-0004K0-EJ for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:26:38 -0400 Received: from moutng.kundenserver.de ([212.227.17.10]:59163) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2RSv-0004Fk-S8 for qemu-devel@nongnu.org; Mon, 26 Oct 2009 11:26:38 -0400 Message-ID: <4AE5BFA3.60602@mail.berlios.de> Date: Mon, 26 Oct 2009 16:26:27 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] tcg, tci: Add TCG and interpreter for bytecode (virtual machine) References: <4AC0E93A.6010605@mail.berlios.de> <1254156621-28559-1-git-send-email-weil@mail.berlios.de> <20091004182724.GA26105@miranda.arrow> <4AD208F5.9000203@mail.berlios.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: malc Cc: QEMU Developers malc schrieb: > > > On Sun, 11 Oct 2009, Stefan Weil wrote: >> Stuart Brady schrieb: >>> On Mon, Sep 28, 2009 at 06:50:21PM +0200, Stefan Weil wrote: >>>> Please send patches / enhancements based on my latest >>>> version from git://repo.or.cz/qemu/ar7.git. >>> Just bug reports for now, unfortunately... > > [..snip..] > >> git://repo.or.cz/qemu/ar7.git contains the latest changes. >> >> If the maintainers want to integrate tci in the official qemu, >> I can prepare the patches needed to add bytecode generator >> and interpreter and tcg host support for any host. > > I've looked at the code, and the problem with helpers is essentially > unsolved, if only things were as simple as casting things to > `helper_function' and expecting it will work, not that it's _that_ > much more complex, but still.. Hello Malc, I read your comments on the possible ABI problems. Nevertheless, as far as I could see all existing TCG hosts simply use fixed registers when calling helper functions. So the same approach should work for TCI, too. At least it is possible to run complete operating systems using this approach. What do you think would be needed to get a first stage of TCI integrated in QEMU master? Regards, Stefan