fix fenv exception functions to mask their argument
authorSzabolcs Nagy <nsz@port70.net>
Sun, 18 Aug 2013 20:08:18 +0000 (20:08 +0000)
committerSzabolcs Nagy <nsz@port70.net>
Sun, 18 Aug 2013 20:08:18 +0000 (20:08 +0000)
commita6b0170a7f51fdea9beec57ae794221290af232b
tree22651ba3480fc272933133af780e6beb10ab2d3d
parentd8764bf84022397ff9d22310f78fcd78d801e2bf
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
src/fenv/armhf/fenv.s
src/fenv/fenv.c
src/fenv/fesetround.c [new file with mode: 0644]
src/fenv/feupdateenv.c
src/fenv/i386/fenv.s
src/fenv/mips/fenv.s
src/fenv/powerpc/fenv.s
src/fenv/x86_64/fenv.s