[RISCV] Support fe_getround and fe_raise_inexact in builtins
authorluxufan <luxufan@iscas.ac.cn>
Mon, 8 Aug 2022 01:57:43 +0000 (09:57 +0800)
committerluxufan <luxufan@iscas.ac.cn>
Mon, 8 Aug 2022 01:58:27 +0000 (09:58 +0800)
commitace6e172bd2c86a3b035b90c7e4adedb6ab7a291
tree1b3f32f0015084b810963b2929ed7a53d0be3742
parent98339ac7af30b95f42f50e27bb6f6b7e2857ddc9
[RISCV] Support fe_getround and fe_raise_inexact in builtins

Reviewed By: luismarques

Differential Revision: https://reviews.llvm.org/D128240
compiler-rt/lib/builtins/CMakeLists.txt
compiler-rt/lib/builtins/riscv/fp_mode.c [new file with mode: 0644]