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