Index: celt/tests/test_unit_mathops.c |
diff --git a/celt/tests/test_unit_mathops.c b/celt/tests/test_unit_mathops.c |
index 4bb780e6999f83debabad22e7eb2834c2e71c41f..b9b1bcf1af8cc1b645d5198c1d1680b847821d92 100644 |
--- a/celt/tests/test_unit_mathops.c |
+++ b/celt/tests/test_unit_mathops.c |
@@ -36,6 +36,8 @@ |
#define CELT_C |
+#include <stdio.h> |
+#include <math.h> |
#include "mathops.c" |
#include "entenc.c" |
#include "entdec.c" |
@@ -45,8 +47,22 @@ |
#include "laplace.c" |
#include "vq.c" |
#include "cwrs.c" |
-#include <stdio.h> |
-#include <math.h> |
+#include "pitch.c" |
+#include "celt_lpc.c" |
+ |
+#if defined(OPUS_X86_MAY_HAVE_SSE4_1) || defined(OPUS_X86_MAY_HAVE_SSE2) |
+#include "x86/pitch_sse.c" |
+#if defined(OPUS_X86_MAY_HAVE_SSE4_1) |
+#include "x86/celt_lpc_sse.c" |
+#endif |
+#include "x86/x86_celt_map.c" |
+#elif ((defined(OPUS_ARM_ASM) && defined(FIXED_POINT)) \ |
+ || defined(OPUS_ARM_NEON_INTR)) |
+#if defined(OPUS_ARM_NEON_INTR) |
+#include "arm/celt_neon_intr.c" |
+#endif |
+#include "arm/arm_celt_map.c" |
+#endif |
#ifdef FIXED_POINT |
#define WORD "%d" |
@@ -214,7 +230,7 @@ void testexp2(void) |
float error2 = fabs(exp(0.6931471805599453094*x/1024.0)-celt_exp2(x)/65536.0); |
if (error1>0.0002&&error2>0.00004) |
{ |
- fprintf (stderr, "celt_exp2 failed: x = "WORD", error1 = %f, error2 = %f\n", x,error1,error2); |
+ fprintf (stderr, "celt_exp2 failed: x = "WORD", error1 = %f, error2 = %f\n", x,error1,error2); |
ret = 1; |
} |
} |