Searched hist:a8e3f99ec190ee5c11413878b7fd75578e542808 (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/conf/ |
H A D | files.riscv | diff 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 D | files.arm | diff 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 D | files.arm64 | diff 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 D | files.powerpc | diff 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 D | files.i386 | diff 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 D | files | diff 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 D | support.S | diff 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
|