From 2da60678ef447b8d80b473fdf4218ed516b2ba1b Mon Sep 17 00:00:00 2001 From: Michael Baentsch <57787676+baentsch@users.noreply.github.com> Date: Mon, 30 Mar 2020 16:40:04 +0200 Subject: [PATCH] fixing style --- src/common/common.h | 60 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 58 insertions(+), 2 deletions(-) diff --git a/src/common/common.h b/src/common/common.h index bfeea1f39..f27004ef9 100644 --- a/src/common/common.h +++ b/src/common/common.h @@ -16,23 +16,79 @@ extern "C" { #endif -/** Runtime CPU feature flags mirroring the compile time flags - * +/** + * Runtime CPU feature flag indicating AES support */ int OQS_RT_AES_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating AVX support + */ int OQS_RT_AVX_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating AVX2 support + */ int OQS_RT_AVX2_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating AVX512 support + */ int OQS_RT_AVX512_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating BMI support + */ int OQS_RT_BMI_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating BMI2 support + */ int OQS_RT_BMI2_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating FMA support + */ int OQS_RT_FMA_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating FMA4 support + */ int OQS_RT_FMA4_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating MMX support + */ int OQS_RT_MMX_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating POPCNT support + */ int OQS_RT_POPCNT_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating SSE support + */ int OQS_RT_SSE_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating SSE2 support + */ int OQS_RT_SSE2_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating SSE3 support + */ int OQS_RT_SSE3_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating SSE4A support + */ int OQS_RT_SSE4A_INSTRUCTIONS ; + +/** + * Runtime CPU feature flag indicating NEON support + */ int OQS_RT_NEON_INSTRUCTIONS;