diff options
author | kib <kib@FreeBSD.org> | 2011-09-11 16:08:10 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2011-09-11 16:08:10 +0000 |
commit | 44839b3d920a0ed96b2ab9cb9de46f7d518ee8aa (patch) | |
tree | 99c6f111999a382d1f7d69965310b2e85bc02d36 /lib/libc/stdlib/getopt.c | |
parent | 55d0a85118b14ca04ad09a2e920c8fac09fb6053 (diff) | |
download | FreeBSD-src-44839b3d920a0ed96b2ab9cb9de46f7d518ee8aa.zip FreeBSD-src-44839b3d920a0ed96b2ab9cb9de46f7d518ee8aa.tar.gz |
Perform amd64-specific microoptimizations for native syscall entry
sequence. The effect is ~1% on the microbenchmark.
In particular, do not restore registers which are preserved by the
C calling sequence. Align the jump target. Avoid unneeded memory
accesses by calculating some data in syscall entry trampoline.
Reviewed by: jhb
Approved by: re (bz)
MFC after: 2 weeks
Diffstat (limited to 'lib/libc/stdlib/getopt.c')
0 files changed, 0 insertions, 0 deletions