Displaying 2 results from an estimated 2 matches for "ec_clz".
2011 Mar 25
0
Bug (typo) in tip of Git
I checked out a snapshot of code from the latest commit on Wed, 23 Mar 2011
00:32:49 +0000. I am running this on a C55x processor. (fixed point enabled)
Line 98 of ecintrin.h read:
# define EC_CLZ(_x) (_lnorm(x))
This lead to about 30 compile errors complaining about "identifier "x" is
undefined"
I changed it to:
# define EC_CLZ(_x) (_lnorm(_x))
and the compiler is much happier.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lis...
2011 Mar 03
0
[PATCH] Eliminate the ec_int32 and ec_uint32 typedefs.
...s for potential platform-specific optimization.*/
+#include "celt_types.h"
#include <math.h>
#include <limits.h>
#if !defined(_ecintrin_H)
@@ -114,7 +115,7 @@ static __inline int ec_bsr(unsigned long _x){
When we need to, it can be special cased.*/
# define EC_ILOG(_x) (EC_CLZ0-EC_CLZ(_x))
#else
-int ec_ilog(ec_uint32 _v);
+int ec_ilog(celt_uint32 _v);
# define EC_ILOG(_x) (ec_ilog(_x))
#endif
diff --git a/libcelt/entcode.c b/libcelt/entcode.c
index 17d08df..0626e51 100644
--- a/libcelt/entcode.c
+++ b/libcelt/entcode.c
@@ -34,7 +34,7 @@
#if !defined(EC_CLZ)
-i...