SHA256
3
0
forked from pool/glibc
glibc/riscv-feholdexcept-setround.patch

20 lines
715 B
Diff
Raw Normal View History

2018-08-03 DJ Delorie <dj@redhat.com>
* sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
Move libc_fesetround_riscv after libc_feholdexcept_riscv.
Index: glibc-2.28/sysdeps/riscv/rvf/math_private.h
===================================================================
--- glibc-2.28.orig/sysdeps/riscv/rvf/math_private.h
+++ glibc-2.28/sysdeps/riscv/rvf/math_private.h
@@ -72,8 +72,8 @@ libc_fesetround_riscv (int round)
static __always_inline void
libc_feholdexcept_setround_riscv (fenv_t *envp, int round)
{
- libc_fesetround_riscv (round);
libc_feholdexcept_riscv (envp);
+ libc_fesetround_riscv (round);
}
#define libc_feholdexcept_setround libc_feholdexcept_setround_riscv