diff options
author | Tejas Belagod <Tejas.Belagod@arm.com> | 2022-07-05 11:35:24 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2022-07-05 14:01:17 +0100 |
commit | 05844d18f7893bf96965f163c428214fd5ebe10a (patch) | |
tree | 53b241dc66872ef2effafb50bc5070b1397b616d /localedata | |
parent | a9f9ee2381944cee8b4b50c5c8321e3529c77e49 (diff) | |
download | glibc-05844d18f7893bf96965f163c428214fd5ebe10a.zip glibc-05844d18f7893bf96965f163c428214fd5ebe10a.tar.gz glibc-05844d18f7893bf96965f163c428214fd5ebe10a.tar.bz2 |
AArch64: Reset HWCAP2_AFP bits in FPCR for default fenv
The AFP feature (Alternate floating-point behavior) was added in armv8.7 and
introduced new FPCR bits.
Currently, HWCAP2_AFP bits (bit 0, 1, 2) in FPCR are preserved when fenv is
set to default environment. This is a deviation from standard behaviour.
Clear these bits when setting the fenv to default.
There is no libc API to modify the new FPCR bits. Restoring those bits matters
if the user changed them directly.
Diffstat (limited to 'localedata')
0 files changed, 0 insertions, 0 deletions