@@ -164,6 +164,7 @@ namespace spy::_
164164
165165namespace spy
166166{
167+ // clang-format off
167168// ================================================================================================
168169// ! @ingroup api
169170// ! @brief SIMD extensions set reporting value
@@ -173,16 +174,16 @@ namespace spy
173174// ! exactly, below or above a given reference instruction set. Detectable instructions sets depends
174175// ! on SIMD hardware vendor
175176// !
176- // ! | Architecture | Supported SIMD instructions sets | | ----------------- |
177- // ! --------------------------------------------------------------------------------------- | |
178- // ! **X86 SSE** | `spy::sse1_`, `spy::sse2_`, `spy::sse3_`, `spy::ssse3_`, `spy::sse41_`,
179- // ! `spy::sse42_` | | **X86 AVX** | `spy::avx_`, `spy::avx2_`, `spy::avx512_` | | **Power PC
180- // ! VMX** | `spy::vmx_`, `spy::vmx_2_03_`, `spy::vmx_2_05_`, `spy::vmx_2_06_`, `spy::vmx_2_07_`,
181- // ! `spy::vmx_3_00_`, `spy::vmx_3_01_` | | **Power PC VSX** | `spy::vsx_`, `spy::vsx_2_06_`,
182- // ! `spy::vsx_2_07_`, `spy::vsx_3_00_`, `spy::vsx_3_01_` | | **ARM NEON** | `spy::neon_`,
183- // ! `spy::asimd_` | | **ARM SVE** | `spy::sve_`,`spy::sve128_`, `spy::sve256_`,
184- // ! `spy::sve512_`, `spy::sve1024_` | | **WASM** | `spy::simd128_` | |
185- // ! **RISC-V** | `spy::rvv_` ` |
177+ // ! | Architecture | Supported SIMD instructions sets |
178+ // ! | ----------------- | --------------------------------------------------------------------------------------- |
179+ // ! | **X86 SSE** | `spy::sse1_`, `spy::sse2_`, `spy::sse3_`, `spy::ssse3_`, `spy::sse41_`, `spy::sse42_` |
180+ // ! | **X86 AVX** | `spy::avx_`, `spy::avx2_`, `spy::avx512_` |
181+ // ! | **Power PC VMX** | `spy::vmx_`, `spy::vmx_2_03_`, `spy::vmx_2_05_`, `spy::vmx_2_06_`, `spy::vmx_2_07_`, `spy::vmx_3_00_`, `spy::vmx_3_01_` |
182+ // ! | **Power PC VSX** | `spy::vsx_`, `spy::vsx_2_06_`, `spy::vsx_2_07_`, `spy::vsx_3_00_`, `spy::vsx_3_01_` |
183+ // ! | **ARM NEON** | `spy::neon_`, `spy::asimd_` |
184+ // ! | **ARM SVE** | `spy::sve_`, `spy::sve128_`, `spy::sve256_`, `spy::sve512_`, `spy::sve1024_` |
185+ // ! | **WASM** | `spy::simd128_` |
186+ // ! | **RISC-V** | `spy::rvv_` |
186187// !
187188// ! Complete set of comparison operators is provided for those sets. Order of instructions sets
188189// ! are built so that if an instructions set supersedes another, it is considered greater than. For
@@ -201,11 +202,11 @@ namespace spy
201202// !
202203// ! | Architecture | Generic indicator |
203204// ! | ------------- | --------------------|
204- // ! | **X86** | `spy::x86_simd_` |
205- // ! | **Power PC** | `spy::ppc_simd_` |
206- // ! | **ARM** | `spy::arm_simd_` |
207- // ! | **WASM** | `spy::wasm_simd_` |
208- // ! | **RISC-V** | `spy::riscv_simd_` |
205+ // ! | **X86** | `spy::x86_simd_` |
206+ // ! | **Power PC** | `spy::ppc_simd_` |
207+ // ! | **ARM** | `spy::arm_simd_` |
208+ // ! | **WASM** | `spy::wasm_simd_` |
209+ // ! | **RISC-V** | `spy::riscv_simd_` |
209210// !
210211// ! @subgroupheader{Example - SIMD Architectures}
211212// ! @godbolt{samples/simd-arch.cpp}
@@ -215,19 +216,20 @@ namespace spy
215216// ! Some SIMD instructions set provides supplemental instructions on top of existing system.
216217// ! Those supplemental instruction set can be checked using the `spy::supports` namespace.
217218// !
218- // ! | Architecture | Supported SIMD instructions sets | | ------------- |
219- // ! ------------------------------------------------------------------------------------| | X86 AVX
220- // ! | `xop_`, `fma_`, `fma4_` | | X86
221- // ! AVX512 | `bw_`, `cd_`, `dq_`, `er_`, `ifma_`, `pf_`, `vl_`, `popcntdq_` | | |
222- // ! `_4fmaps_`, `vnniw_`, `vbmi_`, `bf16_`,`bitalg_`, `vbmi2_`, `vnni_`, `vpintersect_` |
219+ // ! | Architecture | Supported SIMD instructions sets |
220+ // ! | ------------- | ------------------------------------------------------------------------------------------------|
221+ // ! | **X86 AVX** | `xop_`, `fma_`, `fma4_` |
222+ // ! | **X86 AVX512** | `bw_`, `cd_`, `dq_`, `er_`, `ifma_`, `pf_`, `vl_`, `popcntdq_`, `_4fmaps_`, `vnniw_`, `vbmi_` |
223+ // ! | | `bf16_`, `bitalg_`, `vbmi2_`, `vnni_`, `vpintersect_` |
223224// !
224225// ! @subgroupheader{Example - SIMD Architectures}
225226// ! @godbolt{samples/simd-additional.cpp}
226227// !
227228// ================================================================================================
229+ // clang-format off
228230#if defined(SPY_SIMD_DETECTED)
229231 constexpr inline auto simd_instruction_set = _::simd_info<SPY_SIMD_VENDOR , SPY_SIMD_DETECTED > {};
230- #else
232+ #else
231233 constexpr inline auto simd_instruction_set = _::simd_info<> {};
232234#endif
233235
0 commit comments