rsimd

Make SIMD instruction sets easier to use
git clone git://git.meso-star.fr/rsimd.git
Log | Files | Refs | README | LICENSE

rsimd.h.in (1050B)


      1 /* Copyright (C) 2014-2019, 2021, 2023 Vincent Forest (vaplv@free.fr)
      2  *
      3  * The RSIMD library is free software: you can redistribute it and/or modify
      4  * it under the terms of the GNU General Public License as published
      5  * by the Free Software Foundation, either version 3 of the License, or
      6  * (at your option) any later version.
      7  *
      8  * The RSIMD library is distributed in the hope that it will be useful,
      9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
     10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
     11  * GNU General Public License for more details.
     12  *
     13  * You should have received a copy of the GNU General Public License
     14  * along with the RSIMD library. If not, see <http://www.gnu.org/licenses/>. */
     15 
     16 #ifndef RSIMD_H
     17 #define RSIMD_H
     18 
     19 #include <rsys/rsys.h>
     20 
     21 #if defined(RSIMD_SHARED_BUILD)
     22   #define RSIMD_API extern EXPORT_SYM
     23 #elif defined(RSIMD_STATIC_BUILD)
     24   #define RSIMD_API extern LOCAL_SYM
     25 #else
     26   #define RSIMD_API extern IMPORT_SYM
     27 #endif
     28 
     29 #include "sse/sse.h"
     30 #include "avx/avx.h"
     31 
     32 #endif /* RSIMD_H */