Re: [PATCH] use magic wl_fixed_t to/from double only on x86-64

2012-05-16 Thread Pavel Vasin
> on x86: > benchmarked magic: 14.048889885s > benchmarked div:5.426952392s > benchmarked mul:4.034106976s > > on x86-64: > benchmarked magic: 2.467789582s > benchmarked div:9.748067755s > benchmarked mul:8.665307997s > Did you compile your 32-bit code wit

[PATCH] use magic wl_fixed_t to/from double only on x86-64

2012-05-16 Thread Pavel Vasin
My results on Intel(R) Core(TM)2 Duo CPU T5800 @ 2.00GHz on x86: benchmarked magic: 14.048889885s benchmarked div:5.426952392s benchmarked mul:4.034106976s on x86-64: benchmarked magic: 2.467789582s benchmarked div:9.748067755s benchmarked mul:8.6653