2009-02-05 Neal H. Walfield <neal@gnu.org>
* libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
This commit is contained in:
parent
11acb173d9
commit
18cbf1d394
|
@ -1,3 +1,7 @@
|
||||||
|
2009-02-05 Neal H. Walfield <neal@gnu.org>
|
||||||
|
|
||||||
|
* libc/machine/x86_64/memcpy.S (memcpy): Don't use the red zone.
|
||||||
|
|
||||||
2009-01-28 Jeff Johnston <jjohnstn@redhat.com>
|
2009-01-28 Jeff Johnston <jjohnstn@redhat.com>
|
||||||
|
|
||||||
* libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
|
* libc/stdio/vfscanf.c (__SVFSCANF_R): Add additional check for
|
||||||
|
|
|
@ -30,10 +30,10 @@ quadword_aligned:
|
||||||
cmpq $256, rdx
|
cmpq $256, rdx
|
||||||
jb quadword_copy
|
jb quadword_copy
|
||||||
|
|
||||||
movq rax, -8 (rsp)
|
pushq rax
|
||||||
movq r12, -16 (rsp)
|
pushq r12
|
||||||
movq r13, -24 (rsp)
|
pushq r13
|
||||||
movq r14, -32 (rsp)
|
pushq r14
|
||||||
|
|
||||||
movq rdx, rcx /* Copy 128 bytes at a time with minimum cache polution */
|
movq rdx, rcx /* Copy 128 bytes at a time with minimum cache polution */
|
||||||
shrq $7, rcx
|
shrq $7, rcx
|
||||||
|
@ -89,10 +89,10 @@ loop:
|
||||||
movq rdx, rcx
|
movq rdx, rcx
|
||||||
andq $127, rcx
|
andq $127, rcx
|
||||||
rep movsb
|
rep movsb
|
||||||
movq -8 (rsp), rax
|
popq r14
|
||||||
movq -16 (rsp), r12
|
popq r13
|
||||||
movq -24 (rsp), r13
|
popq r12
|
||||||
movq -32 (rsp), r14
|
popq rax
|
||||||
ret
|
ret
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue