* [Qemu-devel] targets that still use dyngen [not found] <9244BB22-0C07-4AA6-81D0-71353D39DAF2@hotmail.com> @ 2008-07-29 1:58 ` C.W. Betts 2008-07-29 6:23 ` Laurent Desnogues 2008-07-29 20:11 ` malc 0 siblings, 2 replies; 6+ messages in thread From: C.W. Betts @ 2008-07-29 1:58 UTC (permalink / raw) To: qemu-devel [-- Attachment #1: Type: text/plain, Size: 635 bytes --] What targets still use dyngen? According to the current source tree, Alpha, CRIS PowerPC, and SH4 are still using dyngen; they have an op.c file in their target- directory: ls */op.c target-alpha/op.c target-cris/op.c target-ppc/op.c target-sh4/op.c I know nothing about architecture design, so I don't know how much effort would be needed to get the rest of these targets to use TCG. I know somebody here (malc) has helped make the TCG backends for PowerPC, and surely the work for the front-end wouldn't be that much harder (I say naively). Also, is anyone doing work porting these to TCG that we don't know about? [-- Attachment #2: This is a digitally signed message part --] [-- Type: application/pgp-signature, Size: 215 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] targets that still use dyngen 2008-07-29 1:58 ` [Qemu-devel] targets that still use dyngen C.W. Betts @ 2008-07-29 6:23 ` Laurent Desnogues 2008-07-29 20:11 ` malc 1 sibling, 0 replies; 6+ messages in thread From: Laurent Desnogues @ 2008-07-29 6:23 UTC (permalink / raw) To: qemu-devel On Tue, Jul 29, 2008 at 3:58 AM, C.W. Betts <computers57@hotmail.com> wrote: > What targets still use dyngen? According to the current source tree, Alpha, > CRIS PowerPC, and SH4 are still using dyngen; they have an op.c file in > their target- directory: > ls */op.c > target-alpha/op.c target-cris/op.c target-ppc/op.c > target-sh4/op.c CRIS has been converted to TCG. I guess the op.c file is a left-over. > I know nothing about architecture design, so I don't know how much effort > would be needed to get the rest of these targets to use TCG. I know > somebody here (malc) has helped make the TCG backends for PowerPC, and > surely the work for the front-end wouldn't be that much harder (I say > naively). Also, is anyone doing work porting these to TCG that we don't > know about? According to the maintainer list, Jocelyn Mayer is the owner of the Alpha and PPC targets. You could perhaps try to ask him directly. Laurent ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] targets that still use dyngen 2008-07-29 1:58 ` [Qemu-devel] targets that still use dyngen C.W. Betts 2008-07-29 6:23 ` Laurent Desnogues @ 2008-07-29 20:11 ` malc 2008-07-29 20:34 ` Laurent Desnogues 2008-07-29 21:13 ` J. Mayer 1 sibling, 2 replies; 6+ messages in thread From: malc @ 2008-07-29 20:11 UTC (permalink / raw) To: qemu-devel On Mon, 28 Jul 2008, C.W. Betts wrote: > What targets still use dyngen? According to the current source tree, Alpha, > CRIS PowerPC, and SH4 are still using dyngen; they have an op.c file in their > target- directory: > ls */op.c > target-alpha/op.c target-cris/op.c target-ppc/op.c > target-sh4/op.c > I know nothing about architecture design, so I don't know how much > effort would be needed to get the rest of these targets to use TCG. > I know somebody here (malc) has helped make the TCG backends for > PowerPC, and surely the work for the front-end wouldn't be that much > harder (I say naively). Also, is anyone doing work porting these to > TCG that we don't know about? It is harder, also much more tedious and requiring intimate knowlege of underlying architecture. -- mailto:av1474@comtv.ru ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] targets that still use dyngen 2008-07-29 20:11 ` malc @ 2008-07-29 20:34 ` Laurent Desnogues 2008-07-30 18:34 ` malc 2008-07-29 21:13 ` J. Mayer 1 sibling, 1 reply; 6+ messages in thread From: Laurent Desnogues @ 2008-07-29 20:34 UTC (permalink / raw) To: qemu-devel On Tue, Jul 29, 2008 at 10:11 PM, malc <av1474@comtv.ru> wrote: > It is harder, also much more tedious and requiring intimate knowlege of > underlying architecture. I would have thought that Alpha is of similar complexity as MIPS, that is less than SPARC, x86 or ARM. Or did you mean that writing a front-end is harder than a TCG target? Laurent ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] targets that still use dyngen 2008-07-29 20:34 ` Laurent Desnogues @ 2008-07-30 18:34 ` malc 0 siblings, 0 replies; 6+ messages in thread From: malc @ 2008-07-30 18:34 UTC (permalink / raw) To: qemu-devel On Tue, 29 Jul 2008, Laurent Desnogues wrote: > On Tue, Jul 29, 2008 at 10:11 PM, malc <av1474@comtv.ru> wrote: >> It is harder, also much more tedious and requiring intimate knowlege of >> underlying architecture. > > I would have thought that Alpha is of similar complexity as MIPS, > that is less than SPARC, x86 or ARM. Or did you mean that > writing a front-end is harder than a TCG target? Yes the latter. -- mailto:av1474@comtv.ru ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] targets that still use dyngen 2008-07-29 20:11 ` malc 2008-07-29 20:34 ` Laurent Desnogues @ 2008-07-29 21:13 ` J. Mayer 1 sibling, 0 replies; 6+ messages in thread From: J. Mayer @ 2008-07-29 21:13 UTC (permalink / raw) To: qemu-devel On Wed, 2008-07-30 at 00:11 +0400, malc wrote: > On Mon, 28 Jul 2008, C.W. Betts wrote: > > > What targets still use dyngen? According to the current source tree, Alpha, > > CRIS PowerPC, and SH4 are still using dyngen; they have an op.c file in their > > target- directory: > > ls */op.c > > target-alpha/op.c target-cris/op.c target-ppc/op.c > > target-sh4/op.c > > > I know nothing about architecture design, so I don't know how much > > effort would be needed to get the rest of these targets to use TCG. > > I know somebody here (malc) has helped make the TCG backends for > > PowerPC, and surely the work for the front-end wouldn't be that much > > harder (I say naively). Also, is anyone doing work porting these to > > TCG that we don't know about? > > It is harder, also much more tedious and requiring intimate knowlege of > underlying architecture. I haved planned to port Alpha and PowerPC to tgc, but got no time / running reference hardware to do it properly at this time. I suppose I would start with Alpha, which is a very simple target, as a training before starting porting PowerPC. And before starting working on PowerPC, I have to isolate and fix various regressions that have been committed during the last monthes (but still I need to have my PowerPC references platforms running to be able to validate the fixes). Talking about Alpha, I would greatly like someone who actually has knowledge of this platform to go on developping it, as I got no hardware to compare with and validate the emulation. If anyone feels like working on it, at least try to compare Qemu behavior with actual hardware and report bugs.... Regards. -- J. Mayer <l_indien@magic.fr> Never organized ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-07-30 18:34 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- [not found] <9244BB22-0C07-4AA6-81D0-71353D39DAF2@hotmail.com> 2008-07-29 1:58 ` [Qemu-devel] targets that still use dyngen C.W. Betts 2008-07-29 6:23 ` Laurent Desnogues 2008-07-29 20:11 ` malc 2008-07-29 20:34 ` Laurent Desnogues 2008-07-30 18:34 ` malc 2008-07-29 21:13 ` J. Mayer
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).