glibc/sysdeps/aarch64/fpu
Tejas Belagod 05844d18f7 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.
2022-07-05 14:01:17 +01:00
..
fclrexcpt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fegetenv.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fegetexcept.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fegetmode.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fegetround.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fenv_private.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fesetenv.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fesetexcept.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fesetround.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
feupdateenv.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fpu_control.h AArch64: Reset HWCAP2_AFP bits in FPCR for default fenv 2022-07-05 14:01:17 +01:00
fraiseexcpt.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
ftestexcept.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
get-rounding-mode.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
math-barriers.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
math-use-builtins-ceil.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-floor.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-fma.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-fmax.h aarch64: Add math-use-builtins-f{max,min}.h 2021-12-13 10:08:46 -03:00
math-use-builtins-fmin.h aarch64: Add math-use-builtins-f{max,min}.h 2021-12-13 10:08:46 -03:00
math-use-builtins-nearbyint.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-rint.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-round.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-sqrt.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-trunc.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math_private.h Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llrint.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llrintf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llround.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_llroundf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lrint.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lrintf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lround.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_lroundf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_roundeven.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00
s_roundevenf.c Update copyright dates with scripts/update-copyrights 2022-01-01 11:40:24 -08:00