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.
Hi All,
Actually, I just focus on memset. And the type of p is int*. and valua is int.
I think this method must get some advantages. So I thought the SIMD though I am not familiar with it and even made a misunderstanding beween STM and SIMD.
Thanks