Skip to contentSkip to conversation

C code generation

Qemu-devel McMullan, Jason 1 participant 1 message May 19, 2005

lore
Share & tools
lore
#0 lore raw

Well, it appears that Linux Torvalds did some compiler research at Transmeta, and made a C->ASM translator (I deign to call it a compiler) as an accidental side-effect of writing a C type checker:

http://tree.celinuxforum.org/pubwiki/moin.cgi/Sparse

The GIT repository is most current, and is at
http://www.kernel.org/pub/scm/devel/sparse/sparse.git

With a little work on non-x86 assembly generation, (A Small Matter Of Programming), we could in theory get this to be the dynagen backend if GCC doesn't work out.

It's a really well written piece of code that pretty understandable.

Signature · 2 lines
Jason McMullan <[email protected]>
TimeSys Corporation