• Martin Storsjö's avatar
    arm: Improve use of getauxval in quirky environments · d4fcb70d
    Martin Storsjö authored
    Manually define the necessary HWCAP if sys/auxv.h didn't define
    it. (It isn't defined in the Android NDK, one has to include
    asm/hwcap.h to get definitions of them. Additionally, the aarch64
    cross libc headers in Ubuntu 16.04 lacked HWCAP definitions from
    sys/auxv.h, also present in asm/hwcap.h. Ubuntu 16.04's armhf
    cross libc headers did however define HWCAP values in sys/auxv.h.)
    
    Don't use any detection at all for NEON on aarch64, since it is a
    mandatory feature there. On WSL on Windows 10 1803 arm64,
    getauxval(AT_HWCAP) returns 0.
    d4fcb70d
Name
Last commit
Last update
..
arm Loading commit data...
ext/x86 Loading commit data...
win32 Loading commit data...
x86 Loading commit data...
cdef.h Loading commit data...
cdef_apply.h Loading commit data...
cdef_apply_tmpl.c Loading commit data...
cdef_tmpl.c Loading commit data...
cdf.c Loading commit data...
cdf.h Loading commit data...
cpu.c Loading commit data...
cpu.h Loading commit data...
data.c Loading commit data...
dav1d.rc.in Loading commit data...
decode.c Loading commit data...
decode.h Loading commit data...
dequant_tables.c Loading commit data...
dequant_tables.h Loading commit data...
env.h Loading commit data...
getbits.c Loading commit data...
getbits.h Loading commit data...
internal.h Loading commit data...
intra_edge.c Loading commit data...
intra_edge.h Loading commit data...
ipred.h Loading commit data...
ipred_prepare.h Loading commit data...
ipred_prepare_tmpl.c Loading commit data...
ipred_tmpl.c Loading commit data...
itx.h Loading commit data...
itx_1d.c Loading commit data...
itx_tmpl.c Loading commit data...
levels.h Loading commit data...
lf_apply.h Loading commit data...
lf_apply_tmpl.c Loading commit data...
lf_mask.c Loading commit data...
lf_mask.h Loading commit data...
lib.c Loading commit data...
loopfilter.h Loading commit data...
loopfilter_tmpl.c Loading commit data...
looprestoration.h Loading commit data...
looprestoration_tmpl.c Loading commit data...
lr_apply.h Loading commit data...
lr_apply_tmpl.c Loading commit data...
mc.h Loading commit data...
mc_tmpl.c Loading commit data...
meson.build Loading commit data...
msac.c Loading commit data...
msac.h Loading commit data...
obu.c Loading commit data...
obu.h Loading commit data...
picture.c Loading commit data...
picture.h Loading commit data...
qm.c Loading commit data...
qm.h Loading commit data...
recon.h Loading commit data...
recon_tmpl.c Loading commit data...
ref.c Loading commit data...
ref.h Loading commit data...
ref_mvs.c Loading commit data...
ref_mvs.h Loading commit data...
scan.c Loading commit data...
scan.h Loading commit data...
tables.c Loading commit data...
tables.h Loading commit data...
thread.h Loading commit data...
thread_data.h Loading commit data...
thread_task.c Loading commit data...
thread_task.h Loading commit data...
warpmv.c Loading commit data...
warpmv.h Loading commit data...
wedge.c Loading commit data...
wedge.h Loading commit data...