Browse Source

Replace sse2neon with simde.

tags/v2.2.0
Andrew Belt 2 years ago
parent
commit
bdc428dd78
5 changed files with 10 additions and 15 deletions
  1. +3
    -3
      .gitmodules
  2. +4
    -4
      dep/Makefile
  3. +1
    -0
      dep/simde
  4. +0
    -1
      dep/sse2neon
  5. +2
    -7
      include/simd/common.hpp

+ 3
- 3
.gitmodules View File

@@ -34,12 +34,12 @@
[submodule "dep/rtmidi"] [submodule "dep/rtmidi"]
path = dep/rtmidi path = dep/rtmidi
url = https://github.com/VCVRack/rtmidi.git url = https://github.com/VCVRack/rtmidi.git
[submodule "dep/sse2neon"]
path = dep/sse2neon
url = https://github.com/DLTcollab/sse2neon.git
[submodule "dep/tinyexpr"] [submodule "dep/tinyexpr"]
path = dep/tinyexpr path = dep/tinyexpr
url = https://github.com/codeplea/tinyexpr.git url = https://github.com/codeplea/tinyexpr.git
[submodule "dep/speexdsp"] [submodule "dep/speexdsp"]
path = dep/speexdsp path = dep/speexdsp
url = https://gitlab.xiph.org/xiph/speexdsp.git url = https://gitlab.xiph.org/xiph/speexdsp.git
[submodule "dep/simde"]
path = dep/simde
url = https://github.com/simd-everywhere/simde.git

+ 4
- 4
dep/Makefile View File

@@ -56,7 +56,7 @@ pffft = include/pffft.h
fuzzysearchdatabase = include/FuzzySearchDatabase.hpp fuzzysearchdatabase = include/FuzzySearchDatabase.hpp
ghcfilesystem = include/ghc/filesystem.hpp ghcfilesystem = include/ghc/filesystem.hpp
tinyexpr = include/tinyexpr.h tinyexpr = include/tinyexpr.h
sse2neon = include/sse2neon.h
simde = include/simde


DEPS += $(glew) DEPS += $(glew)
DEPS += $(glfw) DEPS += $(glfw)
@@ -75,7 +75,7 @@ DEPS += $(pffft)
DEPS += $(fuzzysearchdatabase) DEPS += $(fuzzysearchdatabase)
DEPS += $(ghcfilesystem) DEPS += $(ghcfilesystem)
DEPS += $(tinyexpr) DEPS += $(tinyexpr)
DEPS += $(sse2neon)
DEPS += $(simde)




DEP_LOCAL := . DEP_LOCAL := .
@@ -258,9 +258,9 @@ $(tinyexpr): tinyexpr/tinyexpr.h
mkdir -p include mkdir -p include
cp $^ include/ cp $^ include/


$(sse2neon): sse2neon/sse2neon.h
$(simde): simde/simde
mkdir -p include mkdir -p include
cp $^ include/
cp -R $^ include/


# Helpers # Helpers




+ 1
- 0
dep/simde

@@ -0,0 +1 @@
Subproject commit dd0b662fd8cf4b1617dbbb4d08aa053e512b08e4

+ 0
- 1
dep/sse2neon

@@ -1 +0,0 @@
Subproject commit 988782cbadf95c2072b4b1b2b8fa0afa81b01c36

+ 2
- 7
include/simd/common.hpp View File

@@ -1,9 +1,4 @@
#pragma once #pragma once


#if defined ARCH_X64
// Intel intrinsics header
#include <x86intrin.h>
#elif defined ARCH_ARM64
// Translation header for using SSE3 intrinsics on ARM64 NEON
#include <sse2neon.h>
#endif
#define SIMDE_ENABLE_NATIVE_ALIASES
#include <simde/x86/sse3.h>

Loading…
Cancel
Save