[PATCH] [ARM] ] Add support for fenv_private on ARM
Joseph S. Myers
joseph@codesourcery.com
Thu Mar 6 15:56:00 GMT 2014
On Thu, 6 Mar 2014, Wilco wrote:
> +#if ARM_HAVE_VFP
ARM_HAVE_VFP isn't suitable for use in #if; see the
sysdeps/unix/sysv/linux/arm/arm-features.h definition. You need either a
new macro meaning "VFP is known at compile time to be available", or to
move to checks with "if" inside the functions.
(The case of a soft-float build, VFP hardware available at runtime - the
one addressed by "if" conditionals - has other problems with exceptions
and rounding modes, that I think would best be addressed by use of IFUNCs
in libgcc for the relevant RTABI functions; see bug 10064. Anyway, the
present patch is purely an optimization, so there's certainly no need for
it to cover all cases as long as it doesn't break them.)
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list