]> git.ipfire.org Git - thirdparty/glibc.git/commit
riscv: Fix feenvupdate with FE_DFL_ENV (BZ 31022)
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Thu, 2 Nov 2023 14:15:55 +0000 (11:15 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Tue, 19 Dec 2023 18:12:38 +0000 (15:12 -0300)
commit802aef27b2d9f04b06344706f88d37bbe89629e9
tree2616f5cafd6a27b72a0d6ed3c0a2725d1620dee7
parente55599e0286655dd5f1f5b48005a17be37cc7f2c
riscv: Fix feenvupdate with FE_DFL_ENV (BZ 31022)

libc_feupdateenv_riscv should check for FE_DFL_ENV, similar to
libc_fesetenv_riscv.

Also extend the test-fenv.c to test fenvupdate.

Checked on riscv under qemu-system.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
math/test-fenv.c
sysdeps/riscv/rvf/fenv_private.h