Fix UTF-8 symbols in comments.

This commit is contained in:
Rika Ichinose 2023-04-17 20:06:13 +03:00 committed by FPK
parent 8d5d7b480d
commit 669d41172c

View File

@ -337,10 +337,10 @@ Procedure FillChar(var x;count:SizeInt;value:byte);assembler;nostackframe;
x = [UH][H1][H2][...][T2][T1]
x = UH][H1][H2][...][T2][T1][UT
UH ("unaligned head") is written, potentially overlapping with H1, with the 'movdqu'. Has 116 bytes.
H1 and so on are “heads”.
T1 and so on are “tails”.
UT ("unaligned tail") is written with another 'movdqu' after the loop. Has 015 bytes. }
UH (“unaligned head”) is written, potentially overlapping with H1, with the 'movdqu'. Has 116 bytes.
H1 and so on are “heads”.
T1 and so on are “tails”.
UT (“unaligned tail”) is written with another 'movdqu' after the loop. Has 015 bytes. }
movdqu %xmm0, (%rcx)
lea -64(%rcx,%rdx), %r8 { r8 = end of x - 64, loop bound }
@ -351,14 +351,14 @@ Procedure FillChar(var x;count:SizeInt;value:byte);assembler;nostackframe;
and $-16, %rcx { align rcx to the LEFT (so needs to be offset by an additional +16 for a while). }
movdqa %xmm0, 16(%rcx) { Write H1. }
mov %r8, %rax
and $-16, %rax { rax = “T4” (possibly fictive) = aligned r8. }
and $-16, %rax { rax = “T4” (possibly fictive) = aligned r8. }
cmp $48, %rdx { 33~48 bytes might contain 1~2 heads+tails; write as H1 and T1. }
jle .LOneAlignedTailWrite
movdqa %xmm0, 32(%rcx) { Write H2. }
cmp $80, %rdx { 49~80 bytes might contain 2~4 heads+tails; write as H12 and T21. }
cmp $80, %rdx { 49~80 bytes might contain 2~4 heads+tails; write as H12 and T21. }
jle .LTwoAlignedTailWrites
movdqa %xmm0, 48(%rcx) { Write H3. }
cmp $112, %rdx { 81~112 bytes might contain 4~6 heads+tails; write as H13 and T31. }
cmp $112, %rdx { 81~112 bytes might contain 4~6 heads+tails; write as H13 and T31. }
jle .LThreeAlignedTailWrites
add $48, %rcx