Post Go back to editing

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

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?

  • 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