about summary refs log tree commit diff
path: root/sysdeps/posix/readv.c
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-06-15 10:41:28 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-06-15 14:25:55 -0700
commit89a25c6f64746732b87eaf433af0964b564d4a92 (patch)
treee1abe35fdb54d1a7358955964ae022b86a7de775 /sysdeps/posix/readv.c
parentb446822b6ae4e8149902a78cdd4a886634ad6321 (diff)
downloadglibc-89a25c6f64746732b87eaf433af0964b564d4a92.tar.gz
glibc-89a25c6f64746732b87eaf433af0964b564d4a92.tar.xz
glibc-89a25c6f64746732b87eaf433af0964b564d4a92.zip
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.
Diffstat (limited to 'sysdeps/posix/readv.c')
0 files changed, 0 insertions, 0 deletions