From 6fcc7bb1a28d4fd6b398ff9cac34f4e6b883d562 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Thu, 2 Jun 2016 11:31:57 +0200 Subject: [PATCH 1/3] Fix SIMD documentation for AMD family --- include/boost/predef/hardware/simd/x86_amd/versions.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/boost/predef/hardware/simd/x86_amd/versions.h b/include/boost/predef/hardware/simd/x86_amd/versions.h index 1115716..1f9e96c 100644 --- a/include/boost/predef/hardware/simd/x86_amd/versions.h +++ b/include/boost/predef/hardware/simd/x86_amd/versions.h @@ -21,7 +21,7 @@ http://www.boost.org/LICENSE_1_0.txt) // --------------------------------- /*` - [heading `BOOST_HW_SIMD_X86_SSE4A_VERSION`] + [heading `BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION`] [@https://en.wikipedia.org/wiki/SSE4##SSE4A SSE4A] x86 extension (AMD specific). @@ -30,7 +30,7 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION BOOST_VERSION_NUMBER(4, 0, 0) /*` - [heading `BOOST_HW_SIMD_X86_FMA4_VERSION`] + [heading `BOOST_HW_SIMD_X86_AMD_FMA4_VERSION`] [@https://en.wikipedia.org/wiki/FMA_instruction_set#FMA4_instruction_set FMA4] x86 extension (AMD specific). @@ -39,7 +39,7 @@ http://www.boost.org/LICENSE_1_0.txt) #define BOOST_HW_SIMD_X86_AMD_FMA4_VERSION BOOST_VERSION_NUMBER(5, 1, 0) /*` - [heading `BOOST_HW_SIMD_X86_XOP_VERSION`] + [heading `BOOST_HW_SIMD_X86_AMD_XOP_VERSION`] [@https://en.wikipedia.org/wiki/XOP_instruction_set XOP] x86 extension (AMD specific). From abb1e4850d833f2390f942c65196771d167b3174 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Fri, 3 Jun 2016 17:31:41 -0400 Subject: [PATCH 2/3] Fixed bug in rule for when a version number in a predef expression is given using two parts. --- tools/check/predef.jam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check/predef.jam b/tools/check/predef.jam index 1863906..6355ea7 100644 --- a/tools/check/predef.jam +++ b/tools/check/predef.jam @@ -103,7 +103,7 @@ local rule change_term_to_def ( term ) { local version_number = [ regex.split $(parts[3]) "[.]" ] ; if ! $(version_number[3]) { version_number += "0" ; } - if ! $(version_number[3]) { version_number += "0" ; } + if ! $(version_number[2]) { version_number += "0" ; } parts = $(parts[1-2]) BOOST_VERSION_NUMBER($(version_number:J=",")) ; } return CHECK=\"$(parts:J=" ")\" ; From 0c0d35857c71525382eef4c10691419191df1bec Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Tue, 19 Jul 2016 10:29:25 -0500 Subject: [PATCH 3/3] Update documentation.. In prep for linking into general Boost documentation. --- doc/build.jam | 39 ++++++++++++++++++- doc/html/index.html | 2 +- .../reference/boost_hw_hardware_macros.html | 6 +-- 3 files changed, 42 insertions(+), 5 deletions(-) diff --git a/doc/build.jam b/doc/build.jam index 52f1336..6b5cc76 100644 --- a/doc/build.jam +++ b/doc/build.jam @@ -58,6 +58,43 @@ boostbook standalone css ; +############################################################################### +### Targets for Boost release integration. +############################################################################### + # Target for Boost global documentation integration. -alias boostdoc : predef : : : predef ; +# +# For documentation that will be integrated into the global documentation +# this should be an alias similar to: +# +# alias boostdoc : my_lib : : : my_lib_boostbook_xml ; +# explicit boostdoc ; +# +# For documentation that is not part of the global documentation, i.e. +# it has stadalone documentation, it should be an empty alias: +# +# alias boostdoc ; +# explicit boostdoc ; +# +alias boostdoc : predef : : : predef ; explicit boostdoc ; + +# Target for Boost standalone release documentation building. +# +# For documentation that is not part of the global Boost documentation +# this should be an alias to building the "standalone" documentation. +# Usual this is just an alias to a "stadalone" target: +# +# alias boostrelease : stadalone ; +# explicit boostrelease ; +# +# For documentation that is part of the global Boost documentation this +# should be an empty alias: +# +# alias boostrelease ; +# explicit boostrelease ; +# +alias boostrelease ; +explicit boostrelease ; + +############################################################################### diff --git a/doc/html/index.html b/doc/html/index.html index a1e170a..74a1ab2 100644 --- a/doc/html/index.html +++ b/doc/html/index.html @@ -56,7 +56,7 @@ - +

Last revised: February 17, 2016 at 15:44:31 GMT

Last revised: July 19, 2016 at 15:27:08 GMT


diff --git a/doc/html/predef/reference/boost_hw_hardware_macros.html b/doc/html/predef/reference/boost_hw_hardware_macros.html index 1f38ffa..755ae27 100644 --- a/doc/html/predef/reference/boost_hw_hardware_macros.html +++ b/doc/html/predef/reference/boost_hw_hardware_macros.html @@ -1169,7 +1169,7 @@
- BOOST_HW_SIMD_X86_SSE4A_VERSION + BOOST_HW_SIMD_X86_AMD_SSE4A_VERSION

SSE4A x86 @@ -1180,7 +1180,7 @@

- BOOST_HW_SIMD_X86_FMA4_VERSION + BOOST_HW_SIMD_X86_AMD_FMA4_VERSION

FMA4 @@ -1191,7 +1191,7 @@

- BOOST_HW_SIMD_X86_XOP_VERSION + BOOST_HW_SIMD_X86_AMD_XOP_VERSION

XOP