This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Optimized function "Vector Logical AND"

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.