On 25/03/2013 09:29, Xiangrong Fang wrote: >> We are now several decades later, but for compatibility reasons the >> FPU on the x86 processors still uses the same logic. It is possible >> to get the exception at the place where it happened by inserting >> fwait instructions after every fpu operation. Those tell the cpu to >> stop executing until the FPU has finished executing the previous >> instruction. That obviously slows down the code significantly. FPC >> has no option to do this. > > It is a pity. I think this would be a very useful option for > development. Will the team consider adding this ? :-) >
Consider defining your floating-point-fpu-using operators with inline assembler fwait instruction added ? If possible... L. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal