|
Boost : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2019-11-29 07:50:42
> https://godbolt.org/z/Z37Pmx
> https://godbolt.org/z/CXHRKQ
I forgot to maintain a 0 terminator in this sketch; it's even worse with it.
.L5:
add rax, 1
movzx ecx, BYTE PTR [rdx]
cmp rax, 512
ja .L11
add rdx, 1
mov BYTE PTR [rdi+7+rax], cl
mov BYTE PTR [rdi+8+rax], 0
mov QWORD PTR [rdi], rax
cmp rsi, rdx
jne .L5
.L3:
movzx ecx, BYTE PTR [rdx+rax]
mov BYTE PTR [rdi+8+rax], cl
add rax, 1
mov BYTE PTR [rdi+8+rax], 0
mov QWORD PTR [rdi], rax
cmp r8, rax
jne .L3
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk