Better formatting of tables + Improve brief SIMD family description

This commit is contained in:
Charly Chevalier
2015-07-21 10:07:53 +02:00
parent afaad7f56b
commit 3d96ad842f
9 changed files with 43 additions and 26 deletions

View File

@ -24,9 +24,10 @@ http://www.boost.org/LICENSE_1_0.txt)
[table [table
[[__predef_symbol__] [__predef_version__]] [[__predef_symbol__] [__predef_version__]]
[[`BOOST_HW_SIMD_X86_AVAILABLE`] [__predef_detection__]]
[[`BOOST_HW_SIMD_X86_AMD_AVAILABLE`] [__predef_detection__]]
[[`BOOST_HW_SIMD_ARM_AVAILABLE`] [__predef_detection__]] [[`BOOST_HW_SIMD_ARM_AVAILABLE`] [__predef_detection__]]
[[`BOOST_HW_SIMD_PPC_AVAILABLE`] [__predef_detection__]] [[`BOOST_HW_SIMD_PPC_AVAILABLE`] [__predef_detection__]]
[[`BOOST_HW_SIMD_X86_AVAILABLE`] [__predef_detection__]]
] ]
*/ */

View File

@ -15,22 +15,25 @@ http://www.boost.org/LICENSE_1_0.txt)
/*` /*`
[heading `BOOST_HW_SIMD_ARM`] [heading `BOOST_HW_SIMD_ARM`]
The SIMD extension for ARM (if detected). The SIMD extension for ARM (*if detected*).
Version number depends on the most recent detected extension. Version number depends on the most recent detected extension.
[table [table
[[__predef_symbol__] [__predef_version__]] [[__predef_symbol__] [__predef_version__]]
[[`__ARM_NEON__`] [__predef_detection__]]
[[__predef_detection__] [__predef_detection__]]
[[`__aarch64__`] [__predef_detection__]] [[`__aarch64__`] [__predef_detection__]]
[[`_M_ARM`] [__predef_detection__]] [[`_M_ARM`] [__predef_detection__]]
]
[table
[[__predef_symbol__] [__predef_version__]]
[[`__ARM_NEON__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]] [[`__ARM_NEON__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
[[`__aarch64__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]] [[`__aarch64__`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
[[`_M_ARM`] [BOOST_HW_SIMD_ARM_NEON_VERSION]] [[`_M_ARM`] [BOOST_HW_SIMD_ARM_NEON_VERSION]]
] ]
*/ */
#define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE #define BOOST_HW_SIMD_ARM BOOST_VERSION_NUMBER_NOT_AVAILABLE

View File

@ -12,10 +12,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h> #include <boost/predef/version_number.h>
/*` /*`
[heading `BOOST_HW_SIMD_ARM_*_VERSION`] Those defines represent ARM SIMD extensions versions.
[note Those defines represent ARM SIMD extensions versions. You can [note You *MUST* compare them with the predef `BOOST_HW_SIMD_ARM`.]
compare them with the predef BOOST_HW_SIMD_ARM.]
*/ */
// --------------------------------- // ---------------------------------

View File

@ -14,20 +14,22 @@ http://www.boost.org/LICENSE_1_0.txt)
/*` /*`
[heading `BOOST_HW_SIMD_PPC`] [heading `BOOST_HW_SIMD_PPC`]
The SIMD extension for PowerPC (if detected). The SIMD extension for PowerPC (*if detected*).
Version number depends on the most recent detected extension. Version number depends on the most recent detected extension.
[table [table
[[__predef_symbol__] [__predef_version__]] [[__predef_symbol__] [__predef_version__]]
[[`__VECTOR4DOUBLE__`] [__predef_detection__]] [[`__VECTOR4DOUBLE__`] [__predef_detection__]]
[[`__ALTIVEC__`] [__predef_detection__]] [[`__ALTIVEC__`] [__predef_detection__]]
[[`__VEC__`] [__predef_detection__]] [[`__VEC__`] [__predef_detection__]]
[[`__VSX__`] [__predef_detection__]] [[`__VSX__`] [__predef_detection__]]
]
[table
[[__predef_symbol__] [__predef_version__]]
[[`__VECTOR4DOUBLE__`] [BOOST_HW_SIMD_PPC_QPX_VERSION]] [[`__VECTOR4DOUBLE__`] [BOOST_HW_SIMD_PPC_QPX_VERSION]]
@ -36,6 +38,7 @@ http://www.boost.org/LICENSE_1_0.txt)
[[`__VSX__`] [BOOST_HW_SIMD_PPC_VSX_VERSION]] [[`__VSX__`] [BOOST_HW_SIMD_PPC_VSX_VERSION]]
] ]
*/ */
#define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE #define BOOST_HW_SIMD_PPC BOOST_VERSION_NUMBER_NOT_AVAILABLE

View File

@ -12,10 +12,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h> #include <boost/predef/version_number.h>
/*` /*`
[heading `BOOST_HW_SIMD_PPC_*_VERSION`] Those defines represent Power PC SIMD extensions versions.
[note Those defines represent Power PC SIMD extensions versions. You can [note You *MUST* compare them with the predef `BOOST_HW_SIMD_PPC`.]
compare them with the predef BOOST_HW_SIMD_PPC.]
*/ */
// --------------------------------- // ---------------------------------

View File

@ -16,13 +16,12 @@ http://www.boost.org/LICENSE_1_0.txt)
/*` /*`
[heading `BOOST_HW_SIMD_X86`] [heading `BOOST_HW_SIMD_X86`]
The SIMD extension for x86 (if detected). The SIMD extension for x86 (*if detected*).
Version number depends on the most recent detected extension. Version number depends on the most recent detected extension.
[table [table
[[__predef_symbol__] [__predef_version__]] [[__predef_symbol__] [__predef_version__]]
[[`__SSE__`] [__predef_detection__]] [[`__SSE__`] [__predef_detection__]]
[[`_M_X64`] [__predef_detection__]] [[`_M_X64`] [__predef_detection__]]
[[`_M_IX86_FP >= 1`] [__predef_detection__]] [[`_M_IX86_FP >= 1`] [__predef_detection__]]
@ -44,7 +43,10 @@ http://www.boost.org/LICENSE_1_0.txt)
[[`__FMA__`] [__predef_detection__]] [[`__FMA__`] [__predef_detection__]]
[[`__AVX2__`] [__predef_detection__]] [[`__AVX2__`] [__predef_detection__]]
]
[table
[[__predef_symbol__] [__predef_version__]]
[[`__SSE__`] [BOOST_HW_SIMD_X86_SSE_VERSION]] [[`__SSE__`] [BOOST_HW_SIMD_X86_SSE_VERSION]]
[[`_M_X64`] [BOOST_HW_SIMD_X86_SSE_VERSION]] [[`_M_X64`] [BOOST_HW_SIMD_X86_SSE_VERSION]]

View File

@ -12,10 +12,9 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h> #include <boost/predef/version_number.h>
/*` /*`
[heading `BOOST_HW_SIMD_X86_*_VERSION`] Those defines represent x86 SIMD extensions versions.
[note Those defines represent x86 SIMD extensions versions. You can [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86`.]
compare them with the predef BOOST_HW_SIMD_X86.]
*/ */
// --------------------------------- // ---------------------------------

View File

@ -16,13 +16,20 @@ http://www.boost.org/LICENSE_1_0.txt)
/*` /*`
[heading `BOOST_HW_SIMD_X86_AMD`] [heading `BOOST_HW_SIMD_X86_AMD`]
The SIMD extension for x86 (AMD) (if detected). The SIMD extension for x86 (AMD) (*if detected*).
Version number depends on the most recent detected extension. Version number depends on the most recent detected extension.
[note This predef includes every other x86 SIMD extensions and also has other [table
more specific extensions (FMA4, XOP, SSE4a). You should use this predef [[__predef_symbol__] [__predef_version__]]
instead of `BOOST_HW_SIMD_X86` to test if those specific extensions have
been detected.] [[`__SSE4A__`] [__predef_detection__]]
[[`__FMA4__`] [__predef_detection__]]
[[`__XOP__`] [__predef_detection__]]
[[`BOOST_HW_SIMD_X86`] [__predef_detection__]]
]
[table [table
[[__predef_symbol__] [__predef_version__]] [[__predef_symbol__] [__predef_version__]]
@ -36,7 +43,11 @@ http://www.boost.org/LICENSE_1_0.txt)
[[`BOOST_HW_SIMD_X86`] [BOOST_HW_SIMD_x86]] [[`BOOST_HW_SIMD_X86`] [BOOST_HW_SIMD_x86]]
] ]
[include x86_amd/versions.h] [note This predef includes every other x86 SIMD extensions and also has other
more specific extensions (FMA4, XOP, SSE4a). You should use this predef
instead of `BOOST_HW_SIMD_X86` to test if those specific extensions have
been detected.]
*/ */
#define BOOST_HW_SIMD_X86_AMD BOOST_VERSION_NUMBER_NOT_AVAILABLE #define BOOST_HW_SIMD_X86_AMD BOOST_VERSION_NUMBER_NOT_AVAILABLE

View File

@ -12,12 +12,12 @@ http://www.boost.org/LICENSE_1_0.txt)
#include <boost/predef/version_number.h> #include <boost/predef/version_number.h>
/*` /*`
[heading `BOOST_HW_SIMD_X86_AMD_*_VERSION`] Those defines represent x86 (AMD specific) SIMD extensions versions.
[note Those defines represent x86 (AMD specific) SIMD extensions versions. You [note You *MUST* compare them with the predef `BOOST_HW_SIMD_X86_AMD`.]
can compare them with the predef BOOST_HW_SIMD_X86_AMD.]
*/ */
// --------------------------------- // ---------------------------------
/*` /*`