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
..
Makefile
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
libm-test-ulps-name
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-use-builtins-fma.h
math-use-builtins-sqrt.h
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
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
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
tst-setcontext-fpscr.c Update copyright dates with scripts/update-copyrights 2024-01-01 10:53:40 -08:00