]> sourceware.org Git - glibc.git/commit
x86: Cleanup bounds checking in large memcpy case
authorNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 15 Jun 2022 17:41:28 +0000 (10:41 -0700)
committerNoah Goldstein <goldstein.w.n@gmail.com>
Wed, 15 Jun 2022 21:25:55 +0000 (14:25 -0700)
commit89a25c6f64746732b87eaf433af0964b564d4a92
treee1abe35fdb54d1a7358955964ae022b86a7de775
parentb446822b6ae4e8149902a78cdd4a886634ad6321
x86: Cleanup bounds checking in large memcpy case

1. Fix incorrect lower-bound threshold in L(large_memcpy_2x).
   Previously was using `__x86_rep_movsb_threshold` and should
   have been using `__x86_shared_non_temporal_threshold`.

2. Avoid reloading __x86_shared_non_temporal_threshold before
   the L(large_memcpy_4x) bounds check.

3. Document the second bounds check for L(large_memcpy_4x)
   more clearly.
sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
This page took 0.04113 seconds and 5 git commands to generate.