From 946811b4c03d390e69734dd73081a23023df1ff4 Mon Sep 17 00:00:00 2001 From: facebook-github-bot Date: Fri, 13 Dec 2024 00:04:04 +0000 Subject: [PATCH] Update API docs (87a760e6). --- xml/neon-inl_8h.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/xml/neon-inl_8h.xml b/xml/neon-inl_8h.xml index f23f6634e7..07c34a2c07 100644 --- a/xml/neon-inl_8h.xml +++ b/xml/neon-inl_8h.xml @@ -107,9 +107,9 @@ /*Hammingdistancesformultipleof64bits*/ inlinehamdis_thamming(constuint64_t*pa,constuint64_t*pb,size_tnwords){ -constsize_tnwords256=nwords/256; -constsize_tnwords128=(nwords-nwords256*256)/128; -constsize_tnwords64=(nwords-nwords256*256-nwords128*128)/64; +constsize_tnwords256=nwords/4; +constsize_tnwords128=(nwords%4)/2; +constsize_tnwords64=nwords%2; hamdis_th=0; if(nwords256>0){