From 0623ba38c5cf7be64d094117c1f550c794f0a896 Mon Sep 17 00:00:00 2001 From: Marco Barbone Date: Thu, 27 Aug 2026 09:58:31 -0400 Subject: [PATCH] docs: align supported compiler versions with the CI matrix The listed versions (MSVC 2015 update 2, g++ 4.9, clang 4.0/3.7) predate C++17 and cannot compile the library. State that any C++17 compiler builds `xsimd`, and list the oldest compilers the CI tests as the officially supported ones: MSVC 2022 (windows-2022), g++ 10 and clang 16 (linux.yml). Drop the "gcc7 and higher" note on AVX512, which the g++ 10 minimum makes redundant. Assisted-by: Claude Opus 5 --- README.md | 11 ++++++----- docs/source/index.rst | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 9e950d4bb..e4f70888f 100644 --- a/README.md +++ b/README.md @@ -51,20 +51,21 @@ The mathematical functions are a lightweight implementation of the algorithms or ## Requirements -`xsimd` requires a C++17 compliant compiler. The following C++ compilers are supported: +`xsimd` builds with any C++17 compliant compiler. Official support covers the +compilers tested in the CI: Compiler | Version ------------------------|------------------------------- -Microsoft Visual Studio | MSVC 2015 update 2 and above -g++ | 4.9 and above -clang | 4.0 and above +Microsoft Visual Studio | MSVC 2022 and above +g++ | 10 and above +clang | 16 and above The following SIMD instruction set extensions are supported: Architecture | Instruction set extensions -------------|----------------------------------------------------- x86 | SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, AVX2, FMA3+SSE, FMA3+AVX, FMA3+AVX2 -x86 | AVX512BW, AVX512CD, AVX512DQ, AVX512F, AVX512VL (gcc7 and higher) +x86 | AVX512BW, AVX512CD, AVX512DQ, AVX512F, AVX512VL x86 AMD | FMA4 ARM | NEON, NEON64, SVE128/256/512 (fixed vector size) WebAssembly | WASM diff --git a/docs/source/index.rst b/docs/source/index.rst index 68c992891..c834aa694 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -55,7 +55,7 @@ The following SIMD instruction set extensions are supported: +==============+=========================================================+ | x86 | SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX, FMA3, AVX2 | +--------------+---------------------------------------------------------+ -| x86 | AVX512 (gcc7 and higher) | +| x86 | AVX512 | +--------------+---------------------------------------------------------+ | x86 AMD | same as above + FMA4 | +--------------+---------------------------------------------------------+ @@ -69,16 +69,17 @@ The following SIMD instruction set extensions are supported: +--------------+---------------------------------------------------------+ -`xsimd` requires a C++17 compliant compiler. The following C++ compilers are supported: +`xsimd` builds with any C++17 compliant compiler. Official support covers the +compilers tested in the CI: +-------------------------+-------------------------------+ | Compiler | Version | +=========================+===============================+ -| Microsoft Visual Studio | MSVC 2015 update 2 and above | +| Microsoft Visual Studio | MSVC 2022 and above | +-------------------------+-------------------------------+ -| g++ | 4.9 and above | +| g++ | 10 and above | +-------------------------+-------------------------------+ -| clang | 3.7 and above | +| clang | 16 and above | +-------------------------+-------------------------------+ Licensing