Some checks failed
sm-rpc / build (Debug, arm-linux-gnueabihf) (push) Successful in 1m34s
sm-rpc / build (Debug, aarch64-linux-gnu) (push) Successful in 2m46s
sm-rpc / build (Debug, host.gcc) (push) Failing after 1m28s
sm-rpc / build (Release, aarch64-linux-gnu) (push) Successful in 2m14s
sm-rpc / build (Release, arm-linux-gnueabihf) (push) Successful in 2m8s
sm-rpc / build (Debug, mipsel-linux-gnu) (push) Successful in 5m35s
sm-rpc / build (Release, host.gcc) (push) Failing after 1m55s
sm-rpc / build (Release, mipsel-linux-gnu) (push) Successful in 7m21s
15 lines
307 B
C
15 lines
307 B
C
#include "zbuild.h"
|
|
#include "s390_features.h"
|
|
|
|
#ifdef HAVE_SYS_AUXV_H
|
|
# include <sys/auxv.h>
|
|
#endif
|
|
|
|
#ifndef HWCAP_S390_VXRS
|
|
#define HWCAP_S390_VXRS (1 << 11)
|
|
#endif
|
|
|
|
void Z_INTERNAL s390_check_features(struct s390_cpu_features *features) {
|
|
features->has_vx = getauxval(AT_HWCAP) & HWCAP_S390_VXRS;
|
|
}
|