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.
Parent topic: Compilation Optimization Items