amd64: add missing ALIGN_TEXT to loops in memset and memmove

This commit is contained in:
Mateusz Guzik 2021-01-29 16:09:14 +01:00
parent 710e45c4b8
commit 164c3b8184
3 changed files with 6 additions and 0 deletions

View File

@ -65,6 +65,7 @@ __FBSDID("$FreeBSD$");
cmpq $256,%rcx
ja 1256f
ALIGN_TEXT
103200:
movq (%rsi),%rdx
movq %rdx,(%rdi)
@ -198,6 +199,7 @@ __FBSDID("$FreeBSD$");
cmpq $32,%rcx
jb 2016f
ALIGN_TEXT
2032:
movq (%rsi),%rdx
movq %rdx,(%rdi)

View File

@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
cmpq $256,%rcx
ja 1256f
ALIGN_TEXT
103200:
movq %r10,(%rdi)
movq %r10,8(%rdi)

View File

@ -322,6 +322,7 @@ END(memcmp)
cmpq $256,%rcx
ja 1256f
ALIGN_TEXT
103200:
movq (%rsi),%rdx
movq %rdx,(%rdi)
@ -455,6 +456,7 @@ END(memcmp)
cmpq $32,%rcx
jb 2016f
ALIGN_TEXT
2032:
movq (%rsi),%rdx
movq %rdx,(%rdi)
@ -595,6 +597,7 @@ END(memcpy_erms)
cmpq $256,%rcx
ja 1256f
ALIGN_TEXT
103200:
movq %r10,(%rdi)
movq %r10,8(%rdi)