Re: [PATCH RFC v2 0/6] lib/crc: x86: convert the CRC assembly to C intrinsics

From: Peter Zijlstra

Date: Fri Nov 20 2026 - 03:46:35 EST


On Thu, Nov 19, 2026 at 07:42:20PM -0800, Eric Biggers wrote:

> So if we're going to proceed, I'd at least like to see a version that
> compares a bit more favorably to the original. But also I think before
> diving into this approach I'd like wider agreement in the Linux
> community (x86 maintainers, crypto, etc.) that the x86 intrinsics are
> the way to go, and for there to be a path forward for DOITM as well, and
> hopefully some interest in improving the compilers too.

My 2cents go towards keeping the asm. There is no point in fighting
compilers over this. The very same is true for atomics.