Using VFP registers in the msun fenv functions

Warner Losh imp at bsdimp.com
Mon Jan 13 21:34:38 UTC 2014


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?

Warner



More information about the freebsd-arm mailing list