[fpc-pascal] Floating Point Performance on Intel
Jan Ruzicka
jan.ruzicka at comcast.net
Wed Mar 30 07:28:05 CEST 2005
Sorry for previous reply.
I overlooked use of the index variable X.
Which C compiler are you comparing the FPC with?
GCC, MSVC, CC (include version please)
Some compilers have a function optimization, some have just a statement
optimization.
Could you post a whole example?
The whole program would prevent misunderstanding.
As your program could be rewritten using B as constant or
the inner loop as :
A := (A + X) * B;
How are you measuring the time?
Jan Ruzicka
More information about the fpc-pascal
mailing list