]> mj.ucw.cz Git - libucw.git/blobdiff - images/math.h
Implemented SORT_UNIFY, SORT_UNIQUE and debugged SORT_VAR_DATA.
[libucw.git] / images / math.h
index 1824c95bb42a7a05361defc282487e32aa7574a3..a4d561670274f7a282eebd350b1acce85d604ba1 100644 (file)
@@ -13,17 +13,7 @@ isqr(int x)
 static inline uns
 fast_div_u32_u8(uns x, uns y)
 {
-#ifdef CPU_I386
-  int ret, dmy;
-  asm volatile (
-    "mull %3"
-    :"=d"(ret),"=a"(dmy)
-    :"1"(x),"g"(fast_div_tab[y])
-  );
-  return ret;
-#else
   return ((u64)(x) * fast_div_tab[y]) >> 32;
-#endif
 }
 
 static inline uns