rossanoventurini / qwt

A Rust implementation of the Quad Wavelet Tree
MIT License
29 stars 2 forks source link

Fix build for aarch64 #2

Closed bz2 closed 3 months ago

bz2 commented 3 months ago

Hey @rossanoventurini - I've made a few changes on top of develop so I could built and test the library on my aarch64 machine. Thanks for fixing the test failures too - that one had me confused till I noticed you had an in progress branch too!


Changes to Rust Nightly handling of SIMD features also means a new stdarch_aarch64_prefetch feature for aarch64::_prefetch use.

Add a crate-level feature that can be disabled for stable builds or comparative benchmarking.

Also make use of _popcnt64 conditional on x86_64.

rossanoventurini commented 3 months ago

Thank you!