Usage of the -march Option for Extended Features of the Architecture
When Clang uses extended features of the architecture, the names of the extended features must be added next to -march=arch_name, including the names of the extended features supported by the architecture by default. For example, the DotProd feature is supported by the ARMv8.4 architecture by default. You can use -march=armv8.4-a+dotprod to enable this feature.
Parent topic: Other Compatibility Problems