Changes

Jump to: navigation, search

SVE2

1 byte added, 10:26, 13 October 2023
C Compiler Options
=== C Compiler Options ===
At the time of writing (March 2022), most compilers do not have a specific target for Armv9 systems. Therefore, to build code that includes SVE2 instructions, you will need to instruct the complier to emit code for an Armv8-a 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 specification for this target is currently "armv8-a+sve2":
gcc -march=armv8-a+sve2 ...

Navigation menu