diff options
| author | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-17 13:57:24 -0400 |
|---|---|---|
| committer | Noah Goldstein <goldstein.w.n@gmail.com> | 2021-05-18 22:57:51 -0400 |
| commit | 4ad473e97acdc5f6d811755b67c09f2128a644ce (patch) | |
| tree | 92dd8d4893487377a5e864d306d2ec160c503f3f /malloc/alloc_buffer_copy_string.c | |
| parent | 16d12015c57701b08d7bbed6ec536641bcafb428 (diff) | |
| download | glibc-4ad473e97acdc5f6d811755b67c09f2128a644ce.tar.xz glibc-4ad473e97acdc5f6d811755b67c09f2128a644ce.zip | |
x86: Optimize memcmp-evex-movbe.S
No bug. This commit optimizes memcmp-evex.S. The optimizations include
adding a new vec compare path for small sizes, reorganizing the entry
control flow, removing some unnecissary ALU instructions from the main
loop, and most importantly replacing the heavy use of vpcmp + kand
logic with vpxor + vptern. test-memcmp and test-wmemcmp are both
passing.
Signed-off-by: Noah Goldstein <goldstein.w.n@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'malloc/alloc_buffer_copy_string.c')
0 files changed, 0 insertions, 0 deletions
