summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorEugen Wissner <belka@caraus.de>2018-06-12 20:19:06 +0200
committerEugen Wissner <belka@caraus.de>2018-06-12 20:19:06 +0200
commita86b6690f072742367ade5ad5c55f80b28c95bdf (patch)
tree458f654a9614ce1952f50542d4ddecd05e685558 /arch
parent15f7994187ec01ea99e2c8476764a71078cf4a97 (diff)
downloadtanya-a86b6690f072742367ade5ad5c55f80b28c95bdf.tar.gz
Implement auto-decoding free equal comparison
Fix #39.
Diffstat (limited to 'arch')
-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