mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-25 22:40:05 +00:00
x86: Align entry for memrchr to 64-bytes.
The function was tuned around 64-byte entry alignment and performs better for all sizes with it. As well different code boths where explicitly written to touch the minimum number of cache line i.e sizes <= 32 touch only the entry cache line.
This commit is contained in:
parent
dbb0f06cc0
commit
227afaa672
@ -35,7 +35,7 @@
|
||||
# define VEC_SIZE 32
|
||||
# define PAGE_SIZE 4096
|
||||
.section SECTION(.text), "ax", @progbits
|
||||
ENTRY(MEMRCHR)
|
||||
ENTRY_P2ALIGN(MEMRCHR, 6)
|
||||
# ifdef __ILP32__
|
||||
/* Clear upper bits. */
|
||||
and %RDX_LP, %RDX_LP
|
||||
|
Loading…
Reference in New Issue
Block a user