Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-07 10:37:06

0001 /***************************************************************************
0002  * Copyright (c) Johan Mabille, Sylvain Corlay, Wolf Vollprecht and         *
0003  * Martin Renou                                                             *
0004  * Copyright (c) QuantStack                                                 *
0005  * Copyright (c) Serge Guelton                                              *
0006  * Copyright (c) Marco Barbone                                              *
0007  *                                                                          *
0008  * Distributed under the terms of the BSD 3-Clause License.                 *
0009  *                                                                          *
0010  * The full license is in the file LICENSE, distributed with this software. *
0011  ****************************************************************************/
0012 
0013 #ifndef XSIMD_FMA3_AVX2_128_HPP
0014 #define XSIMD_FMA3_AVX2_128_HPP
0015 
0016 #include "../types/xsimd_fma3_avx2_128_register.hpp"
0017 
0018 // Allow inclusion of xsimd_fma3_sse.hpp
0019 #ifdef XSIMD_FMA3_SSE_HPP
0020 #undef XSIMD_FMA3_SSE_HPP
0021 #define XSIMD_FORCE_FMA3_SSE_HPP
0022 #endif
0023 
0024 // Disallow inclusion of ./xsimd_fma3_sse_register.hpp
0025 #ifndef XSIMD_FMA3_SSE_REGISTER_HPP
0026 #define XSIMD_FMA3_SSE_REGISTER_HPP
0027 #define XSIMD_FORCE_FMA3_SSE_REGISTER_HPP
0028 #endif
0029 
0030 // Include ./xsimd_fma3_sse.hpp but s/sse4_2/avx2_128
0031 #define sse4_2 avx2_128
0032 #include "./xsimd_fma3_sse.hpp"
0033 #undef sse4_2
0034 #undef XSIMD_FMA3_SSE_HPP
0035 
0036 // Carefully restore guards
0037 #ifdef XSIMD_FORCE_FMA3_SSE_HPP
0038 #define XSIMD_FMA3_SSE_HPP
0039 #undef XSIMD_FORCE_FMA3_SSE_HPP
0040 #endif
0041 
0042 #ifdef XSIMD_FORCE_FMA3_SSE_REGISTER_HPP
0043 #undef XSIMD_FMA3_SSE_REGISTER_HPP
0044 #undef XSIMD_FORCE_FMA3_SSE_REGISTER_HPP
0045 #endif
0046 
0047 #endif