qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqe


From: Axel Zeuner
Subject: Re: [Qemu-devel] [RFC/experimental patch] qemu (x86_64 on x86_64 -no-kqemu) compiles with gcc4 and works
Date: Mon, 26 Mar 2007 19:14:54 +0200
User-agent: KMail/1.9.5

Hi Avi,
On Sunday 25 March 2007 15:40, Avi Kivity wrote:
> Axel Zeuner wrote:
> > A full featured converter (cvtasm) has a lot of dependencies: it has to
> > support all hosts (M) (with all assembler dialects M') and all targets N,
> > i.e. in the worst case one would end with M'x N variants of it, or M x N
> > if one supports only one assembler dialect per host.  It is clear, that
> > the number of variants is one of the biggest disadvantages of such an
> > approach.
>
> Perhaps a mixed approach can be made for gradual conversion: for
> combinations where cvtasm has been written, use that.  Where that's
> still to be done, have dyngen generate call instructions to the ops
> instead of pasting the ops text directly.
Perhaps, but I am not sure, if the changes required for generating calls with 
parameters to functions instead of copied code in dyngen are much smaller 
than hand written code generators. Furthermore one would surely lose some 
performance.

Kind Regards
Axel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]