[LLVMdev] New 8bit micro controller back-end

Anton Korobeynikov anton at korobeynikov.info
Tue Nov 24 08:57:59 PST 2009


Hello, David

> That's pretty optimistic, even for someone who knows what to do.
It depends on the target. If it is pretty straightforward, than you
can do almost all the stuff automatically.
The estimate I provided was the real time for first working version
for msp430 backend.

If it is just 'normal' RISCy architecture and one should not care
about ABI weirdness (this is usually true for MCUs), then the estimate
is correct. You just provide patterns for all the operations, expand
everything unsupported. After that you need to write bunch of libcalls
and first version is ready :)

Surely, optimization stuff & supporting of some "nice" features will
require much more time.

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-dev mailing list