On Wednesday 01 August 2007, Dan Shearer wrote: > On Wed, Aug 01, 2007 at 03:23:45PM +0100, Paul Brook wrote: > > Some parts of this code effectively are a "special language" for > > describing a CPU, that happen to be implemented using the C > > preprocessor :-) > > Right, in the same way that QEMU devices written in C are in a device > language? :-)
Not really. The cpu backends are mainly defining parameters for the generic code. Most of it doesn't look much like C. The implementation of the code generator itself is in C, but that's shared between all targets. Paul