]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r317512:
authortuexen <tuexen@FreeBSD.org>
Thu, 1 Jun 2017 09:00:38 +0000 (09:00 +0000)
committertuexen <tuexen@FreeBSD.org>
Thu, 1 Jun 2017 09:00:38 +0000 (09:00 +0000)
commit2f7fd785bc7cf75ead8ffac67a74edeb62c7d0c7
treefd124a7e73656e650bf6662869bc348476d31ff6
parente6c0f4792f47e2613dbb38acb329c8f57dd3bbab
MFC r317512:

armv8 has support for optional CRC32C instructions. This patch checks if they are
available and if that is true make use of them.
Thank you very much to Andrew Turner for providing help and review the patch!

Reviewed by: andrew
Differential Revision: https://reviews.freebsd.org/D10499
sys/conf/files.arm64
sys/libkern/arm64/crc32c_armv8.S [new file with mode: 0644]
sys/libkern/crc32.c
sys/sys/libkern.h
tests/sys/kern/Makefile
tests/sys/kern/libkern_crc32.c