Home GnuPG

Make BMI2 inline assembly check more robust

Description

Make BMI2 inline assembly check more robust

* configure.ac (gcry_cv_gcc_inline_asm_bmi2): New assembly test.

Use actual assembly snippets from keccak.c to check that compiler
has proper support for used BMI2 instructions.

(cherry picked from commit 135250e3060e79be698d4f36a819aa8a880789f8)

  • GnuPG-bug-id: T3408
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Jan 6 2018, 7:26 PM
wernerCommitted on Apr 17 2018, 8:05 PM
Parents
rCbbf88f0e9d48: AES-KW: fix in-place encryption
Branches
Unknown
Tags
Unknown
Tasks
T3408: keccak_permute_32.h : error: 'asm' operand requires impossible reload