optimize x86 feclearexcept
authorRich Felker <dalias@aerifal.cx>
Sat, 17 Mar 2012 23:29:00 +0000 (19:29 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 17 Mar 2012 23:29:00 +0000 (19:29 -0400)
commit316e024f63af0d0d2bb0df3dfce2620f4be827d1
treec1dbe320f1034df38f293016f00f5bf7dc6f0128
parent9cb6878e747909c7a45dd1c4dd550ac62e1f7690
optimize x86 feclearexcept

if all exception flags will be cleared, we can avoid the expensive
store/reload of the environment and just use the fnclex instruction.
src/fenv/i386/fenv.s