diff options
author | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-21 17:12:07 +0000 |
---|---|---|
committer | JozanLeClerc <JozanLeClerc@noemail.net> | 2020-11-21 17:12:07 +0000 |
commit | c08c4e921efd160c10837a285b861d7b856af9c1 (patch) | |
tree | 60669213115bfe87db1ba90347e23e30824bbbdd /src/u_hexdec.S | |
parent | Makefile update (diff) | |
download | bsdsetsid-c08c4e921efd160c10837a285b861d7b856af9c1.tar.gz bsdsetsid-c08c4e921efd160c10837a285b861d7b856af9c1.tar.bz2 bsdsetsid-c08c4e921efd160c10837a285b861d7b856af9c1.tar.xz bsdsetsid-c08c4e921efd160c10837a285b861d7b856af9c1.tar.zst bsdsetsid-c08c4e921efd160c10837a285b861d7b856af9c1.zip |
Good strncmp
FossilOrigin-Name: 13514fe09602541bff74c6af14bbf6db06f5030e
Diffstat (limited to 'src/u_hexdec.S')
-rw-r--r-- | src/u_hexdec.S | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/u_hexdec.S b/src/u_hexdec.S index a362ba6..5e0f019 100644 --- a/src/u_hexdec.S +++ b/src/u_hexdec.S @@ -49,24 +49,24 @@ .globl u_hexdec u_hexdec: - xor %r10, %r10 - xor %r9, %r9 - xor %r8, %r8 - mov $0xa, %rbx - clc + xor %r10, %r10 + xor %r9, %r9 + xor %r8, %r8 + mov $0xa, %rbx + clc .u.repeat: - xor %rdx, %rdx - idiv %rbx - or $0x0, %dl - mov $0x8, %rcx + xor %rdx, %rdx + idiv %rbx + or $0x0, %dl + mov $0x8, %rcx .u.shift: - rcrb $0x1, %dl - rcr $0x1, %r10 - rcr $0x1, %r9 - rcr $0x1, %r8 - dec %rcx - and %rcx, %rcx - jnz .u.shift - and %rax, %rax - jnz .u.repeat + rcrb $0x1, %dl + rcr $0x1, %r10 + rcr $0x1, %r9 + rcr $0x1, %r8 + dec %rcx + and %rcx, %rcx + jnz .u.shift + and %rax, %rax + jnz .u.repeat ret |