Difference between revisions of "Compiler"
From NaplesPU Documentation
Line 1: | Line 1: | ||
<strong>This is the main nu+ compiler documentation page</strong> | <strong>This is the main nu+ compiler documentation page</strong> | ||
− | + | Adding a new target architecture, i.e. nu+, to llvm requires three steps: | |
+ | * write all backend files and place them into the lib/Target/NuPlus folder | ||
+ | * modify the Clang frontend | ||
+ | * register and add the new backend to llvm | ||
+ | |||
[[How to add a new backend to llvm|How to add a new backend to llvm]] | [[How to add a new backend to llvm|How to add a new backend to llvm]] | ||
− | |||
− |
Revision as of 16:07, 12 September 2017
This is the main nu+ compiler documentation page
Adding a new target architecture, i.e. nu+, to llvm requires three steps:
- write all backend files and place them into the lib/Target/NuPlus folder
- modify the Clang frontend
- register and add the new backend to llvm