Re:Hand-optimizing the TCC code generator
by GeorgeTirebiter on Thursday April 07, 2022 @01:44PM
(#30947882)
I've been porting subc https://www.t3x.org/subc/ to my 36-bit RISC machine arch. It's by no means 'full' C, however:
1. It is Public Domain. I like that.
2. There is a book ($) that explains it in detail (and it's good).
I respect the design choices made, and the compiler can compile itself once bootstrapped. It's really fast, but code gen is only 'ok'. That's a tradeoff that works for me.
1. It is Public Domain. I like that.
2. There is a book ($) that explains it in detail (and it's good).
I respect the design choices made, and the compiler can compile itself once bootstrapped. It's really fast, but code gen is only 'ok'. That's a tradeoff that works for me.