Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save snorkellingcactus/c2d2209822bbdb4038c797232b127de1 to your computer and use it in GitHub Desktop.
Save snorkellingcactus/c2d2209822bbdb4038c797232b127de1 to your computer and use it in GitHub Desktop.
diff --git a/celt/tests/test_unit_mathops.c b/tmp/opus/test_unit_mathops.c
index fd3319d..8049f2a 100644
--- a/celt/tests/test_unit_mathops.c
+++ b/tmp/opus/test_unit_mathops.c
@@ -45,11 +45,6 @@
#include "bands.c"
#include "quant_bands.c"
#include "laplace.c"
-#include "vq.c"
-#include "cwrs.c"
-#include "pitch.c"
-#include "celt_lpc.c"
-#include "celt.c"
#if defined(OPUS_X86_MAY_HAVE_SSE) || defined(OPUS_X86_MAY_HAVE_SSE2) || defined(OPUS_X86_MAY_HAVE_SSE4_1)
# if defined(OPUS_X86_MAY_HAVE_SSE)
@@ -83,6 +78,12 @@
#define WORD "%f"
#endif
+#include "pitch.c" // Note: It could use celt_inner_prod_sse
+#include "celt_lpc.c"
+#include "celt.c"
+#include "vq.c" // Note: It could use celt_inner_prod_sse
+#include "cwrs.c"
+
int ret = 0;
void testdiv(void)
diff --git a/celt/tests/test_unit_rotation.c b/tmp/opus/test_unit_rotation.c
index 1080c20..a157b72 100644
--- a/celt/tests/test_unit_rotation.c
+++ b/tmp/opus/test_unit_rotation.c
@@ -37,17 +37,12 @@
#include <stdio.h>
#include <stdlib.h>
-#include "vq.c"
#include "cwrs.c"
#include "entcode.c"
#include "entenc.c"
#include "entdec.c"
#include "mathops.c"
#include "bands.h"
-#include "pitch.c"
-#include "celt_lpc.c"
-#include "celt.c"
-#include <math.h>
#if defined(OPUS_X86_MAY_HAVE_SSE) || defined(OPUS_X86_MAY_HAVE_SSE2) || defined(OPUS_X86_MAY_HAVE_SSE4_1)
# if defined(OPUS_X86_MAY_HAVE_SSE)
@@ -75,6 +70,12 @@
# include "arm/arm_celt_map.c"
#endif
+#include "pitch.c" // Note: It could use celt_inner_prod_sse
+#include "celt_lpc.c"
+#include "celt.c"
+#include <math.h>
+#include "vq.c" // Note: It could use celt_inner_prod_sse
+
#define MAX_SIZE 100
int ret=0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment