aboutsummaryrefslogtreecommitdiff
path: root/celt_sources.mk
diff options
context:
space:
mode:
authorJean-Marc Valin <jmvalin@jmvalin.ca>2016-08-09 23:22:27 -0400
committerJean-Marc Valin <jmvalin@jmvalin.ca>2016-08-09 23:22:27 -0400
commit76674feae22db03848a40446beb2fcec70d2180d (patch)
tree4c6425459ecfed95ba9a3a48ba9aa5ffeac45107 /celt_sources.mk
parente806d6a74129c70d2849cf621968f905149c21e1 (diff)
downloadlibopus-76674feae22db03848a40446beb2fcec70d2180d.tar.gz
SSE2 implementation of the PVQ search
We used the SSE reciprocal square root instruction to vectorize the serch rather than compare one at a time with multiplies. Speeds up the entire encoder by 8-10%.
Diffstat (limited to 'celt_sources.mk')
-rw-r--r--celt_sources.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/celt_sources.mk b/celt_sources.mk
index 2ffe99a3..cabc48ff 100644
--- a/celt_sources.mk
+++ b/celt_sources.mk
@@ -21,7 +21,7 @@ CELT_SOURCES_SSE = celt/x86/x86cpu.c \
celt/x86/x86_celt_map.c \
celt/x86/pitch_sse.c
-CELT_SOURCES_SSE2 = celt/x86/pitch_sse2.c
+CELT_SOURCES_SSE2 = celt/x86/pitch_sse2.c celt/x86/vq_sse2.c
CELT_SOURCES_SSE4_1 = celt/x86/celt_lpc_sse.c \
celt/x86/pitch_sse4_1.c