memset | Coranac
The old tonclib's memset16() was a Thumb/ROM function, but called memset32() if it was desirable. Below you can find an ARM-only version. This time round, I chose to do all the real work inside the 16-bit version, and let memset32() jump into the middle of memset16().Combined, these are less than 32 instructions, which should make cache happy as well.
DA: 80 PA: 70 MOZ Rank: 66