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.
Hi,
I came across optimized ARM version of memcpy while going through disassembly and I was wondering if there is one for memcmp, didn't find one in disassembly. Please let me know if there is one. I am using Cortex-R7.
Thanks.
Thank you! Should the memory address be aligned for memcmp as well?
It does not need to be, as Arm processors can handle unaligned accesses (on normal memory). If you declare structures as __unaligned, you will likely get slower performance.