aboutsummaryrefslogtreecommitdiffstats
path: root/src/u_strlen.S
diff options
context:
space:
mode:
authorJozanLeClerc <JozanLeClerc@noemail.net>2020-11-20 14:39:51 +0000
committerJozanLeClerc <JozanLeClerc@noemail.net>2020-11-20 14:39:51 +0000
commitf914b2f38c0e4ae3de473e83e2e02229997b7de7 (patch)
treef8ba7b1d5e907455e0a76ebda8b43f6b63eb4a9e /src/u_strlen.S
parentIn good progress (diff)
downloadbsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.gz
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.bz2
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.xz
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.tar.zst
bsdsetsid-f914b2f38c0e4ae3de473e83e2e02229997b7de7.zip
Noq
FossilOrigin-Name: 87bc744080eac5e50fa79550e5b833bc82cc5f1a
Diffstat (limited to 'src/u_strlen.S')
-rw-r--r--src/u_strlen.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/u_strlen.S b/src/u_strlen.S
index 27d9663..b1e2447 100644
--- a/src/u_strlen.S
+++ b/src/u_strlen.S
@@ -2,7 +2,7 @@
.globl u_strlen
u_strlen:
- movq %rdi, %rcx
+ mov %rdi, %rcx
u_loop:
cmpb $0x0, (%rcx)
@@ -12,5 +12,5 @@ u_loop:
u_ret:
sub %rdi, %rcx
- movq %rcx, %rax
- retq
+ mov %rcx, %rax
+ ret