History log of /seL4-refos-master/libs/libmuslc/src/fenv/fenv.c
Revision Date Author Comments
# a6b0170a 18-Aug-2013 Szabolcs Nagy <nsz@port70.net>

fix fenv exception functions to mask their argument

fesetround.c is a wrapper to do the arch independent argument
check (on archs where rounding mode is not stored in 2 bits
__fesetround still has to check its arguments)

on powerpc fe*except functions do not accept the extra invalid
flags of its fpscr register

the useless FENV_ACCESS pragma was removed from feupdateenv


# 68847ecd 14-Nov-2012 Szabolcs Nagy <nsz@port70.net>

fenv: return FE_TONEAREST in dummy fegetround


# b09b7890 12-Jun-2011 Rich Felker <dalias@aerifal.cx>

floating point environment, untested

at present the i386 code does not support sse floating point, which is
not part of the standard i386 abi. while it may be desirable to
support it later, doing so will reduce performance and require some
tricks to probe if sse support is present.

this first commit is i386-only, but it should be trivial to port the
asm to x86_64.