When we write such code as following, can keil compiler automaticly translate it into SIMD STM.
do{
*p++ = 1;
}while( i-- );
We write code like this expecting STM can be used to do some optimization.
If the compiler can do this, what the option it need? I think this is not the default behaviour.
Hello ZhiYang,
I believe there are some ways to write C code to "suggest" to the compiler to use the SIMD instructions.
However, I have not used them myself.
I hope some experts can take the time to share methods.