math: use fnstsw consistently instead of fstsw in x87 asm
commitec4318943a26d4bd4050481d11709853184f2794
authorSzabolcs Nagy <nsz@port70.net>
Wed, 5 Nov 2014 21:13:58 +0000 (5 22:13 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Wed, 5 Nov 2014 21:13:58 +0000 (5 22:13 +0100)
tree57ea5ca863de0d2a6e96f52787f9d9ba29cd14a0
parenta732e80d33b4fd6f510f7cec4f5573ef5d89bc4e
math: use fnstsw consistently instead of fstsw in x87 asm

fnstsw does not wait for pending unmasked x87 floating-point exceptions
and it is the same as fstsw when all exceptions are masked which is the
only environment libc supports.
src/math/i386/fmod.s
src/math/i386/fmodf.s
src/math/i386/fmodl.s
src/math/i386/remainder.s
src/math/i386/remainderf.s
src/math/i386/remainderl.s
src/math/i386/sqrt.s
src/math/x32/fmodl.s
src/math/x32/remainderl.s
src/math/x86_64/fmodl.s
src/math/x86_64/remainderl.s