Reset HWCAP2_AFP bits in FPCR for default fenv.
Tejas Belagod
Tejas.Belagod@arm.com
Thu Jun 30 10:19:12 GMT 2022
> -----Original Message-----
> From: Joseph Myers <joseph@codesourcery.com>
> Sent: Wednesday, June 29, 2022 10:24 PM
> To: Szabolcs Nagy <Szabolcs.Nagy@arm.com>
> Cc: Florian Weimer <fweimer@redhat.com>; Tejas Belagod
> <Tejas.Belagod@arm.com>; Tejas Belagod via Libc-alpha <libc-
> alpha@sourceware.org>
> Subject: Re: Reset HWCAP2_AFP bits in FPCR for default fenv.
>
> On Wed, 29 Jun 2022, Szabolcs Nagy via Libc-alpha wrote:
>
> > i don't have a strong opinion, but i thought it made sense to restore
> > all these special bits with fesetenv(FE_DFL_ENV).
>
> Yes, I think FE_DFL_ENV (and FE_DFL_MODE) should cover all such
> architecture-specific control settings, even when we also don't support the
> use of most floating-point APIs with non-default values of those settings.
>
Thanks all for your comments.
Florian, given the explanations from Szabolcs and Joseph, do you have any objections to this change?
Thanks,
Tejas.
> --
> Joseph S. Myers
> joseph@codesourcery.com
More information about the Libc-alpha
mailing list