This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cat<<END; | |
| Some string | |
| literal | |
| END |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SET(CMAKE_SYSTEM_NAME Windows) | |
| SET(CMAKE_SYSTEM_VERSION 5.1) | |
| SET(CMAKE_SYSTEM_PROCESSOR i686) | |
| SET(CMAKE_C_COMPILER /usr/bin/i686-w64-mingw32-gcc) | |
| SET(CMAKE_CXX_COMPILER /usr/bin/i686-w64-mingw32-g++) | |
| SET(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32/) | |
| SET(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| f( a | |
| , b | |
| c | |
| ); | |
| Auto-indent with BSD style will give | |
| f( a | |
| , b | |
| c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mal indenté | |
| NT2_FUNCTOR_IMPLEMENTATION( nt2::tag::ratfracder_, tag::cpu_ | |
| , (A0)(N0)(A1)(N1) | |
| , ((node_<A0, nt2::tag::ratfracder_, N0, nt2::container::domain>)) | |
| ((node_<A1, nt2::tag::tie_ , N1, nt2::container::domain>)) | |
| ) | |
| bien indenté |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| namespace boost { namespace simd { namespace ext | |
| { | |
| BOOST_SIMD_FUNCTOR_IMPLEMENTATION( boost::simd::tag::minus_, boost::simd::tag::cpu_ | |
| , (A0) | |
| , ((simd_<arithmetic_<A0>, boost::simd::tag::simd_emulation_<16> >)) | |
| ((simd_<arithmetic_<A0>, boost::simd::tag::simd_emulation_<16> >)) | |
| ) | |
| { | |
| typedef A0 result_type; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <xmmintrin.h> | |
| #include <stdio.h> | |
| int main() | |
| { | |
| __m128 v = _mm_div_ps(_mm_setzero_ps(), _mm_setzero_ps()); | |
| float result; | |
| _mm_store_ss(&result, v); | |
| printf("%f\n", result); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @@ -10,22 +10,61 @@ | |
| #define BOOST_SIMD_SDK_SIMD_NATIVE_HPP_INCLUDED | |
| #include <boost/utility/enable_if.hpp> | |
| #include <boost/dispatch/meta/fusion.hpp> | |
| #include <boost/simd/sdk/simd/category.hpp> | |
| #include <boost/simd/sdk/memory/overload.hpp> | |
| +#include <boost/dispatch/attributes.hpp> | |
| #include <boost/dispatch/error/static_assert.hpp> | |
| #include <boost/simd/sdk/simd/meta/is_vectorizable.hpp> |
NewerOlder