diff options
author | bde <bde@FreeBSD.org> | 1995-07-11 18:50:47 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-07-11 18:50:47 +0000 |
commit | 8c00ee9d2cf8b5f40ce099f07118ce1251fd57e0 (patch) | |
tree | 4380167b2d69b7c49777bf14178cbb108f57f443 /sys/kern/subr_clist.c | |
parent | e97bb42ff7b5af23eb85cbb418b988c32ae93df6 (diff) | |
download | FreeBSD-src-8c00ee9d2cf8b5f40ce099f07118ce1251fd57e0.zip FreeBSD-src-8c00ee9d2cf8b5f40ce099f07118ce1251fd57e0.tar.gz |
Rearrange the inner loop of scanc() to get better code on i*86's
(on an i486, 10 cycles (+ cache misses) instead of 15). The
change should be a no-op if the compiler is any good. The best
possible i*86 code for the same algorithm is only 1 more cycle
faster on i486's so I don't want to bother implementing an
assembler version.
scanc() is a bottleneck for OPOST processing. It is naturally
about 4 times as slow as bcopy() on 32-bit systems.
Diffstat (limited to 'sys/kern/subr_clist.c')
0 files changed, 0 insertions, 0 deletions