mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-24 01:07:21 +01:00
powerpc/memcpy: Don't predict the src and dst will be misaligned
Predicting misalignment will pessimize the expected common case. Don't predict true or false in thise case.
This commit is contained in:
parent
021abafa5c
commit
dcfc676147
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=358691
@ -58,7 +58,7 @@ ENTRY(FN_NAME)
|
||||
andi. %r7, %r4, ALIGN_MASK
|
||||
cmpd %r8, %r7
|
||||
mr %r7, %r5
|
||||
bne+ .Lcopy_remaining_fix_index_byte
|
||||
bne .Lcopy_remaining_fix_index_byte
|
||||
mr %r8, %r3 /* save dst */
|
||||
|
||||
/* align src */
|
||||
|
Loading…
Reference in New Issue
Block a user