[fpc-pascal] position of External: SIGFPE

Xiangrong Fang xrfang at gmail.com
Mon Mar 25 10:29:06 CET 2013


> 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 ? :-)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130325/e7d1a1bb/attachment.html>


More information about the fpc-pascal mailing list