Skip to content

A port of the Rust bytecount SSE2 and AVX2 algorithms to C

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE.Apache2
MIT
LICENSE.MIT
Notifications You must be signed in to change notification settings

Freaky/fast-bytecount

Repository files navigation

fast-bytecount

This is a port of the AVX2 and SSE2 bytecount functions from the Rust bytecount crate to C, including runtime CPU feature detection.

It isn't yet set up as a library, just a trivial benchmark against the naive implementation.

Usage

$ aclocal
$ autoconf
$ automake --add-missing
$ ./configure
$ make
$ ./bench

Supported configure flags:

  • --disable-runtime-dispatch, enables only the scalar fallback bytecounts
  • --disable-runtime-avx2, disable AVX2 version
  • --disable-runtime-sse2, disable SSE2 version

About

A port of the Rust bytecount SSE2 and AVX2 algorithms to C

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE.Apache2
MIT
LICENSE.MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published