summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libFDK/include/clz.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/libFDK/include/clz.h b/libFDK/include/clz.h
index d276002..38c5073 100644
--- a/libFDK/include/clz.h
+++ b/libFDK/include/clz.h
@@ -118,11 +118,6 @@ inline INT fixnormz_S (SHORT a)
{
return fixnormz_D((INT)(a));
}
-#elif defined(__GNUC__)
-inline INT fixnormz_S (SHORT a)
-{
- return a ? __builtin_clz(a) : 16;
-}
#else
inline INT fixnormz_S (SHORT a)
{
@@ -139,12 +134,6 @@ inline INT fixnormz_S (SHORT a)
#endif
#if !defined(FUNCTION_fixnormz_D)
-#if defined(__GNUC__)
-inline INT fixnormz_D (LONG a)
-{
- return a ? __builtin_clz(a) : 32;
-}
-#else
inline INT fixnormz_D (LONG a)
{
INT leadingBits = 0;
@@ -157,7 +146,6 @@ inline INT fixnormz_D (LONG a)
return (leadingBits);
}
#endif
-#endif
/*****************************************************************************