summaryrefslogtreecommitdiff
path: root/zap/src/memfill.c
diff options
context:
space:
mode:
Diffstat (limited to 'zap/src/memfill.c')
-rw-r--r--zap/src/memfill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/zap/src/memfill.c b/zap/src/memfill.c
index 70982c4..c9a9797 100644
--- a/zap/src/memfill.c
+++ b/zap/src/memfill.c
@@ -11,7 +11,7 @@
#if defined(zap_priv_fastimpl)
__asm__ (
- ".global zap_memfill\n"
+ ".globl zap_memfill\n"
"zap_memfill:\n"
/*
@@ -24,7 +24,7 @@ __asm__ (
/* rsi: Address of the element after the last element. */
"addq %rdi,%rsi\n"
".loop:\n"
- "cmpq %rsi,%rdi\n"
+ "cmpq %rdi,%rsi\n"
"je .done\n" /* Exit loop if we have reached the final element. */
"movb %dl,(%rdi)\n"
"incq %rdi\n"