Quantcast
Channel: Keil Discussion Forum RSS Feed
Viewing all articles
Browse latest Browse all 3049

ARM: Optimized function "Vector Logical AND"

$
0
0
I have an array of uint32_t and I need to perform a logical AND over every element; the purpose is to clear some bits of the elements. The C code would be for(i=0; i<blockSize; i++) { a[i] &= 0x00FFFF00; } Is there an optimized function to do this for Cortex-M4 architecture? Maynbe something similar to "Vector" functins included in CMSIS-DSP.

Viewing all articles
Browse latest Browse all 3049

Trending Articles