Sha256: 9e677af92a9a03a8a961d0e6c67d8e6c8cd103fac2eeac4eaf5a8adb39afb570
Contents?: true
Size: 628 Bytes
Versions: 8
Compression:
Stored size: 628 Bytes
Contents
#ifndef AWS_COMMON_CPUID_H #define AWS_COMMON_CPUID_H /** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #include <aws/common/common.h> enum aws_cpu_feature_name { AWS_CPU_FEATURE_CLMUL, AWS_CPU_FEATURE_SSE_4_1, AWS_CPU_FEATURE_SSE_4_2, AWS_CPU_FEATURE_AVX2, AWS_CPU_FEATURE_ARM_CRC, AWS_CPU_FEATURE_COUNT, }; AWS_EXTERN_C_BEGIN /** * Returns true if a cpu feature is supported, false otherwise. */ AWS_COMMON_API bool aws_cpu_has_feature(enum aws_cpu_feature_name feature_name); AWS_EXTERN_C_END #endif /* AWS_COMMON_CPUID_H */
Version data entries
8 entries across 8 versions & 1 rubygems