Rich Felker
039f1b3c56
make arch __fesetround backends hidden
...
these are not public interfaces and do not match the public function,
but delegate argument checking to it.
2018-09-12 14:34:32 -04:00
Rich Felker
af21a82ccc
switch arm, sh, and mips fenv asm from .sub system to .S files
2016-01-20 02:07:59 +00:00
Rich Felker
fd2add5ba0
fix mips fesetround failure to write back resulting mode
...
patch by Anand Takale.
2015-10-01 05:10:54 +00:00
Rich Felker
8b0d66d21c
fix mips fesetenv(FE_DFL_ENV) again
...
commit 5fc1487832 attempted to fix it,
but neglected the fact that mips has branch delay slots.
2015-04-17 22:19:58 -04:00
Szabolcs Nagy
5fc1487832
fix fesetenv(FE_DFL_ENV) on mips
...
mips fesetenv did not handle FE_DFL_ENV, now fcsr is cleared in that
case.
2015-02-08 18:56:52 +01:00
Szabolcs Nagy
a6b0170a7f
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
2013-08-18 20:08:18 +00:00
Rich Felker
f321de9e0a
floating point environment/exceptions support for mips
2012-10-18 20:19:53 -04:00