V* Assembly Code on ARM-V8 processor with NEON & FPU Disabled

Can we compile an existing assembly code with V* instructions, but the ARM v8 processor has the NEON and FPU disabled? If not, do we have an option to workaround this, instead of re-code everything? Please advise.

  • Hi Changi

    I don't know of an automatic way to do this. The easiest workaround would be to use some form of #ifdef...#endif, and define the macro at build time

    #ifdef VECTOR_ENABLED
     // vector implementation of function
    #else
     // non-vector implementation of function
    #endif

More questions in this forum