From a86b6690f072742367ade5ad5c55f80b28c95bdf Mon Sep 17 00:00:00 2001 From: Eugen Wissner Date: Tue, 12 Jun 2018 20:19:06 +0200 Subject: Implement auto-decoding free equal comparison Fix #39. --- arch/x64/linux/memory/cmp.S | 1 + 1 file changed, 1 insertion(+) (limited to 'arch') diff --git a/arch/x64/linux/memory/cmp.S b/arch/x64/linux/memory/cmp.S index 169e2eb..64d3ca6 100644 --- a/arch/x64/linux/memory/cmp.S +++ b/arch/x64/linux/memory/cmp.S @@ -47,6 +47,7 @@ _D5tanya6memory2op9cmpMemoryFNaNbNixAvxAvZi: aligned_1: // Compare the remaining bytes mov %rdx, %rcx + cmp $0x0, %rcx repe cmpsb jl less -- cgit v1.2.3