mirror of
https://github.com/cuberite/libdeflate.git
synced 2025-09-17 08:17:30 -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"
|
disable_impl "SSE2" "-mno-sse2"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
arm*|aarch*)
|
arm*)
|
||||||
if have_cpu_feature neon; then
|
if have_cpu_feature neon; then
|
||||||
do_benchmark "NEON"
|
do_benchmark "NEON"
|
||||||
disable_impl "NEON" "-mfpu=vfpv3"
|
disable_impl "NEON" "-mfpu=vfpv3"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
aarch*)
|
||||||
|
if have_cpu_feature asimd; then
|
||||||
|
do_benchmark "NEON"
|
||||||
|
disable_impl "NEON" "-march=armv8-a+nosimd"
|
||||||
|
fi
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
do_benchmark "generic"
|
do_benchmark "generic"
|
||||||
do_benchmark "zlib"
|
do_benchmark "zlib"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user