1,885
edits
Changes
SVE2
,→Building SVE2 Code
=== C Compiler Options ===
To build code that includes SVE2 instructions, you will need to instruct the complier or assembler to emit code for an Armv8a processor that also understands the SVE2 instructions; on the GCC compiler, this is performed using the <code>-march=</code> option (which is read as "machine architecture"). '''You must do this regardless of whether you're using autovectorization, inline assembler, or intrinsics.''' The architecture specificaion for this target is currently "armv8-a+sve2":
gcc -march=armv8-a+sve2 ...