AM3358: ARM-CGT with performance/optimisation issues in newer versions?

Part Number: AM3358
Other Parts Discussed in Thread: ARM-CGT,

Hi,

we're facing some dramatic performance issues when using the newer v20 ARM-CGT compiler for AM3358.
As far as I remember, there was an option in previous versions of that compiler to mark some specific functions in code to be executed in cache of the SoC. This option seem to be gone in newer versions - causing some nameable speed issues with exactly these functions, which have been marked for cache-usage in our existing code.

So my question: was this option removed completely? Or is it just undocumented? Can anybody shed some light on what happened with this optimisation-parameter?

Thanks!

 

  • was this option removed completely?

    Versions 15.12.x.LTS and older support an option named --opt_for_cache.  It is no longer supported.  While I'm not certain, this might be the option.  For a summary on what happened with --opt_for_cache, search for it in in this forum post.

    was this option removed completely? Or is it just undocumented?

    Version 20.2.x.LTS accepts it.  I am skeptical it improves performance on your code.  But you are welcome to experiment with it.

    Thanks and regards,

    -George