Date: Mon, 13 Jan 2014 14:34:28 -0700 From: Warner Losh <imp@bsdimp.com> To: Andrew Turner <andrew@fubar.geek.nz> Cc: freebsd-arm@freebsd.org Subject: Re: Using VFP registers in the msun fenv functions Message-ID: <1EEB0662-E528-4E36-8A39-B5804AD89132@bsdimp.com> In-Reply-To: <20140112194532.27366e43@bender.Home>
index | next in thread | previous in thread | raw e-mail
Hi Andrew, Thanks for tackling this... On Jan 12, 2014, at 12:45 PM, Andrew Turner wrote: > [1] http://people.freebsd.org/~andrew/armv6fenv2.diff I noticed several constructs like +int feclearexcept(int __excepts) +{ + + if (_libc_arm_fpu_present) + __vfp_feclearexcept(__excepts); + __softfp_feclearexcept(__excepts); + + return (0); +} where you do the softfp thing unconditionally. Why is that, and is it intentional? Warnerhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1EEB0662-E528-4E36-8A39-B5804AD89132>
