Re:Introduction to the Mill CPU Programming Model
by zanny on Saturday February 08, 2014 @12:17PM
(#7201763)
Back when Itanium hit the market we didn't have LLVM, I wonder how hard it would be to write an assembler for Mill with it.
[ Parent
| on HN ]
Re:Introduction to the Mill CPU Programming Model
by jmz92 on Saturday February 08, 2014 @02:43PM
(#7202304)
LLVM intermediate representation and Mill code are going to be pretty different. The LLVM machine model is a register based machine (with an arbitrary number of registers--the backends do the work of register allocation). Basically, an easier RISC-ish assembly.
So, while LLVM would be helpful for porting things to the Mill, as it's largely a "solve once use everywhere" problem, it's still not trivial. It could take a lot of effort to make it competitive.