We are working on some CPU usage optimization on a couple of our Cobra55-based engine ECMs, and have some algorithms that are written in Matlab/Simulink (then C code is autogenerated) that take a long time to run and have a lot of math functions that can potentially be run more efficiently with SPE instructions, and are trying to figure out the best way to do that. Do you know if there are any kind of Matlab/Simulink libraries or anything that can target the SPE? Or do you know of other ways to easily use autogenerated code to target the SPE?
Solved! Go to Solution.
Perhaps you can use the AMMCLIB for mathematical computations.
Recently, i've run into a similar issue https://community.nxp.com/message/997747
I'm not sure if the AMMCLIB for MPC5xxx is using the SPE instructions.
Can you confirm is the AMMCLIB uses SPE instructions?