X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=images%2Fmath.h;h=a4d561670274f7a282eebd350b1acce85d604ba1;hb=7b52ebbcc1ef1faaeb666bf42d72604b6e84f84a;hp=1824c95bb42a7a05361defc282487e32aa7574a3;hpb=f079adbc69c1521039ee8c6b3aaac5eb209889cd;p=libucw.git diff --git a/images/math.h b/images/math.h index 1824c95b..a4d56167 100644 --- a/images/math.h +++ b/images/math.h @@ -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