following up, theres another idea:

given that what we want is fp-arithmetic on NaN's to trap when FPINVAL
is set in the fcr, but not when doing simple assignments, what if we just
deal with it in the kernels exception handler for 387?

so when the store traps, and source operand is a SNaN, we just
emulate the instruction and carry on without delivering the note.

--
cinap

Reply via email to