glibc/sysdeps/powerpc/fpu
Adhemerval Zanella ae515ba530 powerpc: Fix __fesetround_inline_nocheck on POWER9+ (BZ 31682)
The e68b1151f7 commit changed the
__fesetround_inline_nocheck implementation to use mffscrni
(through __fe_mffscrn) instead of mtfsfi.  For generic powerpc
ceil/floor/trunc, the function is supposed to disable the
floating-point inexact exception enable bit, however mffscrni
does not change any exception enable bits.

This patch fixes by reverting the optimization for the
__fesetround_inline_nocheck.

Checked on powerpc-linux-gnu.
Reviewed-by: Paul E. Murphy <murphyp@linux.ibm.com>
2024-05-09 08:59:30 -03:00
..
e_sqrt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
e_sqrtf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fclrexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fe_mask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fe_nomask.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fedisblxcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feenablxcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetmode.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fegetround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feholdexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fenv_const.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fenv_libc.h powerpc: Fix __fesetround_inline_nocheck on POWER9+ (BZ 31682) 2024-05-09 08:59:30 -03:00
fenv_private.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetmode.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fesetround.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
feupdateenv.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fgetexcptflg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fix-fp-int-compare-invalid.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fraiseexcpt.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
fsetexcptflg.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
ftestexcept.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
get-rounding-mode.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08: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 2024-01-01 10:53:40 -08:00
math_private.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
math-barriers.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
math-tests-trap-force.h Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08: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 powerpc: Fix __fesetround_inline_nocheck on POWER9+ (BZ 31682) 2024-05-09 08:59:30 -03:00
s_ceil.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_ceilf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_floor.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_floorf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_logb.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_logbf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_logbl.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08: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 2024-01-01 10:53:40 -08:00
s_modff.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_nearbyint.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_nearbyintf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_rint.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_rintf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_round.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_roundf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_trunc.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
s_truncf.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00
t_sqrt.c Remove trailing whitespace. 2013-06-05 20:44:03 +00:00
tst-setcontext-fpscr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00