From bfcbd184b5413f0cbddc286b2b4e57f8bd1ac90c Mon Sep 17 00:00:00 2001 From: Jean-Marc Valin Date: Sat, 15 Mar 2008 08:12:49 +1100 Subject: [PATCH] New C55 macro --- libcelt/fixed_c5x.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libcelt/fixed_c5x.h b/libcelt/fixed_c5x.h index 050ae96d..e7153caa 100644 --- a/libcelt/fixed_c5x.h +++ b/libcelt/fixed_c5x.h @@ -35,7 +35,6 @@ #ifndef FIXED_C5X_H #define FIXED_C5X_H -#if 0 /* All macros disabled until they can be properly tested */ #undef MAX16 #define MAX16(a,b) _max(a,b) @@ -50,6 +49,9 @@ #undef VSHR32 #define VSHR32(a, shift) _lshl(a,-(shift)) -#endif -#endif /* FIXED_C5X_H */ \ No newline at end of file +#undef MULT16_16_Q15 +#define MULT16_16_Q15(a,b) (_smpy(a,b)) + + +#endif /* FIXED_C5X_H */