According to Loongson, on March 18,The famous LLVM International open source software community released version 16.0.0, which implements complete support for the LoongArch instruction set Dragon architecture at the official target level.
LLVM's previous support for LoongArc was an experimental target, but after moving up to a formal backend, it will be compiled by default on any platform without the need for additional CMake options.
At the same time, LoongArch architecture has been more comprehensively supported in the whole LLVM project, including support for OrcJIT, GHC call convention and other advanced features, clang, compiler-rt, lldb, openmp and libunwind sub-projects.
So far, the BIG FIVE, the most important basic software in the open source software world, including the Linux Kernel, the GCC compiler, the LLVM framework system, the Glibc runtime, and the Binutils tool set, have all officially supported the LoongArch architecture.
In this way,Future releases of the LoongArch architecture can be built directly on top of the upstream community versionLoongArch software ecological construction ushered in a new stage of rapid development!
LLVM is one of the most important frameworks for designing and developing compilers today. It not only provides the well-known C/C++ compiler front-end, clang, but also provides framework support for many other programming languages, such as Rust. A lot of large software, including Chromium, uses LLVM as a build tool.
Loongson is an institutional participant with a large amount of code contribution to the LLVM community, having contributed 65,000 lines of source code to the LLVM community since 2022.
In addition, open source developers from home and abroad have contributed nearly 5,000 lines of LoongArch architecture support code to the LLVM community.
As a new instruction set architecture, LoongArch is gaining more and more recognition and support in the open source world.