Page MenuHomeFreeBSD

remove obsolete i386 MD memchr implementation
ClosedPublic

Authored by emaste on Sep 25 2019, 1:59 PM.

Details

Summary

bde reports:

This uses scasb, which was last optimal on the 8086, or perhaps the
original i386.  On freefall, it is several times slower than the
naive translation of the naive C code.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.Sep 25 2019, 1:59 PM
kib accepted this revision.Sep 25 2019, 2:35 PM
This revision is now accepted and ready to land.Sep 25 2019, 2:35 PM
markj accepted this revision.Sep 25 2019, 2:48 PM
This revision was automatically updated to reflect the committed changes.