Changes

Jump to: navigation, search

SVE2

100 bytes added, 12:06, 25 March 2022
C Compiler Options
=== C Compiler Options ===
To 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 or assembler to emit code for an Armv8a 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 for this target is currently "armv8-a+sve2":
gcc -march=armv8-a+sve2 ...

Navigation menu