mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-16 15:56:08 -04:00
tools/checksum_benchmarks.sh: fix detecting/disabling NEON on AArch64
This commit is contained in:
parent
6eef15d6f3
commit
e9d1014161
@ -135,12 +135,18 @@ i386|x86_64)
|
||||
disable_impl "SSE2" "-mno-sse2"
|
||||
fi
|
||||
;;
|
||||
arm*|aarch*)
|
||||
arm*)
|
||||
if have_cpu_feature neon; then
|
||||
do_benchmark "NEON"
|
||||
disable_impl "NEON" "-mfpu=vfpv3"
|
||||
fi
|
||||
;;
|
||||
aarch*)
|
||||
if have_cpu_feature asimd; then
|
||||
do_benchmark "NEON"
|
||||
disable_impl "NEON" "-march=armv8-a+nosimd"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
do_benchmark "generic"
|
||||
do_benchmark "zlib"
|
||||
|
Loading…
x
Reference in New Issue
Block a user