> > 2759 - attached is a patch of i386 only. However, wouldn't it be more > > appropriate to handle FPU exceptions than checking all > > pre-conditions? > > If someone knows how to handle these exceptions correctly, yes.
Well, its platform dependent. On Windows, you get an exception. On posix, you get SIGFPE (=8). Now, the question is how to handle that signal. Another possibility would be to mask the FPU exceptions before each operation, reset the control word after the operation and also check if an exception occurred. This will probably be slower because there's more overhead before each FPU call. However, it'll still be far faster than the current solution. I'll investigate the signal handling issue(s) and see if its possible to handle SIGFPE properly. johannes -- http://www.sipsolutions.de/ GnuPG key: http://www.sipsolutions.de/keys/JohannesBerg.asc Key-ID: 9AB78CA5 Johannes Berg <[EMAIL PROTECTED]> Fingerprint = AD02 0176 4E29 C137 1DF6 08D2 FC44 CF86 9AB7 8CA5
signature.asc
Description: This is a digitally signed message part
