[libc] Add riscv64 fenv implementation and enable the fenv.h functions.
authorSiva Chandra <sivachandra@google.com>
Wed, 8 Mar 2023 13:47:14 +0000 (10:47 -0300)
committerMikhail R. Gadelha <mikhail@igalia.com>
Wed, 8 Mar 2023 13:49:24 +0000 (10:49 -0300)
commit6f8dfeee06cf97d253bd278357ef26c0a2c9c1e2
tree6979ce613df985a0cf2be60511b96f69c5b32ada
parent2e82eb1f74aa268473c9eca27c3b8ddc91917a13
[libc] Add riscv64 fenv implementation and enable the fenv.h functions.

Reviewed By: mikhail.ramalho

Differential Revision: https://reviews.llvm.org/D145560
libc/config/linux/riscv64/entrypoints.txt
libc/src/__support/FPUtil/FEnvImpl.h
libc/src/__support/FPUtil/riscv64/FEnvImpl.h [new file with mode: 0644]
libc/test/src/fenv/enabled_exceptions_test.cpp
libc/test/src/fenv/feenableexcept_test.cpp
libc/test/src/fenv/feholdexcept_test.cpp