X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvppinfra%2Fcrc32.h;h=7361129ed55d2f278ea62d36347d01288cfbf082;hb=7d92c09b559969fac8b5c1847ed6af2a3bdc9277;hp=340b539558e56ed61814cb9104f742488d0acb23;hpb=8e66b9bf4ba90279631e6a0e8ccc2eab5f9156c2;p=vpp.git diff --git a/src/vppinfra/crc32.h b/src/vppinfra/crc32.h index 340b539558e..7361129ed55 100644 --- a/src/vppinfra/crc32.h +++ b/src/vppinfra/crc32.h @@ -23,6 +23,7 @@ #include #define crc32_u64 _mm_crc32_u64 +#define crc32_u32 _mm_crc32_u32 static_always_inline u32 clib_crc32c (u8 * s, int len) @@ -56,6 +57,7 @@ clib_crc32c (u8 * s, int len) #define crc32_u64 __crc32cd +#define crc32_u32 __crc32cw static_always_inline u32 clib_crc32c (u8 * s, int len)