mirror of
https://github.com/nicbarker/clay.git
synced 2025-05-18 08:18:06 +00:00
Compare commits
1 Commits
5e9188b23d
...
a4f8cfd3bf
Author | SHA1 | Date | |
---|---|---|---|
|
a4f8cfd3bf |
2
clay.h
2
clay.h
@ -1771,7 +1771,7 @@ bool Clay__MemCmp(const char *s1, const char *s2, int32_t length);
|
|||||||
uint8x16_t v2 = vld1q_u8((const uint8_t *)s2);
|
uint8x16_t v2 = vld1q_u8((const uint8_t *)s2);
|
||||||
|
|
||||||
// Compare vectors
|
// Compare vectors
|
||||||
if (vminvq_u32(vreinterpretq_u32_u8(vceqq_u8(v1, v2))) != 0xFFFFFFFF) { // If there's a difference
|
if (vminvq_u32(vceqq_u8(v1, v2)) != 0xFFFFFFFF) { // If there's a difference
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user