inline_bcmp_embedded_tiny(CPtr p1, CPtr p2, size_t count) {
#pragma nounroll
for (size_t offset = 0; offset < count; ++offset)
- if (auto value = generic::Bcmp<1>::block(p1 + offset, p2 + offset))
+ if (auto value = generic::Bcmp<1>::block(p1, p2))
return value;
return BcmpReturnType::ZERO();
}
inline_memcmp_embedded_tiny(CPtr p1, CPtr p2, size_t count) {
#pragma nounroll
for (size_t offset = 0; offset < count; ++offset)
- if (auto value = generic::Memcmp<1>::block(p1 + offset, p2 + offset))
+ if (auto value = generic::Memcmp<1>::block(p1, p2))
return value;
return MemcmpReturnType::ZERO();
}