# x86-simd-sort 8.0 adds AVX2 fallback and MSVC support

> **Key takeaway:** The x86-simd-sort library now supports AVX2 fallback for static methods and adds compatibility for the Microsoft Visual C++ compiler.

**Published:** 2026-12-03T10:55:49+00:00 
**Source:** Phoronix Benchmarks & Drivers 
**Category:** kernel-os 
**Canonical URL:** https://fosswire.org/news/x86-simd-sort-80-adds-avx2-fallback-and-msvc-support 

## Summary
The x86-simd-sort library has released version 8.0, introducing critical improvements to instruction set handling and compiler compatibility. Originally developed by Intel as an AVX-512 optimized sorting library, the project is now maintained following its adoption by the NumPy project.

This update focuses on improving robustness across different x86_64 hardware configurations and development environments. Key changes include improved fallback mechanisms for CPUs lacking AVX-512 capabilities and expanded support for the MSVC compiler on Windows.

## Technical improvements in x86-simd-sort 8.0
- **Instruction Set Fallback:** Static methods compiled with -mavx512f can now successfully fall back to AVX2 instructions on hardware that does not support AVX-512, preventing execution errors.
- **Compiler Compatibility:** The release introduces support for the Microsoft Windows MSVC compiler and resolves Link Time Optimization (LTO) build failures encountered with GCC 16.
- **API and Functionality:** A new key-value partial sort has been added to the C API, alongside new controls for NaN (Not-a-Number) placement within sorted results.
- **Correctness:** The update includes several unspecified correctness fixes to ensure stable sorting behavior.

## Why it matters
As a dependency for major projects like NumPy and OpenJDK, these stability improvements ensure high-performance sorting remains reliable across diverse x86_64 hardware. The expanded compiler support facilitates easier integration for developers working in cross-platform environments involving both Linux and Windows.