[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] crc: Add PCLMUL implementation
From: |
Simon Josefsson |
Subject: |
Re: [PATCH] crc: Add PCLMUL implementation |
Date: |
Fri, 13 Dec 2024 17:33:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Thanks for continuing work on this! I'd like to focus on a meta issue
first. I'd prefer of the crc PCLMUL feature is "opt-in" from a package
maintainer point of view. Do you see any problem with that? What I'm
after is that people who import the 'crc' module now don't automatically
get the CRC PCLMUL implementation without also having to pull in a
crc-pclmul module. Some packages will care about performance (gzip,
coreutils maybe?) but some will regard code size, complexity and risks
of bugs to be more important to optimize for. Is there some way to
rework things for this? It is okay to add stuff to crc.c, but could be
hidden by #ifdef's by some symbol #define'd by the new module.
Sam Russell <sam.h.russell@gmail.com> writes:
> diff --git a/modules/crc b/modules/crc
> index c8dc462a27..16743980e8 100644
> --- a/modules/crc
> +++ b/modules/crc
> @@ -11,9 +11,11 @@ m4/build-cc.m4
> Depends-on:
> stdint
> endian
> +crc-x86_64 [GL_CRC_PCLMUL = 1]
>
> configure.ac:
> AC_REQUIRE([gl_CRC_SLICE_BY_8])
> +AC_REQUIRE([gl_CRC_PCLMUL])
> gl_BUILD_CC
> AC_PROG_MKDIR_P
So this would be removed.
> +Maintainer:
> +Simon Josefsson
Add yourself as maintainer of the new module please :)
/Simon
signature.asc
Description: PGP signature
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/12
- Re: [PATCH] crc: Add PCLMUL implementation,
Simon Josefsson <=
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/13
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/13
- Re: [PATCH] crc: Add PCLMUL implementation, Jim Meyering, 2024/12/13
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/13
- Re: [PATCH] crc: Add PCLMUL implementation, Jim Meyering, 2024/12/13
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/13
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/16
- Re: [PATCH] crc: Add PCLMUL implementation, Bruno Haible, 2024/12/16
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/16
- Re: [PATCH] crc: Add PCLMUL implementation, Simon Josefsson, 2024/12/17