Commit Graph

178 Commits

Author SHA1 Message Date
Ruslan Baratov
acb6b9b8bf Fix misprint: s,__cpluplus,__cplusplus, 2015-08-09 17:45:31 +03:00
Rene Rivera
bfac404a0f Bump to version 1.4 for next release. Switched BBv2 check support to use
the compile only check utility to address cross-compile use cases.
2015-08-06 20:51:56 -05:00
Rene Rivera
0e69791f69 Merge pull request #31 from jfalcou/simd_support
Add support, macros and versionning for SIMD extensions
2015-08-06 20:37:23 -05:00
Charly Chevalier
3dc66cd71f Remove extra check (of MSVC version) for FMA/AVX/AVX2 for now 2015-08-04 11:57:06 +02:00
Charly Chevalier
1af46e66df Add missing _X86_AMD detection for BOOST_HW_SIMD + Unique name 2015-07-31 10:53:45 +02:00
Charly Chevalier
7fefba479c Update BOOST_HW_SIMD_X86_MIC_VERSION version number (max -> 9.0.0) 2015-07-21 20:29:25 +02:00
Charly Chevalier
93833f6e9e Fix wrong version numbers 2015-07-21 20:04:40 +02:00
Charly Chevalier
5576494500 Add missing BOOST_HW_SIMD_X86_AMD_AVAILABLE predef 2015-07-21 14:56:12 +02:00
Charly Chevalier
10601dbaf8 Includes clean up 2015-07-21 14:55:56 +02:00
Charly Chevalier
e566ad33ce Reorder x86 AMD SIMD extension detection 2015-07-21 14:53:12 +02:00
Charly Chevalier
2ae1123abf x86 -> X86 (in macro names) 2015-07-21 14:51:58 +02:00
Charly Chevalier
0b90b9f19b Add missing ppc/versions.h to ppc.h 2015-07-21 14:51:31 +02:00
Charly Chevalier
a4b32af636 Add missing x86_amd.h to simd.h 2015-07-21 14:51:02 +02:00
Charly Chevalier
adc3dbd4e2 Add main documentation
The SIMD documentation is in the BOOST_HW_SIMD_* reference instead of
in the main page
2015-07-21 10:15:35 +02:00
Charly Chevalier
3d96ad842f Better formatting of tables + Improve brief SIMD family description 2015-07-21 10:13:45 +02:00
Charly Chevalier
afaad7f56b Better format for versions documentation 2015-07-21 10:05:21 +02:00
Charly Chevalier
9a0d1235eb Refactor PPC SIMD detection + Add _VERSION(s) for PPC family 2015-07-20 11:04:42 +02:00
Charly Chevalier
7399d0169d Refactor ARM SIMD detection + Add _VERSION(s) for ARM family 2015-07-20 11:04:36 +02:00
Charly Chevalier
4aa12a8965 Refactor x86 (AMD) SIMD detection + Add _VERSION(s) for x86 (AMD) family 2015-07-20 11:02:21 +02:00
Charly Chevalier
e2d5a46cac Refactor x86 SIMD detection + Add _VERSION(s) for x86 family 2015-07-20 10:49:00 +02:00
Charly Chevalier
5ea2f20dc7 Make every SIMD predefs zero valued 2015-07-16 11:57:10 +02:00
Charly Chevalier
5758f35ffc Fix predef redefinition of BOOST_HW_SIMD_PPC_NAME
It was invalidly named BOOST_HW_SIMD_PPC_NAME instead of
BOOST_HW_SIMD_ARM_NAME
2015-07-15 23:14:04 +02:00
Charly Chevalier
2e1caabff4 Add unit tests for SIMD family predefs 2015-07-15 23:07:10 +02:00
Charly Chevalier
2e241dbd8e Better naming for BOOST_HW_* 2015-07-15 22:07:27 +02:00
Charly Chevalier
d8e85aad16 Fix includes to prevent testing system to fail 2015-07-15 21:16:04 +02:00
Charly Chevalier
eb5bb281ab Add hardware.h to predef.h 2015-07-15 16:33:48 +02:00
Charly Chevalier
4c2c48967e PPC: Use *real* versions as default version number 2015-07-15 16:33:48 +02:00
Charly Chevalier
b917db9850 ARM: Use *real* versions as default version number 2015-07-15 16:33:48 +02:00
Charly Chevalier
e6daa340d5 x86: Use *real* versions as default version number 2015-07-15 16:33:48 +02:00
Charly Chevalier
481f1a198c Update number versions for x86 family + More specific documentations 2015-07-15 16:33:48 +02:00
Charly Chevalier
0e6e579e6e Remove intrinsics headers 2015-07-15 16:33:48 +02:00
Charly Chevalier
3626c9b905 SIMD: Use _AVAILABLE instead of tag when detecting multiple architectures 2015-07-15 16:33:41 +02:00
Charly Chevalier
5ba0a2c5ab Add default version + name for {simd,arm,ppc,x86}.h tags 2015-07-15 16:33:41 +02:00
Charly Chevalier
298f2fe663 Add doc + _AVAILABLE for simd.h 2015-07-15 16:33:41 +02:00
Charly Chevalier
f0a0af764c Add doc + _AVAILABLE for simd/arm.h 2015-07-15 16:33:41 +02:00
Charly Chevalier
5ce2ff09f8 ARM: Add NEON predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
9b66cddaf6 Add doc + _AVAILABLE for simd/ppc.h 2015-07-15 16:33:41 +02:00
Charly Chevalier
1cc8ecc579 PPC: Add QPX predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
4b45a0faf1 PPC: Add VSX predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
29a0d11553 PPC: Add VMX predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
132509ee5d Add doc + _AVAILABLE for simd/x86.h 2015-07-15 16:33:41 +02:00
Charly Chevalier
93b58e6799 x86: Add XOP predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
e39e6ec7f8 x86: Add FMA4 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
87a602008c x86: Add FMA3 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
da88635350 x86: Add SSE4a predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
3275f7ba30 x86: Add MIC (Xeon Phi) predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
f6d6fd1d08 x86: Add AVX2 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
b8d6e7b645 x86: Add AVX predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
e29bfedc3e x86: Add SSE4.2 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
a01ebb6605 x86: Add SSE4.1 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
4f6352e140 x86: Add SSSE3 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
bce7e9ba56 x86: Add SSE3 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
67250ecae2 x86: Add SSE2 predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
cc9c5cdcf5 x86: Add SSE(1) predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
0b0e4d78bf x86: Add MMX predef 2015-07-15 16:33:41 +02:00
Charly Chevalier
cc00260202 Add default tree structure for hardware simd support 2015-07-15 16:32:01 +02:00
Rene Rivera
a3f6ac9fb2 Fix spelling of version macro.
Version macro had a "N" instead of an "M". Thanks to Charly Chevalier for spotting that.
2015-07-08 05:27:03 -06:00
Rene Rivera
a3dffe8f1a Update docs for check utility changes and for 1.3 release. Bump versions
for release of 1.3. Update copyrights that I forgot on the previous
commits.
2015-07-01 17:19:29 -05:00
Rene Rivera
0f113b0871 Fix non-standard test feature test collection. I.e. make the feature
collection no rely on implementioned defined behaviour. And fix check
program handling of no-expression invocations vs expression invocations.
2015-06-29 18:49:33 -05:00
Rene Rivera
58c23226b1 Update SunPro to accomodate latest versions of compiler form Oracle. And
update to Oracle name.
2015-05-27 20:36:27 -05:00
Rene Rivera
d9d0ed3d88 Fix BOOST_ARCH_PARISC (was BOOST_ARCH_PARISK) reference for detecting
endianess. Thanks to Graham Hanson for finding this.
2015-05-18 11:12:56 -05:00
Rene Rivera
77561daca9 Fix MAKE_YYYYMM macro to correctly limit the month to a somewhat less
invalid range. Thanks to rick68/gmail.com for finding this.
2015-05-18 11:07:21 -05:00
Rene Rivera
84967e3d0a Add missing BOOST_PREDEF_MAKE_0X_VVRRPP macro (thanks ro Erik Lindahl
for finding it).
2014-12-30 08:13:18 -06:00
Rene Rivera
5912dd7e62 Add Android OS header for endian definition. And some platforms don't
define all of the *BYTE_ORDER *_ENDIAN macros so need to guard for that
case. (Thanks to mstahl@redhat.com for pointing those out).
2014-12-29 23:20:36 -06:00
Rene Rivera
ce0959ba62 Fix Haiku detection syntax error when Haiku is not detected. Bump
version to 1.2 and update docs.
2014-12-29 11:26:49 -06:00
Jessica Hamilton
a7d2f3813e haiku: fix copyright 2014-12-29 10:52:24 -06:00
Jessica Hamilton
9a435659cd haiku: add platform support 2014-12-29 10:52:10 -06:00
Rene Rivera
ee021f808a Fix bad MSC version number. 2014-11-19 08:18:17 -06:00
Rene Rivera
75365a884e Account for skip in Visual Studio product version vs. compiler version
to map compiler version to product version.
2014-11-18 12:44:39 -06:00
Rene Rivera
372b4bd477 Fix OS_SVR4 missing AVAILABLE macro def. Fix marking OS_UNIX as
exclusive.
2014-07-07 08:25:21 -05:00
Rene Rivera
2decd4f4bf Let OS_UNIX be detected at all times as it overlaps with other OS types. 2014-07-07 08:21:22 -05:00
Rene Rivera
40a722d69b Fix warning for undefined macro usage. 2014-07-06 21:49:24 -05:00
Steve Gates
35c34b7368 Fixing up some accidental checks that were using #ifdef when instead should have
been using just #if to define the AVALIABLE macro.
2014-06-17 11:55:04 -07:00
Rene Rivera
e65240f55b Merge pull request #8 from MSOpenTech/winrt2
Updating BOOST_PLAT_WINDOWS_* predef check to make sure macro WINAPI_FAMILY exists
2014-06-10 21:00:26 -05:00
Steve Gates
0eb222dbc5 Updating BOOST_PLAT_WINDOWS_* predef check to make sure macro WINAPI_FAMILY exists before comparing. 2014-06-10 15:44:03 -07:00
Rene Rivera
bcdaa18a31 Reverting (c) to human author. 2014-06-05 18:54:08 +03:00
Rene Rivera
4dd9dc75dc Merge Predef library to release.
[SVN r85618]
2014-06-05 17:49:28 +03:00
John Maddock
16e8970091 Merge changes from Trunk. Fixes #6013. Fixes #7151. Fixes #7359. Fixes #7389. Fixes #7452. Fixes #7528. Fixes #7703. Fixes #7841. Fixes #7898. Fixes #7938. Fixes #8048.
[SVN r83139]
2014-06-05 17:49:27 +03:00
John Maddock
380b7c8890 Merge STLPort endian detection to release.
[SVN r68091]
2014-06-05 17:49:27 +03:00
Rene Rivera
1e24fd2fc7 Merge fix for #2762 from trunk.
[SVN r62260]
2014-06-05 17:49:26 +03:00
Troy D. Straszheim
1460f69de6 Merge to release, fix for fix in r35591: sometimes __hppa is on PA-RISC but __hpux isn't (e.g. on linux)
Fixes ticket #3537

[SVN r57049]
2014-06-05 17:49:26 +03:00
Beman Dawes
b168e09aa3 Merge from trunk
[SVN r50676]
2014-06-05 17:49:25 +03:00
Andreas Huber
2aabae1e4b Corrected wrong order in copyright notices.
[SVN r36240]
2014-06-05 17:49:25 +03:00
Andreas Huber
aa54727b2f Merged a copyright addition from trunk to branch.
[SVN r36231]
2014-06-05 17:49:24 +03:00
Andreas Huber
698eab3d18 Merged L & C issue fixes from trunk to branch.
[SVN r36225]
2014-06-05 17:49:24 +03:00
John Maddock
d01035df48 Updated patch from Boris Gubenko.
[SVN r35672]
2014-06-05 17:49:24 +03:00
John Maddock
4009514a0d Fix for HP-UX on Itanium.
[SVN r35591]
2014-06-05 17:49:23 +03:00
John Maddock
1a594321aa Added 64-bit Intel processor support.
[SVN r35587]
2014-06-05 17:49:23 +03:00
Rene Rivera
fd2f919926 Add detection for macros used by VC: _M_IX86; little-endian. _M_IA64; little-endian, as this is the default on I64 and AMD64 is only little endian. _M_ALPHA; little-endian, as again it's the default and Windows doesn't run on big-endian Alpha anyway AFAIK.
[SVN r30185]
2014-06-05 17:49:22 +03:00
Caleb Epstein
0ddbe8c3a7 Machine endianness detection taken from <boost/detail/limits.hpp>
[SVN r29573]
2014-06-05 17:49:22 +03:00
Rene Rivera
56baa26f11 FUlly updated docs for version 1.1. 2014-06-03 22:29:53 -05:00
Rene Rivera
0a33d7b27d Fix BOOST_PLAT_WINDOWS_* defs being defined on non-Windows systems. 2014-05-30 13:53:45 -07:00
Steve Gates
d145f3a12c Adding missing newlines at the end of a few files. 2014-05-22 16:59:37 -07:00
Steve Gates
e3e923f6fa Addressing feedback from Rene Rivera for adding BOOST macros for detecting the Windows Runtime being targeted.
Now there are new predefs for desktop, store, phone, and the Windows Runtime (store/phone) in general.
These can easily be used throughout Boost to detect the Windows platform being targeted.
2014-05-22 16:49:54 -07:00
Steve Gates
f94637d9f4 Adding checking for _M_ARM macro for Windows.
Incorporating feedback from Rene Rivera:
Updated the Microsoft copyright to include the year.
Made sure ARM predef uses version property with V.0.0.
2014-05-22 11:34:02 -07:00
Franz Detro
9e5f79735c added missing 'Copyright' 2014-03-12 14:09:22 +01:00
Franz Detro
96ce033128 changed MacOS vs. iOS detection to match policies of library 2014-03-12 14:06:17 +01:00
Franz Detro
604f0d35b7 adjusted copyrights as requested by review 2014-03-12 14:05:14 +01:00
Franz Detro
2e73899a69 improved detection of ARM platform (check for Apple clang __arm64);
set version to 8.0.0 in case of __arm64 (allows check for armv8 targets)
2014-02-26 12:23:34 +01:00
Franz Detro
e3a435add2 add detection of Apple iOS (BOOST_OS_IOS) 2014-02-26 08:59:58 +01:00