Home GnuPG

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

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
wernerCommitted on Jun 8 2016, 6:18 PM
Parents
rCbd39eb9fba47: ecc: Fix ecc_verify for cofactor support.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCdc76313308c1: Check for compiler SSE4.1 support in PCLMUL CRC code. (authored by Jérémie Courrèges-Anglas <jca@wxcvbn.org>).Jun 8 2016, 6:18 PM