summaryrefslogtreecommitdiff
path: root/src/fenv/x86_64
AgeCommit message (Collapse)AuthorFilesLines
2018-09-12make arch __fesetround backends hiddenRich Felker1-0/+1
these are not public interfaces and do not match the public function, but delegate argument checking to it.
2014-02-09fix fesetenv(FE_DFL_ENV) on x86_64 (see previous commit)Szabolcs Nagy1-1/+1
2013-08-18fix fenv exception functions to mask their argumentSzabolcs Nagy1-4/+7
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-18optimize x86 feclearexcept: only use save/restore x87 fenv if neededSzabolcs Nagy1-15/+11
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.
2013-08-18add sse fenv support on i386 through hwcapSzabolcs Nagy1-3/+0
the sse and x87 rounding modes should be always the same, the visible exception flags are the bitwise or of the two fenv states (so it's enough to query the rounding mode or raise exceptions on one fenv)
2012-03-17try fixing/optimizing x86_64 fenv exception codeRich Felker1-18/+23
untested; may need followup-fixes.
2012-03-17fix x86_64 fe[gs]etround, analogous to nsz's x86 changesRich Felker1-8/+9
2011-06-28use type directives for fenv asm functionsRich Felker1-0/+7
2011-06-13x86_64 fenv support (untested; at least known to build successfully)Rich Felker1-0/+88