qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: malc <av1474@comtv.ru>
To: Stefan Weil <weil@mail.berlios.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] tcg, tci: Add TCG and interpreter for bytecode (virtual machine)
Date: Sun, 11 Oct 2009 20:55:34 +0400 (MSD)	[thread overview]
Message-ID: <Pine.LNX.4.64.0910112055190.7382@linmac.oyster.ru> (raw)
In-Reply-To: <4AD208F5.9000203@mail.berlios.de>

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...
> >
> > exec-all.h defines 'USE_DIRECT_JUMP' based on the host architecture,
> > which is not relevant under TCI. Also, a tb_set_jmp_target1()
> > implementation is needed for TCI.
> Done. Tested with mips / mipsel host.
> >
> > I think tcg_out64() belongs in tcg.c along with tcg_out8/16/32().
> > There are places where the x86_64, ppc64 and s390 TCG targets call
> > out32() twice, which should be replaced with a single call to out64().
> This is still to be done.
> >
> > tcg_out16(), tcg_out32() and tcg_out64(), etc. rely on the code buffer
> > pointer being aligned on those architectures that require alignment...
> > We'd need definitions of these in terms of stw_p(), stl_p() and stq_p()
> > for TCI... Is there any reason to preserve the old definitions?
> >
> > (BTW, there's no 'ldul' macro, so perhaps one should be added, although
> > the names in that set of macros and functions are rather unclear, so
> > perhaps some more descriptive naming could be used for new code.)
> >
> > Cheers,
> Here is a status update:
> 
> A basic test of tcg + interpreter which includes system emulation
> (pc bios) and linux user mode (simple hello) now works for
> i386, x86_64, mips and mipsel hosts with i386 and x86_64 guests.
> Endianess and 32/64 bit issues should be fixed now.
> Alignment is still to be done (my test platforms don't need it).
> 
> So it is finally possible again to run qemu on mips hosts,
> and any 32 or 64 bit host should be able to run qemu, too.
> Of course the interpreted code is not fast - in my test on
> an emulated mips malta machine it is even terribly slow.
> 
> 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'm, at the very least, will definitely look at it.

-- 
mailto:av1474@comtv.ru

  reply	other threads:[~2009-10-11 16:55 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 16:50 [Qemu-devel] [RFC] tcg/interpreter: Add TCG + interpreter for bytecode (virtual machine) Stefan Weil
2009-09-28 16:50 ` [Qemu-devel] [PATCH] tcg, tci: Add TCG and " Stefan Weil
2009-09-28 18:42   ` Blue Swirl
2009-09-28 21:33     ` Stefan Weil
2009-10-04 18:27   ` Stuart Brady
2009-10-11 16:33     ` Stefan Weil
2009-10-11 16:55       ` malc [this message]
2009-10-11 21:04       ` malc
2009-10-26 15:26         ` Stefan Weil
2009-10-26 15:52           ` malc
2009-10-11 23:17       ` Stuart Brady
2009-10-11 23:50         ` malc
2009-10-12  6:46           ` Stuart Brady
2009-10-12 12:33             ` malc
2009-10-12 12:55               ` malc
2009-10-12 17:39               ` Stuart Brady
2009-10-12 20:07                 ` malc
2009-10-12 20:30                   ` Stuart Brady
2010-05-12 19:06 ` [Qemu-devel] [RFC] tcg/interpreter: Add TCG + " Stefan Weil
2010-05-13  2:01 ` Jun Koi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.64.0910112055190.7382@linmac.oyster.ru \
    --to=av1474@comtv.ru \
    --cc=qemu-devel@nongnu.org \
    --cc=weil@mail.berlios.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).