Adding a Compilation Option to Match the Kunpeng Processor Pipeline
Symptom
If GCC 9.1 or a later version is used, add a compilation option and specify the tsv110 pipeline. In this way, the compiler can orchestrate instructions in the pipeline of the Kunpeng processor, making full advantages of the instruction set parallelism of the pipeline and improving performance.
Procedure
Add mtune=tsv110 to the compilation options.
Parent topic: Compilation Optimization Items