問題描述
關於編譯器中代碼生成的參考(中間表示、SSA、指令選擇、寄存器分配等)? (References on code generation in a compiler (intermediate representations, SSA, instruction selection, register allocation, etc.)?)
我有龍書和ML 中的現代編譯器實現。我正在尋找有關編譯器中代碼生成的其他好的資源。可以推荐一下嗎?
參考解法
方法 1:
My favourite is "Building an Optimizing Compiler" by Robert Morgan. Very practical, covers static single assignment.
(by Andru Luvisi、janm)