[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: |
Tue, 17 Dec 2024 08:55:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) |
Thanks - I have pushed this now.
Sam Russell <sam.h.russell@gmail.com> writes:
>> I'm unsure about those CFLAGS. Aren't these CFLAGS required when
>> building the code too? If not, why can't the same pattern to detect
>> PCLMUL during ./configure which is done during run-time?
>
> discussed with Bruno earlier in the thread, CFLAGS set this for the entire
> build so we've done it with pragmas inside crc-x86_64-pclmul.c
My point was that it would be better to use the same mechanism the .c
implementation uses in the ./configure check, to make sure it tests for
what will be used. That is, drop the CFLAGS changes and add:
#pragma GCC push_options
#pragma GCC target("pclmul,avx")
...
#pragma GCC pop_options
/Simon
signature.asc
Description: PGP signature
- Re: [PATCH] crc: Add PCLMUL implementation, (continued)
- 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
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/17
- Re: [PATCH] crc: Add PCLMUL implementation,
Simon Josefsson <=
- Re: [PATCH] crc: Add PCLMUL implementation, Sam Russell, 2024/12/17
- Re: [PATCH] crc: Add PCLMUL implementation, Bruno Haible, 2024/12/17
- Re: [PATCH] crc: Add PCLMUL implementation, Simon Josefsson, 2024/12/17
- Re: [PATCH] crc: Add PCLMUL implementation, Pádraig Brady, 2024/12/18