]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/libkern/libkern.h
xnu-1699.24.8.tar.gz
[apple/xnu.git] / bsd / libkern / libkern.h
index 6fd1f7a869ac564d9c27cc61557a8582da44acba..0d9cff9197f31aa84e2d0466411fea89fdfc5ff0 100644 (file)
@@ -203,16 +203,7 @@ extern void flush_dcache64(addr64_t, unsigned, int);
 static __inline__ unsigned int
 clz(unsigned int num)
 {
-#if __ppc__
-       unsigned int result;
-       __asm__ volatile(
-               "cntlzw %0, %1"
-               : "=r" (result)
-               : "r" (num)
-       );
-       return result;
-
-#elif __i386__
+#if __i386__
        unsigned int result;
        __asm__ volatile(
                "bsrl   %1, %0\n\t"