Debian Codegraph @

ext/zlib-ng/arch/s390/s390_features.c

raw symbols SCIP
1 #include "../../zbuild.h"
2 #include "s390_features.h"
3
4 #ifdef HAVE_SYS_AUXV_H
5 # include <sys/auxv.h>
6 #endif
7
8 Z_INTERNAL int PREFIX(s390_cpu_has_vx) = 0;
9
10 void Z_INTERNAL PREFIX(s390_check_features)(void) {
11 #ifdef S390_FEATURES
12 PREFIX(s390_cpu_has_vx) = getauxval(AT_HWCAP) & HWCAP_S390_VX;
13 #endif
14 }