From cc00260202bb1af39c54968cee1f1a76f5ad1e70 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Tue, 7 Jul 2015 16:15:40 +0200 Subject: [PATCH] Add default tree structure for hardware simd support --- include/boost/predef/hardware.h | 14 ++++++++++ include/boost/predef/hardware/simd.h | 16 +++++++++++ include/boost/predef/hardware/simd/arm.h | 14 ++++++++++ include/boost/predef/hardware/simd/arm/neon.h | 12 +++++++++ include/boost/predef/hardware/simd/ppc.h | 17 ++++++++++++ include/boost/predef/hardware/simd/ppc/qpx.h | 12 +++++++++ include/boost/predef/hardware/simd/ppc/vmx.h | 12 +++++++++ include/boost/predef/hardware/simd/ppc/vsx.h | 12 +++++++++ include/boost/predef/hardware/simd/x86.h | 27 +++++++++++++++++++ include/boost/predef/hardware/simd/x86/avx.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/avx2.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/fma3.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/fma4.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/mic.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/sse.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/sse2.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/sse3.h | 12 +++++++++ .../boost/predef/hardware/simd/x86/sse4_1.h | 12 +++++++++ .../boost/predef/hardware/simd/x86/sse4_2.h | 12 +++++++++ .../boost/predef/hardware/simd/x86/sse4a.h | 12 +++++++++ .../boost/predef/hardware/simd/x86/ssse3.h | 12 +++++++++ include/boost/predef/hardware/simd/x86/xop.h | 12 +++++++++ 22 files changed, 292 insertions(+) create mode 100644 include/boost/predef/hardware.h create mode 100644 include/boost/predef/hardware/simd.h create mode 100644 include/boost/predef/hardware/simd/arm.h create mode 100644 include/boost/predef/hardware/simd/arm/neon.h create mode 100644 include/boost/predef/hardware/simd/ppc.h create mode 100644 include/boost/predef/hardware/simd/ppc/qpx.h create mode 100644 include/boost/predef/hardware/simd/ppc/vmx.h create mode 100644 include/boost/predef/hardware/simd/ppc/vsx.h create mode 100644 include/boost/predef/hardware/simd/x86.h create mode 100644 include/boost/predef/hardware/simd/x86/avx.h create mode 100644 include/boost/predef/hardware/simd/x86/avx2.h create mode 100644 include/boost/predef/hardware/simd/x86/fma3.h create mode 100644 include/boost/predef/hardware/simd/x86/fma4.h create mode 100644 include/boost/predef/hardware/simd/x86/mic.h create mode 100644 include/boost/predef/hardware/simd/x86/sse.h create mode 100644 include/boost/predef/hardware/simd/x86/sse2.h create mode 100644 include/boost/predef/hardware/simd/x86/sse3.h create mode 100644 include/boost/predef/hardware/simd/x86/sse4_1.h create mode 100644 include/boost/predef/hardware/simd/x86/sse4_2.h create mode 100644 include/boost/predef/hardware/simd/x86/sse4a.h create mode 100644 include/boost/predef/hardware/simd/x86/ssse3.h create mode 100644 include/boost/predef/hardware/simd/x86/xop.h diff --git a/include/boost/predef/hardware.h b/include/boost/predef/hardware.h new file mode 100644 index 0000000..a0cea74 --- /dev/null +++ b/include/boost/predef/hardware.h @@ -0,0 +1,14 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_H +#define BOOST_PREDEF_HARDWARE_H + +#include + +#endif diff --git a/include/boost/predef/hardware/simd.h b/include/boost/predef/hardware/simd.h new file mode 100644 index 0000000..947c15c --- /dev/null +++ b/include/boost/predef/hardware/simd.h @@ -0,0 +1,16 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_H +#define BOOST_PREDEF_HARDWARE_SIMD_H + +#include +#include +#include + +#endif diff --git a/include/boost/predef/hardware/simd/arm.h b/include/boost/predef/hardware/simd/arm.h new file mode 100644 index 0000000..9458600 --- /dev/null +++ b/include/boost/predef/hardware/simd/arm.h @@ -0,0 +1,14 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_H +#define BOOST_PREDEF_HARDWARE_SIMD_ARM_H + +#include + +#endif diff --git a/include/boost/predef/hardware/simd/arm/neon.h b/include/boost/predef/hardware/simd/arm/neon.h new file mode 100644 index 0000000..9c57f57 --- /dev/null +++ b/include/boost/predef/hardware/simd/arm/neon.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_ARM_NEON_H +#define BOOST_PREDEF_HARDWARE_SIMD_ARM_NEON_H + +#endif diff --git a/include/boost/predef/hardware/simd/ppc.h b/include/boost/predef/hardware/simd/ppc.h new file mode 100644 index 0000000..c6cd782 --- /dev/null +++ b/include/boost/predef/hardware/simd/ppc.h @@ -0,0 +1,17 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_H +#define BOOST_PREDEF_HARDWARE_SIMD_PPC_H + +// from the newest to the oldest +#include +#include +#include + +#endif diff --git a/include/boost/predef/hardware/simd/ppc/qpx.h b/include/boost/predef/hardware/simd/ppc/qpx.h new file mode 100644 index 0000000..9c6d5df --- /dev/null +++ b/include/boost/predef/hardware/simd/ppc/qpx.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_QPX_H +#define BOOST_PREDEF_HARDWARE_SIMD_PPC_QPX_H + +#endif diff --git a/include/boost/predef/hardware/simd/ppc/vmx.h b/include/boost/predef/hardware/simd/ppc/vmx.h new file mode 100644 index 0000000..bfd4ba3 --- /dev/null +++ b/include/boost/predef/hardware/simd/ppc/vmx.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_VMX_H +#define BOOST_PREDEF_HARDWARE_SIMD_PPC_VMX_H + +#endif diff --git a/include/boost/predef/hardware/simd/ppc/vsx.h b/include/boost/predef/hardware/simd/ppc/vsx.h new file mode 100644 index 0000000..3da16a2 --- /dev/null +++ b/include/boost/predef/hardware/simd/ppc/vsx.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_PPC_VSX_H +#define BOOST_PREDEF_HARDWARE_SIMD_PPC_VSX_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86.h b/include/boost/predef/hardware/simd/x86.h new file mode 100644 index 0000000..86bcd36 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86.h @@ -0,0 +1,27 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_H + +// from the newest to the oldest +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#endif diff --git a/include/boost/predef/hardware/simd/x86/avx.h b/include/boost/predef/hardware/simd/x86/avx.h new file mode 100644 index 0000000..c49383c --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/avx.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_AVX_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_AVX_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/avx2.h b/include/boost/predef/hardware/simd/x86/avx2.h new file mode 100644 index 0000000..6171459 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/avx2.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_AVX2_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_AVX2_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/fma3.h b/include/boost/predef/hardware/simd/x86/fma3.h new file mode 100644 index 0000000..3e90eba --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/fma3.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_FMA3_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_FMA3_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/fma4.h b/include/boost/predef/hardware/simd/x86/fma4.h new file mode 100644 index 0000000..d44798e --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/fma4.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_FMA4_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_FMA4_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/mic.h b/include/boost/predef/hardware/simd/x86/mic.h new file mode 100644 index 0000000..dbf2f4d --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/mic.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_MIC_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_MIC_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/sse.h b/include/boost/predef/hardware/simd/x86/sse.h new file mode 100644 index 0000000..6db6a1f --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/sse.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/sse2.h b/include/boost/predef/hardware/simd/x86/sse2.h new file mode 100644 index 0000000..7eaa3dd --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/sse2.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE2_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE2_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/sse3.h b/include/boost/predef/hardware/simd/x86/sse3.h new file mode 100644 index 0000000..3ffbdb7 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/sse3.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE3_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE3_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/sse4_1.h b/include/boost/predef/hardware/simd/x86/sse4_1.h new file mode 100644 index 0000000..efd4489 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/sse4_1.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4_1_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4_1_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/sse4_2.h b/include/boost/predef/hardware/simd/x86/sse4_2.h new file mode 100644 index 0000000..add11f8 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/sse4_2.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4_2_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4_2_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/sse4a.h b/include/boost/predef/hardware/simd/x86/sse4a.h new file mode 100644 index 0000000..13c3710 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/sse4a.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4A_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSE4A_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/ssse3.h b/include/boost/predef/hardware/simd/x86/ssse3.h new file mode 100644 index 0000000..59afa14 --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/ssse3.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_SSSE3_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_SSSE3_H + +#endif diff --git a/include/boost/predef/hardware/simd/x86/xop.h b/include/boost/predef/hardware/simd/x86/xop.h new file mode 100644 index 0000000..b6456bf --- /dev/null +++ b/include/boost/predef/hardware/simd/x86/xop.h @@ -0,0 +1,12 @@ +/* +Copyright Charly Chevalier 2015 +Copyright Joel Falcou 2015 +Distributed under the Boost Software License, Version 1.0. +(See accompanying file LICENSE_1_0.txt or copy at +http://www.boost.org/LICENSE_1_0.txt) +*/ + +#ifndef BOOST_PREDEF_HARDWARE_SIMD_X86_XOP_H +#define BOOST_PREDEF_HARDWARE_SIMD_X86_XOP_H + +#endif