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.
I've been seeing situations where I want to take a 32bit array of 32 elements and copy it so that all the bit 0s are copied into element 0, bit 1s copied into element 1, etc for all 32 elements. This is always the processing bottleneck for applications that do this. Is there a faster way to do this using cortex-m4 simd operations? Is there a better name for what I'm trying to do that I could search with better results?
Thanks!
Hello,
I don't understand well what you want to do.
Do you want to exchange the row and column of the 32 x 32 matrix for each element is 1 bit?
If it is correct, you can use the bitband.
Probably it would be the fastest.
Best regards,
Yasuhiko Koumoto.