我要评分
获取效率
正确性
完整性
易理解

Adding a Compilation Option to Match the Kunpeng Processor Architecture

Symptom

During compilation, you can use this compilation option to specify the processor architecture as Armv8, so that the compiler can generate executable programs based on the microarchitecture and instruction set of the Kunpeng processor.

Procedure

Add -march=armv8-a to the compilation options.