hash: add assembly implementation of CRC32 intrinsics
authorYerden Zhumabekov <e_zhumabekov@sts.kz>
Thu, 29 Jan 2015 08:48:59 +0000 (14:48 +0600)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 23 Feb 2015 17:14:41 +0000 (18:14 +0100)
commit00bf774bab0beec54427bacb09137c7d6d83e819
treed6eaa4a69c3b2075b46546f96e4e67af06fdfd7b
parentd983cf41698ffbb3f0901001023af6bc8b5ca614
hash: add assembly implementation of CRC32 intrinsics

Added:
- crc32c_sse42_u32() emits 'crc32l' asm instruction;
- crc32c_sse42_u64() emits 'crc32q' asm instruction;
- crc32c_sse42_u64_mimic(), wrapper in case of run on 32-bit platform.

Signed-off-by: Yerden Zhumabekov <e_zhumabekov@sts.kz>
Acked-by: Bruce Richardson <bruce.richardson@intel.com>
lib/librte_hash/rte_hash_crc.h