mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-14 05:06:54 +03:00
Remove simd.hpp which is problematic for various compilers and it's not being used actively.
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include <eepp/core/noncopyable.hpp>
|
||||
#include <eepp/core/overloaded.hpp>
|
||||
#include <eepp/core/retainsymbol.hpp>
|
||||
#include <eepp/core/simd.hpp>
|
||||
#include <eepp/core/small_vector.hpp>
|
||||
#include <eepp/core/string.hpp>
|
||||
#include <eepp/core/utf.hpp>
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <eepp/config.hpp>
|
||||
|
||||
#if EE_PLATFORM != EE_PLATFORM_EMSCRIPTEN
|
||||
|
||||
#if __has_include( <simd>) && __cplusplus >= 202002L
|
||||
#include <simd> // C++23 std::simd
|
||||
#define USE_STD_SIMD
|
||||
#elif __has_include( <experimental/simd>)
|
||||
#include <experimental/simd> // Parallelism TS v2
|
||||
#define USE_EXPERIMENTAL_SIMD
|
||||
#endif
|
||||
|
||||
#ifdef USE_STD_SIMD
|
||||
namespace simd = std;
|
||||
#elif defined( USE_EXPERIMENTAL_SIMD )
|
||||
namespace simd = std::experimental;
|
||||
#endif
|
||||
|
||||
#if defined( USE_STD_SIMD ) || defined( USE_EXPERIMENTAL_SIMD )
|
||||
#define EE_STD_SIMD
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user