This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

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.

Parents
  • 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

Reply
  • 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

Children
No data