From: Maamoun TK Date: Mon, 3 Apr 2023 05:54:39 +0000 (+0000) Subject: Use Test instruction instead of And to check remaining single block X-Git-Tag: nettle_3.9_release_20230514~20^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6ec60fa62533ce5c5356d63e23cc0864ea10cd5;p=thirdparty%2Fnettle.git Use Test instruction instead of And to check remaining single block --- diff --git a/x86_64/pclmul/ghash-update.asm b/x86_64/pclmul/ghash-update.asm index 1c30e7d8..67b8f111 100644 --- a/x86_64/pclmul/ghash-update.asm +++ b/x86_64/pclmul/ghash-update.asm @@ -140,7 +140,7 @@ PROLOGUE(_nettle_ghash_update) jnz .Loop .L1_block: - and $1, BLOCKS + test $1, BLOCKS jz .Ldone movups (DATA), M