glibc/sysdeps/powerpc/fpu
Manjunath Matti 4eac1825ed fegetenv_and_set_rn now uses the builtins provided by GCC.
On powerpc, SET_RESTORE_ROUND uses inline assembly to optimize the
prologue get/save/set rounding mode operations for POWER9 and
later by using 'mffscrn' where possible, this was introduced by
commit f1c56cdff0.

GCC version 14 onwards supports builtins as __builtin_set_fpscr_rn
which now returns the FPSCR fields in a double. This feature is
available on Power9 when the __SET_FPSCR_RN_RETURNS_FPSCR__ macro
is defined.
GCC commit ef3bbc69d15707e4db6e2f198c621effb636cc26 adds
this feature.

Changes are done to use __builtin_set_fpscr_rn instead of mffscrn
or mffscrni in __fe_mffscrn(rn).

Suggested-by: Carl Love <cel@us.ibm.com>
Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2023-09-27 13:55:36 -03:00
..
e_sqrt.c
e_sqrtf.c
fclrexcpt.c
fe_mask.c
fe_nomask.c
fedisblxcpt.c
feenablxcpt.c
fegetenv.c
fegetexcept.c
fegetmode.c
fegetround.c
feholdexcpt.c
fenv_const.c
fenv_libc.h
fenv_private.h
fesetenv.c
fesetexcept.c
fesetmode.c
fesetround.c
feupdateenv.c
fgetexcptflg.c
fix-fp-int-compare-invalid.h
fraiseexcpt.c
fsetexcptflg.c
ftestexcept.c
get-rounding-mode.h
libm-test-ulps
libm-test-ulps-name
Makefile
math_ldbl.h
math_private.h
math-barriers.h
math-tests-trap-force.h
math-use-builtins-fabs.h
math-use-builtins-fma.h
math-use-builtins-sqrt.h
round_to_integer.h
s_ceil.c
s_ceilf.c
s_floor.c
s_floorf.c
s_logb.c
s_logbf.c
s_logbl.c
s_lrintf.c
s_modf.c
s_modff.c
s_nearbyint.c
s_nearbyintf.c
s_rint.c
s_rintf.c
s_round.c
s_roundf.c
s_trunc.c
s_truncf.c
t_sqrt.c
tst-setcontext-fpscr.c