Re: [PATCH 0/3] Optimize CRC32C calculation using PCLMULQDQ incrc32c-intel module

From: David Miller
Date: Wed Sep 26 2012 - 12:55:18 EST


From: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>
Date: Tue, 25 Sep 2012 14:50:08 -0700

> This patch series optimized CRC32C calculations with PCLMULQDQ
> instruction for crc32c-intel module. It speeds up the original
> implementation by 1.6x for 1K buffer and by 3x for buffer 4k or
> more. The tcrypt module was enhanced for doing speed test
> on crc32c calculations.
>
> Signed-off-by: Tim Chen <tim.c.chen@xxxxxxxxxxxxxxx>

Great work.

I intend to do something nearly identical on sparc64 since we have
similar instructions in the form of "xmulx" and "xmulxhi" which return
the lower and upper 64-bits (respectively) of a XOR multiply.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/