summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt.c
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-09-11 16:08:10 +0000
committerkib <kib@FreeBSD.org>2011-09-11 16:08:10 +0000
commit44839b3d920a0ed96b2ab9cb9de46f7d518ee8aa (patch)
tree99c6f111999a382d1f7d69965310b2e85bc02d36 /lib/libc/stdlib/getopt.c
parent55d0a85118b14ca04ad09a2e920c8fac09fb6053 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud