Abstract
The processor FT_MX is a high-performance chip independently developed by the National University of Defense Technology, with an innovative architecture and instruction set. LLVM architecture is a widely used and efficient open source compiler framework initiated by the University of Illinois. This paper introduces the basic architecture and functions of LLVM, analyzes the back-end migration mechanism of the architecture in detail, and gives the specific process of implementing FT_MX back-end migration, and realizes the support of LLVM architecture to the back-end of FT_MX processor.
Highlights
With the widespread use of integrated circuits and the rapid development of microprocessors, the performance requirements for system power consumption are getting higher and higher
As users pursue the goal of smaller chip size, lower power consumption and faster speed, manufacturers need to take into account factors such as rapid production and profit maximization, which brings greater challenges to the design work of engineers
A method based on open source code and a transplantation strategy is used to construct the compiler
Summary
With the widespread use of integrated circuits and the rapid development of microprocessors, the performance requirements for system power consumption are getting higher and higher. For the hardware resources of embedded systems, the diversity of embedded systems makes different system platforms correspond to different software and hardware development platforms, so when a new microprocessor is used, a new compiler is needed to support it. A method based on open source code and a transplantation strategy is used to construct the compiler. This method provides a complete set of interfaces for defining the hardware architecture, and the interfaces provided can support the existing mainstream processor structure. This article mainly discusses building the FTMX compilation system within the LLVM compilation framework
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.