summaryrefslogtreecommitdiff
path: root/neozip/arch/arm/arm_features.h
blob: 2f17a9ddf0515c00dc09a9a6fcef5a4cee542f3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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_ */