Hi, The AFP feature (Alternate floating-point behavior) was added in Armv8.7-A 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 behavior. 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. OK for master? Thanks, Tejas.