aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/x86/configure
diff options
context:
space:
mode:
authorNoah Goldstein <goldstein.w.n@gmail.com>2022-09-30 21:13:27 -0700
committerNoah Goldstein <goldstein.w.n@gmail.com>2022-10-03 14:13:49 -0700
commit653c12c7d880340462bd963752619a7a61bcb4e3 (patch)
tree67c128963342987f4023beba5f752f20c59c8863 /sysdeps/x86/configure
parent10c779f44ab3e9525f2d2a3c9a0aa9dedea5f1ec (diff)
downloadglibc-653c12c7d880340462bd963752619a7a61bcb4e3.zip
glibc-653c12c7d880340462bd963752619a7a61bcb4e3.tar.gz
glibc-653c12c7d880340462bd963752619a7a61bcb4e3.tar.bz2
x86: Cleanup pthread_spin_{try}lock.S
Save a jmp on the lock path coming from an initial failure in pthread_spin_lock.S. This costs 4-bytes of code but since the function still fits in the same number of 16-byte blocks (default function alignment) it does not have affect on the total binary size of libc.so (unchanged after this commit). pthread_spin_trylock was using a CAS when a simple xchg works which is often more expensive. Full check passes on x86-64.
Diffstat (limited to 'sysdeps/x86/configure')
0 files changed, 0 insertions, 0 deletions