Home GnuPG

hwf: add detection of s390x/zSeries hardware features

Description

hwf: add detection of s390x/zSeries hardware features

* configure.ac (gcry_cv_gcc_inline_asm_s390x)
(HAVE_CPU_ARCH_S390X): Add s390x detection support.
* mpi/config.links: Add setup for s390x links.
* src/Makefile.am: Add 'hwf-s390x.c'.
* src/g10lib.h (HWF_S390X_MSA, HWF_S390X_MSA_4, HWF_S390X_8): New.
* src/hwf_common.h (_gcry_hwf_detect_s390x): New.
* src/hwf-s390x.c: New.
* src/hwfeatures.c: Add "s390x-msa", "s390x-msa-4" and "s390x-msa-8".
  • Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>

Details

Provenance
jukiviliAuthored on Nov 7 2020, 10:08 AM
Parents
rC0e37bb32e215: tests/bench-slope: use same benchmarking for XTS as for other modes
Branches
Unknown
Tags
Unknown