Home GnuPG

Check for compiler SSE4.1 support in PCLMUL CRC code.
3e8074ecd3a5Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Check for compiler SSE4.1 support in PCLMUL CRC code.

* cipher/crc-intel-pclmul.c: Build PCLMUL CRC implementation only if
  compiler supports PCLMUL *and* SSE4.1
* cipher/crc.c: Ditto
* configure.ac (sse41support, gcry_cv_gcc_inline_asm_sse41): New.

Fixes build with the native gcc on OpenBSD/amd64, which supports PCLMUL
but not SSE4.1.

  • Signed-off-by: Jérémie Courrèges-Anglas <jca@wxcvbn.org>

Details

Provenance
Jérémie Courrèges-Anglas <jca@wxcvbn.org>Authored on May 9 2016, 4:04 AM
jukiviliCommitted on May 28 2016, 12:00 PM
Parents
rCeb6427c3b599: Register DCO for Jérémie Courrèges-Anglas
Branches
Unknown
Tags
Unknown

Event Timeline

Jussi Kivilinna <jussi.kivilinna@iki.fi> committed rC3e8074ecd3a5: Check for compiler SSE4.1 support in PCLMUL CRC code. (authored by Jérémie Courrèges-Anglas <jca@wxcvbn.org>).May 28 2016, 12:00 PM