We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi all,
I am searching for a C complier that can auto vectorize 32-bit floating point multiply using the Helium instructions on the Cortex-M55. Would the latest ARM C compiler has this feature? Also would the open source arm-gnu-toolchain or the LLVM compiler do the job?
I am sorry this is a very simple question, but I just couldn't find the answers.
Thanks for your patience.
dom
The Arm compiler is capable of auto-vectorization but exactly what it will do is dependent on the input source.
The below may be useful:https://developer.arm.com/documentation/102095/0101/Auto-vectorization-and-Helium
However if you have some code already made, it may be worth simply building it and seeing the result. The compiler is provided as a component of Keil MDK (or Arm Development Studio):https://www2.keil.com/mdk5/selector
Thanks Ronan. Would the Keil MDK community version allows compiling a small piece of code and let me look at the assembler code, so that I can verify if auto-vectorization occurs?
Yes, absolutely!