Am 09.07.2013 14:58 schrieb "Marco van de Voort" <[email protected]>:
>
> On Tue, Jul 09, 2013 at 10:27:59AM +0200, Kostas Michalopoulos wrote:
> > > for speed optimization. If you want to raise the exception on the
> > > correct location you should insert an fwait opcode after every
floating
> > > point operation which is very expensive.
> > >
> >
> > Is there a way to enable this in FPC? Sometimes i get weird FP
exceptions
> > that i'm not sure they point at the proper place.
>
> FPC does this by default. So if this is the problem, it is in external
code
> (e.g. C libs/DLLs) or assembler.

No, it does not as mentioned by Jonas in this bug report:
http://bugs.freepascal.org/view.php?id=19368
But maybe (not tested) this directive can help:
http://www.freepascal.org/docs-html/prog/progsu69.html

Regards,
Sven
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to