Difference between revisions of "Compiler"

From NaplesPU Documentation
Jump to: navigation, search
Line 3: Line 3:
 
Adding a new target architecture, i.e. nu+, to llvm requires four steps:  
 
Adding a new target architecture, i.e. nu+, to llvm requires four steps:  
 
* [[Backend|write all backend files and place them into the lib/Target/NuPlus folder]]
 
* [[Backend|write all backend files and place them into the lib/Target/NuPlus folder]]
* modify the Clang frontend
+
* [[Frontend|modify the Clang frontend]]
* register and add the new backend to llvm
+
* [[How to add a new backend to llvm|register and add the new backend to llvm]]
* modify and/or add all the external tools that are used by llvm, i.e. linker, disassembler, etc..
+
* [[Tools|modify and/or add all the external tools that are used by llvm, i.e. linker, disassembler, etc..]]
 
 
[[How to add a new backend to llvm|How to add a new backend to llvm]]
 

Revision as of 18:02, 12 September 2017

This is the main nu+ compiler documentation page

Adding a new target architecture, i.e. nu+, to llvm requires four steps: