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 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
e_sqrtf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fclrexcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fe_mask.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fe_nomask.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetenv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetexcept.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetmode.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fegetround.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fenv_const.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fenv_libc.h fegetenv_and_set_rn now uses the builtins provided by GCC. 2023-09-27 13:55:36 -03:00
fenv_private.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetenv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetexcept.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fesetround.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
feupdateenv.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fix-fp-int-compare-invalid.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fraiseexcpt.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
ftestexcept.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
get-rounding-mode.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
libm-test-ulps powerpc:Regenerate ulps for hypot 2023-02-23 22:06:03 -06:00
libm-test-ulps-name Do not hardcode platform names in manual/libm-err-tab.pl (bug 14139). 2016-11-04 16:49:06 +00:00
Makefile Link extra-libs consistently with libc and ld.so. 2013-05-31 16:16:33 +00:00
math_ldbl.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
math_private.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
math-barriers.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
math-tests-trap-force.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
math-use-builtins-fabs.h math: Add math-use-builtins-fabs (BZ#29027) 2022-05-23 17:49:18 -03:00
math-use-builtins-fma.h math: Decompose math-use-builtins.h 2020-06-22 11:09:45 -03:00
math-use-builtins-sqrt.h powerpc: Use sqrt{f} builtin 2020-06-22 11:09:49 -03:00
round_to_integer.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_ceil.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_ceilf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_floor.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_floorf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_logb.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_logbf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_logbl.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_lrintf.c powerpc: Refactor powerpc32 lrint/lrintf/llrint/llrintf 2019-06-17 09:27:02 -03:00
s_modf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_modff.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_nearbyint.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_nearbyintf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_rint.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_rintf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_round.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_roundf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_trunc.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
s_truncf.c Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
t_sqrt.c Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
tst-setcontext-fpscr.c sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Fix warn unused result 2023-06-22 00:21:17 -04:00