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
| // This work is licensed under the Creative Commons Attribution 3.0 United States License. To view | |
| // a copy of this license, visit http://creativecommons.org/licenses/by/3.0/us/ or send a letter | |
| // to Creative Commons, 171 Second Street, Suite 300, San Francisco, California, 94105, USA. | |
| // Copyright 2009 John Tantalo <john.tantalo@gmail.com> | |
| // Copyright 2014 Mathias Gaunard <mathias@gaunard.com> | |
| (function () { | |
| // get selection | |
| var selection = window.getSelection ? window.getSelection() : |
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
| //============================================================================== | |
| // Copyright 2003 - 2012 LASMEA UMR 6602 CNRS/Univ. Clermont II | |
| // Copyright 2009 - 2012 LRI UMR 8623 CNRS/Univ Paris Sud XI | |
| // | |
| // Distributed under the Boost Software License, Version 1.0. | |
| // See accompanying file LICENSE.txt or copy at | |
| // http://www.boost.org/LICENSE_1_0.txt | |
| //============================================================================== | |
| #define NT2_UNIT_MODULE "nt2 arithmetic toolbox - abs/simd Mode" |
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
| @@ -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> |