diff options
Diffstat (limited to 'neozip/arch/arm/arm_features.h')
| -rw-r--r-- | neozip/arch/arm/arm_features.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/neozip/arch/arm/arm_features.h b/neozip/arch/arm/arm_features.h new file mode 100644 index 0000000000..2f17a9ddf0 --- /dev/null +++ b/neozip/arch/arm/arm_features.h @@ -0,0 +1,19 @@ +/* arm_features.h -- check for ARM features. + * For conditions of distribution and use, see copyright notice in zlib.h + */ + +#ifndef ARM_FEATURES_H_ +#define ARM_FEATURES_H_ + +struct arm_cpu_features { + int has_simd; + int has_neon; + int has_crc32; + int has_pmull; + int has_eor3; + int has_fast_pmull; +}; + +void Z_INTERNAL arm_check_features(struct arm_cpu_features *features); + +#endif /* ARM_FEATURES_H_ */ |
