Design of retargetable compiler back-end based on XP-ADL
WEI Lianghui, LI Xi, XU Burong, JI Jinsong(Dept. of Computer Sci. & Tech., Univ. of Sci. & Tech. of China, Hefei 230027, China)
To develop a compiler for embedded system which can be applied in various architectures in short time and generate high quality codes, a retargetable compiler back-end based on Trimaran is designed and implemented. The back-end uses XP-ADL (XML-based Power-architecture Description Language) which can describe broad architectures, and manipulates schedule scope of instructions by profiling information,so the generated code quality is greatly improved. The experiments for DLX architecture show that the running time is decreased by 5% compared with GCC in generating codes.