Highlights
- Windows MSVC support: x86-simd-sort can now be built with MSVC on Windows (#220). The README now documents compiler compatibility (#232).
- NaN placement control: A new
trailing_nansparameter controls where NaNs end up in sort results (#235). - Const-correct argsort and argselect:
argsortandargselectnow takeconst T*inputs, and thestd::remove_const_tworkarounds are gone (#229, #230, #231). - Key-value partial sort in the C API: The C API now exposes key-value
partialsort(#241). - AVX2 fallback for static methods: When compiled with only
-mavx512f, static methods now fall back to AVX2 instead of failing with#error(#212).
Correctness fixes
- Signed zeros (+0.0 and -0.0) are now preserved in floating-point SIMD sorting networks (#244).
argsort's sorted-input check now handles a runtime descending flag correctly (#246).- Fixed unbounded recursion in
keyvalue_sortwhen the left partition is empty in the AVX-512 pivot selection (#245).
Build and compiler compatibility
- Fixed an LTO build failure on GCC 16 with multi-target dispatch (#225).
partial_qsort<_Float16>,qsort<_Float16>andqselect<_Float16>are markedmaybe_unused, which silences unused warnings (#215, #216).object_qsortis now generic in its array-size type (#207).- Converted CRLF line endings to LF (#227).
Benchmarks and CI
- Benchmarks can now swap
std::sortfor other routines and lock the ISA (#247). - Benchmarks no longer use the deprecated
benchmark::internal::Benchmark(#242).RegisterBenchmarkInternalnow usesstd::unique_ptr(#214). - CI updates:
- Added a DeepWiki badge to the README (#237).
New contributors
Welcome to @stratakis, @AnkitAhlawat7742, @LittlePyx, @Dhruvdesai793 and @icfaust.
Full Changelog: v7.0...v8.0