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

Read more

Summary

Introduction

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

LLVM basic architecture analysis
LLVM virtual instruction set
LLVM integrated library
LLVM toolset
Arithmetic operation instructions
Overall system test
Summary
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call