mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
amd64: add missing ALIGN_TEXT to loops in memset and memmove
(cherry picked from commit 164c3b8184)
This commit is contained in:
parent
e5b674594e
commit
3975d4c9e1
3 changed files with 6 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ __FBSDID("$FreeBSD$");
|
|||
cmpq $256,%rcx
|
||||
ja 1256f
|
||||
|
||||
ALIGN_TEXT
|
||||
103200:
|
||||
movq %r10,(%rdi)
|
||||
movq %r10,8(%rdi)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue