This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM62A7-Q1: Can we support Neon compile?

Part Number: AM62A7-Q1

Hi Expert,

As title, if yes, can you provide some guide for this?

BR,

Biao 

  • With ARMv8 architecture (specifically the AArch64 architecture) and A53 Arm and the open source community made supporting the Advanced SIMD default and essentially mandatory. NEON is the old name for the vector extensions, A53 documentation calls this Advanced SIMD.

    GCC uses A53 Advanced SIMD by default for AArch64, see https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html , relevant sections copied abridged here:

    3.19.1 AArch64 Options

    These options are defined for AArch64 implementations:

    -march=name

    Specify the name of the target architecture and, optionally, one or more feature modifiers. This option has the form -march=arch{+[no]feature}*.

    The table below summarizes the permissible values for arch and the features that they enable by default:

    arch value Architecture Includes by default
    armv8-a Armv8-A +fp’, ‘+simd

    3.19.1.1 -march and -mcpu Feature Modifiers

    Feature modifiers used with -march and -mcpu can be any of the following and their inverses nofeature:

    simd

    Enable Advanced SIMD instructions. This also enables floating-point instructions. This is on by default for all possible values for options -march and -mcpu.

      Pekka