summaryrefslogtreecommitdiff
path: root/arch/x64/linux/memory/cmp.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x64/linux/memory/cmp.S')
-rw-r--r--arch/x64/linux/memory/cmp.S1
1 files changed, 1 insertions, 0 deletions
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