Microarchitecture Affinity Options
BiSheng compiler allows you to use the -mcpu= option to specify the target CPU model and enable all default features of the CPU. The -mcpu=native option can be used to automatically enable the microarchitecture affinity feature of the current platform. For the Kunpeng backend, after the corresponding microarchitecture affinity option is enabled, BiSheng compiler optimizes the instruction pipeline based on the instruction implementation of the corresponding architecture to improve performance. The mapping between the hardware platforms and the configuration items of this option is as follows.
Hardware Platform |
Configuration Item |
|---|---|
Kunpeng 920 |
tsv110 |
Parent topic: BiSheng Compiler Options