Skip to content

Commit

Permalink
[libc] fix up #77384
Browse files Browse the repository at this point in the history
  • Loading branch information
nickdesaulniers committed Jan 9, 2024
1 parent 7c89b20 commit 1689bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libc/src/string/memory_utils/op_x86.h
Expand Up @@ -234,7 +234,7 @@ template <> LIBC_INLINE uint32_t neq<__m512i>(CPtr p1, CPtr p2, size_t offset) {
const auto b = load<__m512i>(p2, offset);
const uint64_t xored = _mm512_cmpneq_epi8_mask(a, b);
return static_cast<uint32_t>(xored >> 32) |
static_cast<uint32_t>(xored & 0xFFFFFFFF));
static_cast<uint32_t>(xored & 0xFFFFFFFF);
}
template <>
LIBC_INLINE MemcmpReturnType cmp_neq<__m512i>(CPtr p1, CPtr p2, size_t offset) {
Expand Down

0 comments on commit 1689bbe

Please sign in to comment.