Home
last modified time | relevance | path

Searched hist:a8e3f99ec190ee5c11413878b7fd75578e542808 (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/conf/
H A Dfiles.riscvdiff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328
H A Dfiles.armdiff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328
H A Dfiles.arm64diff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328
H A Dfiles.powerpcdiff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328
H A Dfiles.i386diff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328
H A Dfilesdiff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328
/freebsd/sys/amd64/amd64/
H A Dsupport.Sdiff a8e3f99ec190ee5c11413878b7fd75578e542808 Thu Sep 27 16:05:44 CEST 2018 Mateusz Guzik <mjg@FreeBSD.org> amd64: implement memcmp in assembly

Both the in-kernel C variant and libc asm variant have very poor performance.
The former compiles to a single byte comparison loop, which breaks down even
for small sizes. The latter uses rep cmpsq/b which turn out to have very poor
throughput and are slower than a hand-coded 32-byte comparison loop.

Depending on size this is about 3-4 times faster than the current routines.

Reviewed by: kib
Approved by: re (gjb)
Differential Revision: https://reviews.freebsd.org/D17328