Post Go back to editing

cc1.exe: warning: -mfpu option does not match ADSP-SC594 processor What is the compiler option for enabling neon?

Thread Summary

The user encountered a warning when trying to enable NEON optimization for ARM on the ADSP-SC594 using CCES 2.11.1. The solution was to use the -mfpu=neon-vfpv4 flag instead of -mfpu=neon. The -mproc=processor switch is also important for setting the correct GCC ARM floating-point mode for ADSP-SC5xx processors with a Cortex-A5 core.
AI Generated Content
Category: Software

I am trying to compile for ARM on SC594 and I am using CCES2.11.1 when I try to check for the neon optimization flag, I dont find it in the compiler options and when I added -mfpu=neon in additional
options I am getting following warning

cc1.exe: warning: -mfpu option does not match ADSP-SC594 processor

What is the compiler option for enabling neon?

Parents
  • Hi,

    Could you please try adding switch as -mfpu=neon-vfpv4 in the additional options.

    However, please note that the -mproc=processor switch instructs the compiler to target the given Analog Devices processor.

    This switch Sets the GCC ARM floating-point mode for ADSP-SC5xx processors with a Cortex-A5 core to neon-vfpv4. This is the equivalent of using the -mfpu= switch, and indicates that floating-point operations will be performed using the dedicated hardware.

    If the -mproc=processor switch is not used, the compiler will default to using -mproc=ADSP-SC589 for Cortex-A5 and -mproc=ADSP-SC598 for Cortex-A55.

    The switch is documented in the following section of the CCES Help:
    ARM Development Tools Documentation > Cortex-A > Analog Devices ARM Toolchain Manual > GCC Compiler Additional Features

    Regards,
    Santhakumari.K

  • Thanks for the support :) , It worked.

  • Hi,

    Thank you for notifying to us.

    Best Regards,

    Santhakumari.K

Reply Children
No Data

Before You Switch


Switching languages will make ADI Explorer unavailable. Resume your session by switching back to English and reopening ADI Explorer.