Rate This Document
Findability
Accuracy
Completeness
Readability

Microarchitecture Affinity Options

BiSheng compiler allows you to use the -mcpu= option to specify the current CPU model and enable all default features of the CPU. 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.

Table 1 Mapping between hardware platforms and -mcpu= configuration items

Hardware Platform

Configuration Item

Kunpeng 920

tsv110