[fpc-devel] Cannot trap divide by zero in xmm register
sysrpl at gmail.com
Tue Jun 20 16:53:32 CEST 2017
Some progress ... Since this is an OpenGL app I had been
setting Set8087CW($133F) to prevent FPU errors from showing as exceptions.
When I omit Set8087CW I get EDivByZero an exception, but my program is
still in an unusable state.
Since this error occurs in the SSE XMM registers, I think I should also be
using the SetSSECSR function. Does anyone have any details about how this
function works in relation to XMM registers and rounding or divide by zero
errors and how it could be applied in my situation?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the fpc-devel