]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: speed up failing case for memcmp
authormjg <mjg@FreeBSD.org>
Thu, 30 Jan 2020 19:56:22 +0000 (19:56 +0000)
committermjg <mjg@FreeBSD.org>
Thu, 30 Jan 2020 19:56:22 +0000 (19:56 +0000)
commitedc0a691eca4d05b3e77496a5f68bc3f48b549a4
treec1eb70cc0f6d512741238426e19303183ad91f3a
parenta2af8930720ba94920a5f7478e9281ac68289e1f
amd64: speed up failing case for memcmp

Instead of branching on up to 8 bytes, drop the size to 4.

Assorted clean ups while here.

Validated with glibc test suite.
sys/amd64/amd64/support.S