hi again
ok this is old post , we was talking about how to speed up float calculation with fpc ,i though the only way to make real optimization is by using asm directly , but i was wrong , we can use gcc instead
ok what i did is compiling 2 functions (blend_avg , scaleblit) using gcc with -O3 -ffast-math -msse2 -mfpmath=sse switchs , then link the generated object with FPC .
what make me amazed is now FPC version is faster than gcc one with 15%
i add the attachments