Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-08-28 09:11:40

0001 /***************************************************************************
0002  * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and         *
0003  * Martin Renou                                                             *
0004  * Copyright (c) QuantStack                                                 *
0005  * Copyright (c) Serge Guelton                                              *
0006  *                                                                          *
0007  * Distributed under the terms of the BSD 3-Clause License.                 *
0008  *                                                                          *
0009  * The full license is in the file LICENSE, distributed with this software. *
0010  ****************************************************************************/
0011 
0012 #ifndef XSIMD_SSE3_REGISTER_HPP
0013 #define XSIMD_SSE3_REGISTER_HPP
0014 
0015 #include "./xsimd_sse2_register.hpp"
0016 
0017 #if XSIMD_WITH_SSE3
0018 #include <pmmintrin.h>
0019 #endif
0020 
0021 namespace xsimd
0022 {
0023     /**
0024      * @ingroup architectures
0025      *
0026      * SSE3 instructions
0027      */
0028     struct sse3 : sse2
0029     {
0030         static constexpr bool supported() noexcept { return XSIMD_WITH_SSE3; }
0031         static constexpr bool available() noexcept { return true; }
0032         static constexpr char const* name() noexcept { return "sse3"; }
0033     };
0034 
0035 #if XSIMD_WITH_SSE3
0036     namespace types
0037     {
0038 
0039         XSIMD_DECLARE_SIMD_REGISTER_ALIAS(sse3, sse2);
0040     }
0041 #endif
0042 }
0043 
0044 #endif