about summary refs log tree commit diff
path: root/src/fenv/fenv.c
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-08-18 15:34:07 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-08-18 16:27:21 +0000
commitd8764bf84022397ff9d22310f78fcd78d801e2bf (patch)
tree289574d06451582fd67b5cde646cd6bfd368fa66 /src/fenv/fenv.c
parentbaba2630c9cf778b41e218dfa980fcfdbec808e6 (diff)
downloadmusl-d8764bf84022397ff9d22310f78fcd78d801e2bf.tar.gz
musl-d8764bf84022397ff9d22310f78fcd78d801e2bf.tar.xz
musl-d8764bf84022397ff9d22310f78fcd78d801e2bf.zip
optimize x86 feclearexcept: only use save/restore x87 fenv if needed
the x87 exception summary (ES) and stack fault (SF) flags may be
spuriously cleared by feclearexcept using the fnclex instruction,
but these flags are not observable through libc hence maintaining
their state is not critical.
Diffstat (limited to 'src/fenv/fenv.c')
0 files changed, 0 insertions, 0 deletions