[dpdk-dev] [PATCH v6 2/7] hash: add assembly implementation of CRC32 intrinsics
Yerden Zhumabekov
e_zhumabekov at sts.kz
Mon Feb 2 06:34:01 CET 2015
02.02.2015 11:15, Liang, Cunming пишет:
>
>> +static inline uint32_t
>> +crc32c_sse42_u64(uint64_t data, uint64_t init_val)
>> +{
>> + __asm__ volatile(
>> + "crc32q %[data], %[init_val];"
>> + : [init_val] "+r" (init_val)
>> + : [data] "rm" (data));
>> + return init_val;
>> +}
> [LCM] I'm curious about the benefit of replacing CRC32 intrinsic
> "_mm_crc32_u32/64".
These intrinsics are not available on a platform which has no SSE4.2
support so the build would fail.
See previous suggestion from Neil:
http://dpdk.org/ml/archives/dev/2014-November/008353.html
--
Sincerely,
Yerden Zhumabekov
State Technical Service
Astana, KZ
More information about the dev
mailing list