> I think the fastest routine would be a precomputed lookup table. Use the You may be suprised. A large lookup table will miss cache and cause tlb thrashing. In almost all cases mmx/sse2 is faster
> I think the fastest routine would be a precomputed lookup table. Use the You may be suprised. A large lookup table will miss cache and cause tlb thrashing. In almost all cases mmx/sse2 is faster